Python
from gcore import Gcore client = Gcore( api_key="My API Key", ) k8s_cluster_kubeconfig = client.cloud.k8s.clusters.get_kubeconfig( cluster_name="cluster_name", project_id=0, region_id=0, ) print(k8s_cluster_kubeconfig.client_certificate)
{ "client_certificate": "<string>", "client_key": "<string>", "cluster_ca_certificate": "<string>", "config": "<string>", "created_at": "2024-02-15T11:53:03Z", "expires_at": "2026-02-15T11:53:03Z", "host": "<string>" }
Was this page helpful?