Skip to content

Latest commit

 

History

History
50 lines (30 loc) · 977 Bytes

06-Solution-Control-Plane-Failure.md

File metadata and controls

50 lines (30 loc) · 977 Bytes

Solution Control Plane Failure

  • Lets have a look at the Practice Test of the Control Plane Failure

    Solution

    1. Check Solution

      kubectl get pods -n kube-system
      
      sed -i 's/kube-schedulerrrr/kube-scheduler/g' /etc/kubernetes/manifests/kube-scheduler.yaml
      
    2. Check Solution

      kubectl scale deploy app --replicas=2
      
    3. Check Solution

      sed -i 's/controller-manager-XXXX.conf/controller-manager.conf/' /etc/kubernetes/manifests/kube-controller-manager.yaml
      
    4. Check Solution

      sed -i 's/WRONG-PKI-DIRECTORY/pki/' /etc/kubernetes/manifests/kube-controller-manager.yaml