get_cluster_kubeconfig
Generate a short-lived cluster-admin kubeconfig for a managed Kubernetes cluster. Use for one-time interactive access without leaving standing credentials.
Instructions
Fetch a SHORT-LIVED admin kubeconfig for a managed Kubernetes cluster — a freshly-minted cluster-admin credential that expires within hours and leaves NO standing credential behind. Prefer this for one-off, interactive kubectl access. For standing automation that must keep working, use a long-lived credential instead (list_cluster_kubeconfigs + download_cluster_kubeconfig). SECURITY: the result is a LIVE CREDENTIAL — a kubeconfig YAML embedding a bearer token that grants cluster-admin. Treat it as a secret: do NOT echo it back to the user or repeat its contents unless the user explicitly asks to see it; pass it straight to the tool that consumes it. Returns the raw kubeconfig YAML as a text block. The service_id comes from list_services (a cloud-k8s service).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| service_id | Yes | Managed-Kubernetes service ID from list_services (a cloud-k8s service). |