Skip to main content

astroctl_infra_kubernetes_get-context

astroctl infra kubernetes get-context

Get the context for the cluster

Synopsis

Get the context for the Kubernetes cluster managed by Astro Platform

astroctl infra kubernetes get-context [flags]

Examples


# Get the context for the cluster
astroctl infra k8s get-context --cluster-name <cluster-name>

# Get the context for the cluster by cluster name
astroctl infra k8s get-context --cluster-name <cluster-name>

Options

-c, --cluster-name string cluster name
-h, --help help for get-context

Options inherited from parent commands

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

SEE ALSO