Kops 编辑实例组
kops 编辑实例组 ¶
编辑实例组。
概要 ¶
编辑集群配置。
此命令更改注册表中实例组的所需配置。
要设置你喜欢的编辑器,可以定义 EDITOR 环境变量。完成此操作后,kOps 将使用你设置的编辑器。
kops edit 不会更新云资源;要应用更改,请使用 kops update cluster
。
kops edit instancegroup INSTANCE_GROUP [flags]
示例 ¶
# Edit an instancegroup desired configuration.
kops edit instancegroup --name k8s-cluster.example.com nodes --state=s3://my-state-store
选项 ¶
-h, --help help for instancegroup
--set strings Directly set values in the spec (default [])
--unset strings Directly unset values in the spec
从父命令继承的选项 ¶
--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
另请参阅 ¶
- kops edit - 编辑集群和其他资源。