kops/docs/cli/kops_toolbox_enroll.md

46 lines
1.2 KiB
Markdown

<!--- This file is automatically generated by make gen-cli-docs; changes should be made in the go CLI command code (under cmd/kops) -->
## kops toolbox enroll
Add machine to cluster
### Synopsis
Adds an individual machine to the cluster.
```
kops toolbox enroll [CLUSTER] [flags]
```
### Examples
```
kops toolbox enroll --name k8s-cluster.example.com
```
### Options
```
--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")
```
### 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 toolbox](kops_toolbox.md) - Miscellaneous, experimental, or infrequently used commands.