Skip to main content

astroctl infra kubernetes get-context

Get the context for the cluster

Synopsis​

Get the context for the Kubernetes cluster managed by AstroPulse

Terminal
astroctl infra kubernetes get-context [cluster-name] [flags]

Examples​

Terminal

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

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

Options​

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

Options inherited from parent commands​

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

SEE ALSO​