Update a cluster
All fields are optional. See the API description for merge rules.
Returns 400 for, among others: a Kubernetes downgrade, major-version
change, or a jump of more than one minor version; an upgrade that would
leave a worker pool more than 3 minor versions behind;
enableEtcdEncryption: false or enableOidc: false; combining OIDC or
etcd enablement with a version upgrade; etcd or OIDC enablement on a
cluster that is not provisioned or is deleting; any network value;
a control-plane maxSurge greater than 1.
Returns 409 when another mutually exclusive cluster operation is in
progress (etcd_encryption, etcd_key_rotation, k8s_upgrade,
cp_nodes_recycling, oidc_enable, certificate_renewal), or the
control plane is upgrading or recycling nodes. A failed certificate
renewal can retain the lock until an operator clears it; see the
retained-lock recovery procedure in
controller/docs/certificate-renewal.md. A rotation that fails after
prepare keeps the etcd_key_rotation lock until its workflow is
reset and completes; see
controller/docs/etcd-encryption-key-rotation.md#phase-aware-recovery.
Authentication
A JWT from an issuer the Operator has configured, carried as Authorization: Bearer <token>.
Path parameters
Request
Turn automatic control-plane node replacement on or off.
Target control-plane version, as X.Y.Z with no leading “v”. Must be newer than the current version by at most one minor version and keep every worker pool within 3 minor versions. The cluster must have controlPlaneVIP configured unless the development-only allowControlPlaneWithoutVIP setting is enabled.
true starts one-way etcd encryption on a provisioned cluster. false is
rejected. true on an already-encrypted cluster does nothing. Other updates
return 409 while it runs.
true starts one-way OIDC authentication enablement. false is rejected.
Cannot be combined with a control-plane upgrade or etcd enablement. Other
updates return 409 while it runs.
Changes to release or the Kubernetes version start a control-plane
rollout. All fields are optional. A provider payload that does not match the
cluster’s provider is rejected with 400.
Rollout-triggering changes require controlPlaneVIP unless the development-only
allowControlPlaneWithoutVIP setting is enabled. maxSurge alone does not
trigger a rollout and remains mutable without a VIP.
The cluster network cannot be changed after creation; any network value in an update is rejected.
Response
Desired control-plane Kubernetes version. The running version is in ControlPlaneStatus.
When true, control-plane upgrades and configuration changes replace nodes automatically. When false, nodes needing replacement are reported as pending and wait for an operator.
Current control-plane configuration.
The next scheduled certificate-renewal time. A value in the past is overdue unless a certificate-renewal operation is currently accepted. Unset until the controller first sees the cluster, which schedules the first check one renewal interval later.