Skip to main content

astroctl_infra_kubernetes_spec

astroctl infra kubernetes spec

Get the original specification of a cluster

Synopsis

Retrieves the original request specification used to create the cluster

astroctl infra kubernetes spec [flags]

Examples


# Get the specification of a cluster using positional argument
astroctl infra k8s spec my-cluster

# Get the specification of a cluster using flag
astroctl infra k8s spec -c my-cluster

# Get the specification in JSON format
astroctl infra k8s spec my-cluster -o json

# Get the specification in YAML format
astroctl infra k8s spec my-cluster -o yaml

Options

-c, --cluster-name string The cluster name for which you want to get the specification
-h, --help help for spec
-o, --output string Output format (json|yaml) (default "yaml")

SEE ALSO