Skip to content

Kops get clusters

kops get clusters

Get one or many clusters.


Display one or many cluster resources.

kops get clusters [CLUSTER]... [flags]


  # Get all clusters in a state store
  kops get clusters

  # Get a cluster
  kops get cluster

  # Get a cluster YAML desired configuration
  kops get cluster -o yaml

  # Save a cluster desired configuration to YAML file
  kops get cluster -o yaml > cluster-desired-config.yaml


      --full   Show fully populated configuration
  -h, --help   help for clusters

Options inherited from parent commands

      --config string   yaml config file (default is $HOME/.kops.yaml)
      --name string     Name of cluster. Overrides KOPS_CLUSTER_NAME environment variable
  -o, --output string   output format. One of: table, yaml, json (default "table")
      --state string    Location of state storage (kops 'config' file). Overrides KOPS_STATE_STORE environment variable
  -v, --v Level         number for the log level verbosity