Reference For: developers, administrators

kyvernon cluster

The cluster command of the kyvernon CLI with its subcommands and arguments.

kyvernon cluster

Cluster operations

Usage
kyvernon cluster <COMMAND>

Subcommands: move-hosts, add-host, reconfigure

kyvernon cluster move-hosts

Move hosts (in maintenance mode, without VMs) into a cluster

Usage
kyvernon cluster move-hosts [OPTIONS] <ID> <HOSTS>
ArgumentDescriptionRequired
<ID>Cluster idyes
<HOSTS>Host idsyes
--waitWait for the task

API operation: POST /v1/clusters/{id}/move-hosts

kyvernon cluster add-host

Add a pending host to a cluster (the agent joins with the same name)

Usage
kyvernon cluster add-host [OPTIONS] <ID>
ArgumentDescriptionRequired
<ID>Cluster idyes
--nameHost name / FQDNyes
--management-addressManagement address (default: the name)
--forceReturn an existing same-name host instead of failing
--waitWait for the task

API operation: POST /v1/clusters/{id}/hosts

kyvernon cluster reconfigure

Flip HA / scheduler / migration-policy flags (ReconfigureComputeResource_Task)

Usage
kyvernon cluster reconfigure [OPTIONS] <ID>
ArgumentDescriptionRequired
<ID>Cluster idyes
--ha-enabledEnable or disable HA
values true, false
--scheduler-enabledEnable or disable the scheduler
values true, false
--scheduler-automaticAutomatic vs recommend-only migrations when the scheduler is on
values true, false
--max-bandwidth-mib-sLive-migration bandwidth cap in MiB/s (cluster policy)
--downtime-limit-msLive-migration downtime limit in ms (cluster policy)
--allow-postcopyAllow postcopy when a migrate request asks for it (cluster policy, L-91)
values true, false
--replaceReplace unset fields with false/cleared (default merges only provided flags)
--waitWait for the task

API operation: POST /v1/clusters/{id}/reconfigure

Version 0.1.