mkectl node
mkectl node#
Manage cluster nodes
Options#
--bastion-ssh-key string Specify the ssh key file for bastion host to be used to connect to existing cluster's controller host
(when MKEConfig specifies one for that controller). Controller is picked from MKEConfig as first entry
with configured SSH. Same precedence and scope as --ssh-key. Has no effect when the chosen controller
has no bastion configured in MKEConfig.
Does NOT override the per-worker bastion key in hosts.yaml.
--collect-facts-timeout duration Timeout for the collect-facts phase (gathering per-host facts such as cgroup version over SSH) (default 5m0s)
--concurrency int Maximum number of nodes to configure in parallel, set to 0 for unlimited (default 30)
--dry-run Simulate the node operations without making any changes
--force Bypass user confirmations. This will apply changes without any confirmations
-h, --help help for node
--hosts-path string path to the hosts config file (default "hosts.yaml")
--lease-adopt-stale if true, matching stale lease would be adopted instead of failing with error
--lease-renew-interval duration lease renew interval for cluster-wide/node operations, should be < leaseTTL (default 20s)
--lease-ttl duration lease TTL for cluster-wide/node operations (default 1m0s)
--ssh-key string Specify the ssh key file to be used to connect to existing cluster's controller host. Controller is picked from
MKEConfig as first entry with configured SSH. If specified, overrides the keyPath stored in MKEConfig
for that controller; the file must exist locally. Required when MKEConfig's controller keyPath is empty
or not present on this machine.
Does NOT affect SSH keys for the new workers being added — those come from hosts.yaml only.
--timeout-minutes int Use specified timeout (in minutes) for node operations. If 0, then wait indefinitely. (default 60)
Options inherited from parent commands#
-f, --file string path to the config file. Not needed for restore where config is loaded from the backup (default "mke4.yaml")
--kubeconfig string path to the kubeconfig file of the existing or restored cluster. DO NOT USE when creating a new cluster (default "/home/runner/.mke/mke.kubeconf")
-l, --logLevel string specify a log level (info, warn, debug, trace, error) (default "info")
--no-color when provided, disables colored output
--no-pretty-print when provided, disables pretty print output formatting
--version version[=true] --version, --version=raw prints version information and quits; --version=vX.Y.Z... sets the reported version