Kops 删除实例组
kops 删除实例组 ¶
删除实例组。
概要 ¶
删除实例组配置。kOps 具有“实例组”的概念,它是相似虚拟机的集合。在 AWS 上,它们映射到 AutoScalingGroup。
kops delete instancegroup INSTANCE_GROUP [flags]
示例 ¶
# Delete an instancegroup for the k8s-cluster.example.com cluster.
# The --yes option runs the command immediately.
# Note that the cloud resources will be deleted immediately, without running "kops update cluster"
kops delete ig --name=k8s-cluster.example.com node-example --yes
选项 ¶
-h, --help help for instancegroup
-y, --yes Specify --yes to immediately delete the instance group
从父命令继承的选项 ¶
--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 删除 - 删除集群、实例组、实例和密钥。