--https://share.google/aimode/WsKMDrUDIEfrwNVa5
For this error I am trying ->
~$ sudo ss -lntp | grep -E '6443|10250|10257|10259'
LISTEN 0 4096 127.0.0.1:10257 0.0.0.0:* users:(("kube-controller",pid=3421,fd=4))
LISTEN 0 4096 127.0.0.1:10259 0.0.0.0:* users:(("kube-scheduler",pid=3396,fd=4))
LISTEN 0 4096 *:6443 *:* users:(("kube-apiserver",pid=3378,fd=4))
LISTEN 0 4096 *:10250 *:* users:(("kubelet",pid=3026,fd=17))
Article Starts Here,-
kube-controller-manager, you must use the method that matches how your Kubernetes cluster was originally deployed. Because the controller manager usually runs as a self-healing component, simply killing its process or deleting its pod will cause Kubernetes to automatically restart it. [1, 2, 3]- Log in to your Kubernetes master/control-plane node via SSH.
- Move the manifest file out of the default directory to a backup location:bash
sudo mv /etc/kubernetes/manifests/kube-controller-manager.yaml /tmp/குறியீட்டைக் கவனமாகப் பயன்படுத்துங்கள்.
- Log in to your control-plane node.
- Stop the systemd service:bash
sudo systemctl stop kube-controller-managerகுறியீட்டைக் கவனமாகப் பயன்படுத்துங்கள்.
- Log in to the control-plane host machine.
- Find the container ID:bash
sudo docker ps | grep controller-managerகுறியீட்டைக் கவனமாகப் பயன்படுத்துங்கள். - Stop the container:[1]bash
sudo docker stop kube-controller-managerகுறியீட்டைக் கவனமாகப் பயன்படுத்துங்கள்.
- How your cluster was set up (e.g., Kubeadm, EKS/AKS, or custom binaries)
- Your ultimate goal (Are you troubleshooting an issue, upgrading, or shutting down the whole cluster?)
No comments:
Post a Comment