Skip to main content

astroctl_infra_kubernetes_set-context

astroctl infra kubernetes set-context

Set the context for Kubernetes clusters

Synopsis

Set the context for Kubernetes clusters managed by Astro Platform

astroctl infra kubernetes set-context [flags]

Examples


# Set the context for the cluster
astroctl infra k8s set-context --cluster-name <cluster-name>

Options

-c, --cluster-name string cluster name
-h, --help help for set-context
--stdout write the kubeconfig to the stdout

Options inherited from parent commands

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

SEE ALSO