CloneOfAlex
CloneOfAlex
Thanks @francisguillier, here's the detail. ### The problem Both DaemonSet reconcile paths decide whether to update by comparing a hash of the **desired** object with the `nvidia.com/last-applied-hash` annotation on the...
@francisguillier here it is in that format. **Issue summary** If an operand DaemonSet is edited out-of-band (`kubectl set image`, `kubectl set env`, a leftover debug patch), the operator never restores...
Thanks @francisguillier. Working through the details showed that **the premise of this issue is wrong for current `main`**, and that the real question is the one raised in #2886. Corrected...
@francisguillier the short answer is that there isn't a deployment problem. As I wrote above, the premise was wrong: the manager cache is already namespace-scoped (`cmd/gpu-operator/main.go:131`), so the operator doesn't...
Thanks @francisguillier. Digging into this for the details turned up two things: **the change I proposed would be unsafe**, and the code I cited as precedent looks like it has...
@francisguillier same here, there isn't a deployment problem. The change I proposed would actually be unsafe: the namespace-scoped cache can't read ResourceClaims in user namespaces, so user pods holding non-NVIDIA...
Thanks @francisguillier, here's the detail, including one correction to my own proposal. ### The problem `cmd/gpu-operator/main.go:255` registers `mgr.AddReadyzCheck("check", healthz.Ping)`. `/readyz` (the chart's `readinessProbe`, `operator.yaml:92`) returns 200 as soon as the...
@francisguillier here it is in that format. **Issue summary** The operator's readiness probe (`/readyz`) is `healthz.Ping`, so a new operator pod reports Ready as soon as its HTTP server starts,...
Thanks @francisguillier, here's the detail, including a correction to my own proposal. ### The problem When a state isn't ready, both reconcilers return `RequeueAfter: 5s` with a **nil error**. That...
Thanks @rahulait, that's a fair trade-off. Without watches on every recovery input (Node for GPUCluster, RBAC, Secrets/ConfigMaps), a longer backoff cap could delay recovery after a user fixes something, and...