kubespray/roles/kubernetes/control-plane
Max Gautier b3f6d05131
Move control plane certs renewal "spread out" into the systemd timer (#10596)
* Use RandomizedDelaySec to spread out control certificates renewal plane

If the number of control plane node is superior to 6, using (index * 10
minutes) will fail (03:60:00 is not a valid timestamp).

Compared to just fixing the jinja expression (to use a modulo for
example), this should avoid having two control planes certificates
update node being triggered at the same time.

* Make k8s-certs-renew.timer Persistent

If the control plane happens to be offline during the scheduled
certificates renewal (node failure or anything like that), we still want
the renewal to happen.
2023-11-08 12:35:20 +01:00
..
defaults/main Move control plane certs renewal "spread out" into the systemd timer (#10596) 2023-11-08 12:35:20 +01:00
handlers Refactor "multi" handlers to use listen (#10542) 2023-11-08 12:28:30 +01:00
meta fix-the-issue-of-miss-the-etcd-user (#9016) 2022-06-28 09:13:58 -07:00
tasks Add kubectl alias support (#10552) 2023-10-30 17:23:19 +01:00
templates Move control plane certs renewal "spread out" into the systemd timer (#10596) 2023-11-08 12:35:20 +01:00
vars Add the option to enable default Pod Security Configuration (#9017) 2022-08-18 01:16:36 -07:00