merge kube:CLUSTER.md
This commit is contained in:
		@@ -135,6 +135,7 @@
 | 
			
		||||
          EnvironmentFile=-/etc/default/kubelet
 | 
			
		||||
          ExecStart=
 | 
			
		||||
          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
 | 
			
		||||
      notify: restart kubelet
 | 
			
		||||
 | 
			
		||||
@@ -152,6 +153,11 @@
 | 
			
		||||
        line: 'shutdownGracePeriodCriticalPods: 5m'
 | 
			
		||||
      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
 | 
			
		||||
    - name: Work around unattended-upgrades
 | 
			
		||||
      file:
 | 
			
		||||
@@ -162,7 +168,6 @@
 | 
			
		||||
    - name: Disable unneccesary services
 | 
			
		||||
      ignore_errors: true
 | 
			
		||||
      loop:
 | 
			
		||||
        - snapd
 | 
			
		||||
        - multipathd
 | 
			
		||||
      service:
 | 
			
		||||
        name: "{{item}}"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user