Skip to content
Snippets Groups Projects
  • Max Gautier's avatar
    b3f6d051
    Move control plane certs renewal "spread out" into the systemd timer (#10596) · b3f6d051
    Max Gautier authored
    * 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.
    Move control plane certs renewal "spread out" into the systemd timer (#10596)
    Max Gautier authored
    * 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.