Skip to content
tcloud kubernetes kubeconfig

kubernetes kubeconfig

tcloud kubernetes kubeconfig

Print a kubeconfig for a Kubernetes cluster

Synopsis

Print a kubeconfig for a Kubernetes cluster. The cluster may be omitted when kubernetes.cluster is set in a directory .thalassa file.

tcloud kubernetes kubeconfig [cluster] [flags]

Options

  -h, --help                        help for kubeconfig
      --inline-token                embed the session token in the kubeconfig instead of using a kubectl exec credential plugin
      --session-lifetime duration   Lifetime of the kubeconfig session token. Defaults to 4 weeks. (default 672h0m0s)

Options inherited from parent commands

      --access-token string    Access Token authentication (overrides context)
      --api string             API endpoint (overrides context)
      --client-id string       OIDC client ID for OIDC authentication (overrides context)
      --client-secret string   OIDC client secret for OIDC authentication (overrides context)
  -c, --context string         Context name
      --debug                  Debug mode
      --ignore-dir-config      Ignore directory-local .thalassa defaults
  -O, --organisation string    Organisation slug or identity (overrides context)
  -P, --project string         Project identity (overrides context; slug is resolved to identity; use "root" for organisation scope)
      --token string           Personal access token (overrides context)

SEE ALSO

  • tcloud kubernetes - Manage Kubernetes clusters, node pools and more services related to Kubernetes