Skip to main content

astroctl_clusters_generate-kubeconfig

astroctl clusters generate-kubeconfig

Generate the kubeconfig for the cluster

Synopsis

Generate the kubeconfig for the cluster

astroctl clusters generate-kubeconfig [flags]

Examples


# Generate the kubeconfig for the cluster
astroctl clusters generate-kubeconfig <cluster-name>

Options

  -c, --cluster-id string   cluster id
--duration string duration for the kubeconfig. The default is 1h and the format is 1h, 1m, 1s (default "1h")
-h, --help help for generate-kubeconfig

Options inherited from parent commands

  -o, --output string   Output format (json|yaml) (default "yaml")

SEE ALSO