merge kube:CLUSTER.md
This commit is contained in:
@@ -135,6 +135,7 @@
|
|||||||
EnvironmentFile=-/etc/default/kubelet
|
EnvironmentFile=-/etc/default/kubelet
|
||||||
ExecStart=
|
ExecStart=
|
||||||
ExecStart=/usr/bin/kubelet $KUBELET_KUBECONFIG_ARGS $KUBELET_CONFIG_ARGS $KUBELET_KUBEADM_ARGS $KUBELET_EXTRA_ARGS
|
ExecStart=/usr/bin/kubelet $KUBELET_KUBECONFIG_ARGS $KUBELET_CONFIG_ARGS $KUBELET_KUBEADM_ARGS $KUBELET_EXTRA_ARGS
|
||||||
|
StandardOutput=null # reduce wear on storage
|
||||||
dest: /etc/systemd/system/kubelet.service.d/10-kubeadm.conf
|
dest: /etc/systemd/system/kubelet.service.d/10-kubeadm.conf
|
||||||
notify: restart kubelet
|
notify: restart kubelet
|
||||||
|
|
||||||
@@ -152,6 +153,11 @@
|
|||||||
line: 'shutdownGracePeriodCriticalPods: 5m'
|
line: 'shutdownGracePeriodCriticalPods: 5m'
|
||||||
ignore_errors: true
|
ignore_errors: true
|
||||||
|
|
||||||
|
- name: ensure /etc/systemd/logind.conf.d/ directory
|
||||||
|
file:
|
||||||
|
path: "/etc/systemd/logind.conf.d/"
|
||||||
|
state: directory
|
||||||
|
|
||||||
# https://github.com/kubernetes/kubernetes/issues/102818#issuecomment-2974774103
|
# https://github.com/kubernetes/kubernetes/issues/102818#issuecomment-2974774103
|
||||||
- name: Work around unattended-upgrades
|
- name: Work around unattended-upgrades
|
||||||
file:
|
file:
|
||||||
@@ -162,7 +168,6 @@
|
|||||||
- name: Disable unneccesary services
|
- name: Disable unneccesary services
|
||||||
ignore_errors: true
|
ignore_errors: true
|
||||||
loop:
|
loop:
|
||||||
- snapd
|
|
||||||
- multipathd
|
- multipathd
|
||||||
service:
|
service:
|
||||||
name: "{{item}}"
|
name: "{{item}}"
|
||||||
|
Reference in New Issue
Block a user