Work around unattended-upgrades quirk
https://github.com/kubernetes/kubernetes/issues/107043#issuecomment-997769940
This commit is contained in:
parent
f9393fd0da
commit
3dce3d07fd
@ -12,6 +12,11 @@
|
|||||||
path: /var/lib/kubelet/config.yaml
|
path: /var/lib/kubelet/config.yaml
|
||||||
regexp: '^shutdownGracePeriodCriticalPods:'
|
regexp: '^shutdownGracePeriodCriticalPods:'
|
||||||
line: 'shutdownGracePeriodCriticalPods: 5m'
|
line: 'shutdownGracePeriodCriticalPods: 5m'
|
||||||
|
- name: Work around unattended-upgrades
|
||||||
|
ansible.builtin.lineinfile:
|
||||||
|
path: /lib/systemd/logind.conf.d/unattended-upgrades-logind-maxdelay.conf
|
||||||
|
regexp: '^InhibitDelayMaxSec='
|
||||||
|
line: 'InhibitDelayMaxSec=5m0s'
|
||||||
|
|
||||||
- name: Pin kube components
|
- name: Pin kube components
|
||||||
hosts: kubernetes
|
hosts: kubernetes
|
||||||
|
Loading…
Reference in New Issue
Block a user