跳至内容

Kops 获取所有

kops get all

显示集群的所有资源。

摘要

显示集群的所有资源。

kops get all [CLUSTER] [flags]

示例

  # Get a cluster, its instance groups, and its addons
  kops get all k8s-cluster.example.com

  # Get a cluster, its instance groups, and its addons in YAML format
  kops get all k8s-cluster.example.com -o yaml

选项

  -h, --help   help for all

从父命令继承的选项

      --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

另请参阅

  • kops get - 获取一个或多个资源。