kyvernon cluster
Cluster operations
kyvernon cluster <COMMAND>Subcommands: move-hosts, add-host, reconfigure
The cluster command of the kyvernon CLI with its subcommands and arguments.
kyvernon clusterCluster operations
kyvernon cluster <COMMAND>Subcommands: move-hosts, add-host, reconfigure
kyvernon cluster move-hostsMove hosts (in maintenance mode, without VMs) into a cluster
kyvernon cluster move-hosts [OPTIONS] <ID> <HOSTS>| Argument | Description | Required |
|---|---|---|
<ID> | Cluster id | yes |
<HOSTS> | Host ids | yes |
--wait | Wait for the task |
API operation: POST /v1/clusters/{id}/move-hosts
kyvernon cluster add-hostAdd a pending host to a cluster (the agent joins with the same name)
kyvernon cluster add-host [OPTIONS] <ID>| Argument | Description | Required |
|---|---|---|
<ID> | Cluster id | yes |
--name | Host name / FQDN | yes |
--management-address | Management address (default: the name) | |
--force | Return an existing same-name host instead of failing | |
--wait | Wait for the task |
API operation: POST /v1/clusters/{id}/hosts
kyvernon cluster reconfigureFlip HA / scheduler / migration-policy flags (ReconfigureComputeResource_Task)
kyvernon cluster reconfigure [OPTIONS] <ID>| Argument | Description | Required |
|---|---|---|
<ID> | Cluster id | yes |
--ha-enabled | Enable or disable HA values true, false | |
--scheduler-enabled | Enable or disable the scheduler values true, false | |
--scheduler-automatic | Automatic vs recommend-only migrations when the scheduler is on values true, false | |
--max-bandwidth-mib-s | Live-migration bandwidth cap in MiB/s (cluster policy) | |
--downtime-limit-ms | Live-migration downtime limit in ms (cluster policy) | |
--allow-postcopy | Allow postcopy when a migrate request asks for it (cluster policy, L-91) values true, false | |
--replace | Replace unset fields with false/cleared (default merges only provided flags) | |
--wait | Wait for the task |
API operation: POST /v1/clusters/{id}/reconfigure
Version 0.1.