Skip to main content
Skip table of contents

dkp get kubeconfig

Retrieve cluster kubeconfig and modify local kubeconfig file

CODE
dkp get kubeconfig [flags]

Options

CODE
  -A, --all-namespaces      If present, list the requested object(s) across all namespaces.
      --cluster string      Kommander Cluster to get kubeconfig for
  -c, --cluster-name name   Name used to prefix the cluster and all the created resources.
  -h, --help                help for kubeconfig
      --kubeconfig string   Path to the kubeconfig for the management cluster. If unspecified, default discovery rules apply.
  -n, --namespace string    If present, the namespace scope for this CLI request. (default "default")
  -o, --output string       Output format. One of: table|yaml
  -w, --workspace string    Name of the workspace to show clusters from

Options inherited from parent commands

CODE
  -v, --verbose int   Output verbosity

SEE ALSO

  • dkp get - Get one of [appdeployments, chart, clusters, dashboard, kubeconfig, nodepools, workspaces]
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.