Files
Carl Danley 3256d9cae4 docs: propose operator-set Kubernetes feature gates (#2095)
* docs: propose operator-set Kubernetes feature gates for workload clusters

Add a design and a proposed ADR for letting operators set beta and GA
Kubernetes feature gates on a workload cluster's control plane and
kubelets, validated in the API request against a catalog generated from
Kubernetes' own gate registry, and rechecked on upgrade.

Signed-off-by: Carl Danley <cdanley@nvidia.com>

* docs: scope the feature gate upgrade guarantee to gates the operator set

Signed-off-by: Carl Danley <cdanley@nvidia.com>

* docs: replace feature-gates on control-plane upgrade instead of keeping old values

Signed-off-by: Carl Danley <cdanley@nvidia.com>

* docs: merge NVKE's kubelet gates with the operator's map

Signed-off-by: Carl Danley <cdanley@nvidia.com>

* docs: update stored control-plane gate maps in the upgrade transaction

Signed-off-by: Carl Danley <cdanley@nvidia.com>

* docs: align feature gates design with control-plane isolation and review feedback

Store the control-plane map in the control-plane configuration snapshot
and each pool's map in its node sets, and render every host from its own
snapshot or node set, so the design works with today's kubeadm bootstrap
and with control-plane isolation.

Drop the control-plane kubelet map, add the required-gates list, name
every stored gate in a dependency failure, and keep the replaced map for
rollback. Put kubelet gates in a JSON patch that replaces what the
kubelet-config ConfigMap holds, and reject upgrades of clusters with
stored gates until the upgrade recheck lands.

Signed-off-by: Carl Danley <cdanley@nvidia.com>

* docs: move feature gates to ControlPlaneClass and pass them through unchecked

Gates are set per control-plane component on ControlPlaneClass, and the management engine passes them to the NVKE controller as given. The controller no longer validates gates against a per-version catalog or restricts stages; it rejects only values that contradict gates NVKE sets. Gate changes roll the control plane, upgrades carry gates unchanged, and a version check moves to later work.

Signed-off-by: Carl Danley <cdanley@nvidia.com>

* docs: take control-plane extraArgs per component in the NVKE controller

The NVKE controller's API takes extraArgs for kube-apiserver, kube-controller-manager and kube-scheduler instead of feature gate maps, so it carries any flag without a field per feature. ControlPlaneClass keeps a featureGates map per component, and the management engine renders it into a feature-gates flag. Operator arguments can't override flags NVKE sets; feature-gates is merged with NVKE's gates instead.

Signed-off-by: Carl Danley <cdanley@nvidia.com>

---------

Signed-off-by: Carl Danley <cdanley@nvidia.com>
2026-11-17 21:00:09 +00:00
..