Mattia Eleuteri
f7c1850017
fix(linstor): roll affinity controller and scheduler on client cert rotation
...
linstor-affinity-controller and the linstor-scheduler extender read their
LINSTOR API client certificate from secretKeyRef env vars, which kubelet
resolves only when the container starts. cert-manager renews these 90-day
certificates every 60 days, but neither workload is restarted on rotation,
so a pod that lives longer than the certificate keeps presenting the expired
one. The controller then refuses every new TLS handshake and the Go client
reports a bare EOF.
For the affinity controller this means PV node affinities stop following
replica moves; for the scheduler, once a pod with an expired certificate
holds the leader lease, pods with LINSTOR volumes are no longer placed next
to their replicas.
Add the Reloader auto annotation to linstor-affinity-controller through the
LinstorCluster patches, as already done for the controller and the CSI
workloads, and annotate the linstor-scheduler Deployment with the client
secret it consumes. The scheduler annotation goes on the Deployment rather
than podAnnotations, which the admission Deployment shares and would roll
for a secret it does not use.
Assisted-by: LLM
Signed-off-by: Mattia Eleuteri <mattia@hidora.io >
2026-11-23 08:01:29 +01:00
..
2026-11-16 06:49:47 +01:00
2026-09-28 19:03:51 +03:00
2026-11-16 01:07:37 +03:00
2026-11-20 20:18:32 +07:00
2026-11-16 01:07:37 +03:00
2026-11-13 13:02:02 +03:00
2026-10-16 09:37:14 +00:00
2026-06-23 14:45:53 +05:00
2026-09-25 16:26:13 +02:00
2026-11-16 01:07:37 +03:00
2026-11-16 01:07:37 +03:00
2026-09-25 16:23:45 +02:00
2026-09-25 16:23:45 +02:00
2026-10-07 14:14:35 +03:00
2026-08-07 14:36:06 +03:00
2026-10-31 23:07:29 +02:00
2026-11-16 01:07:39 +03:00
2026-09-30 04:23:38 +03:00
2026-08-24 23:41:27 +03:00
2026-11-08 19:39:07 +01:00
2026-06-22 21:46:49 +03:00
2026-09-28 21:41:31 +03:00
2026-11-18 14:42:34 +03:00
2026-11-19 12:41:02 +01:00
2026-11-16 01:07:37 +03:00
2026-09-28 21:41:32 +03:00
2026-11-20 17:05:43 +07:00
2026-10-07 16:54:10 +04:00
2026-09-23 21:22:43 +04:00
2026-10-24 15:52:37 +03:00
2026-07-03 19:14:15 +03:00
2026-07-20 04:49:57 +03:00
2026-11-16 01:07:37 +03:00
2026-11-16 01:07:37 +03:00
2026-09-07 17:03:44 +02:00
2026-09-07 17:03:44 +02:00
2026-09-26 20:30:50 +03:00
2026-10-23 19:14:16 +05:00
2026-09-03 22:17:04 +03:00
2026-11-12 17:46:59 +03:00
2026-09-29 17:09:13 +02:00
2026-09-24 16:55:04 +03:00
2026-06-22 19:09:10 +03:00
2026-11-16 01:07:39 +03:00
2026-09-24 15:53:00 +03:00
2026-09-29 10:50:55 +05:00
2026-11-20 21:09:57 +01:00
2026-06-09 12:50:35 +03:00
2026-11-20 20:18:32 +07:00
2026-11-17 12:22:54 +03:00
2026-11-18 14:42:34 +03:00
2026-10-07 04:38:06 +03:00
2026-11-20 16:23:21 +07:00
2026-11-20 16:23:21 +07:00
2026-11-16 01:07:39 +03:00
2026-11-16 01:07:37 +03:00
2026-11-16 01:07:37 +03:00
2026-11-16 01:07:37 +03:00
2026-11-16 01:07:38 +03:00
2026-11-17 11:20:20 +03:00
2026-11-12 17:21:15 +05:00
2026-11-17 11:20:20 +03:00
2026-09-27 07:57:31 +03:00
2026-10-07 11:19:32 +03:00
2026-09-23 20:07:06 +04:00
2026-10-10 21:16:11 +03:00
2026-08-21 15:51:53 +03:00
2026-07-06 09:49:50 +05:00
2026-09-07 01:23:29 +03:00
2026-11-16 01:07:37 +03:00
2026-11-23 08:01:29 +01:00
2026-11-16 01:07:39 +03:00
2026-11-23 08:01:29 +01:00
2026-10-07 11:30:45 +03:00
2026-10-27 09:12:25 +01:00
2026-09-24 18:10:57 +03:00
2026-11-16 01:07:39 +03:00
2026-11-16 06:49:47 +01:00
2026-07-20 05:24:04 +03:00
2026-11-16 01:07:37 +03:00
2026-06-22 18:55:38 +03:00
2026-10-21 17:50:46 +05:00
2026-11-18 14:42:34 +03:00
2026-11-16 13:28:42 +03:00
2026-10-26 17:06:42 +03:00
2026-11-23 04:14:37 +03:00
2026-06-22 20:05:54 +03:00
2026-08-12 18:42:13 +03:00
2026-06-22 18:51:06 +03:00
2026-11-16 01:07:39 +03:00
2026-11-16 01:07:37 +03:00
2026-06-23 03:25:16 +03:00
2026-10-08 22:39:10 +03:00
2026-06-23 14:39:14 +03:00
2026-11-16 01:07:37 +03:00
2026-10-23 19:14:14 +05:00
2026-08-12 15:28:37 +03:00
2026-11-13 18:18:47 +03:00
2026-11-13 11:05:36 +03:00
2026-09-30 11:11:03 +03:00
2026-11-13 13:39:51 +03:00
2026-08-07 14:37:46 +03:00
2026-10-28 18:38:35 +01:00
2026-08-09 21:06:46 +03:00
2026-09-29 17:08:17 +02:00
2026-11-16 13:14:09 +00:00
2026-11-16 01:07:37 +03:00
2026-11-16 13:16:29 +00:00
2026-07-28 12:16:57 +03:00
2026-11-17 22:07:25 +03:00
2026-11-11 10:30:11 +03:00
2026-11-17 22:07:25 +03:00
2026-11-16 01:07:37 +03:00
2026-11-16 01:07:39 +03:00
2026-09-23 11:18:19 +04:00
2026-10-06 09:39:04 +03:00
2026-09-01 11:43:10 +04:00
2026-11-16 01:07:37 +03:00
2026-11-14 00:42:05 +03:00
2026-08-07 14:37:46 +03:00
2026-09-29 18:47:18 +03:00
2026-11-17 11:20:20 +03:00
2026-10-02 14:01:13 +03:00
2026-11-10 10:28:28 +01:00
2026-08-07 14:37:46 +03:00
2026-08-03 14:08:36 +03:00