You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(validator): tolerate all taints on Trainer/JobSet controller Deployments
The Kubeflow Trainer/JobSet controller-manager Deployments ship with no
tolerations. On a cluster where every node pool carries a taint (e.g. an
arch-tainted GPU pool plus a system pool GKE reserves for its own managed
components once no untainted pool remains), the controllers have nowhere
to schedule and installTrainer times out waiting for a Deployment that can
never become Ready.
applyControllerTolerations stamps a blanket tolerate-all onto the Trainer
and JobSet controller-manager Deployments specifically (by name) when
either has no existing tolerations; a Deployment that already declares
tolerations, or any other Deployment in the manifest set, is left
untouched. Scoping by name rather than by Kind alone matters here: this
is called for every Deployment decoded from the installer's manifest set,
and a future addition to that set must not silently inherit a blanket
{operator: Exists} it never asked for.
Extract the repeated "operator" toleration-key literal into keyOperator to
satisfy golangci-lint's goconst threshold across the package.
Signed-off-by: Mike Cook <micook@nvidia.com>
0 commit comments