Kops 工具箱注册
kops 工具箱注册 ¶
将机器添加到集群
概要 ¶
将单个机器添加到集群。
kops toolbox enroll [CLUSTER] [flags]
示例 ¶
kops toolbox enroll --name k8s-cluster.example.com
选项 ¶
--cluster string Name of cluster to join
-h, --help help for enroll
--host string IP/hostname for machine to add
--instance-group string Name of instance-group to join
--ssh-port int port for ssh (default 22)
--ssh-user string user for ssh (default "root")
从父命令继承的选项 ¶
--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 工具箱 - 杂项、实验性或不常使用的命令。