kops get
kops get
Get one or many resources.
Synopsis
Display one or many resources.
- cluster
- instancegroup
- secret
kops get [flags]
Examples
# Get a cluster and its instance groups
kops get k8s-cluster.example.com
# Get a cluster and its instancegroups' YAML desired configuration
kops get k8s-cluster.example.com -o yaml
# Save a cluster and its instancegroups' desired configuration to YAML file
kops get k8s-cluster.example.com -o yaml > cluster-desired-config.yaml
Options
-h, --help help for get
-o, --output string output format. One of: table, yaml, json (default "table")
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
--state string Location of state storage (kops 'config' file). Overrides KOPS_STATE_STORE environment variable
-v, --v Level number for the log level verbosity
SEE ALSO
- kops - kOps is Kubernetes Operations.
- kops get assets - Display assets for cluster.
- kops get clusters - Get one or many clusters.
- kops get instancegroups - Get one or many instance groups.
- kops get instances - Display cluster instances.
- kops get keypairs - Get one or many keypairs.
- kops get secrets - Get one or many secrets.
- kops get sshpublickeys - Get one or many secrets.