Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How does Rancher manage the state of K8S components

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

This article introduces the knowledge of "how Rancher manages the state of K8S components". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!

Recently installed K8s, component controller-manager and scheduler status Unhealthy through kubeadm

The import to Rancher2.4.5 is shown as follows:

Check the cluster status by installing kubernetes v1.18.6 through kubeadm, and find the component controller-manager and scheduler status Unhealthy

Check that the port is not listening

The pod component is running normally

Check that non-secure ports are disabled in the kube-scheduler and kube-controller-manager component configuration

Vim / etc/kubernetes/manifests/kube-scheduler.yaml

Vim / etc/kubernetes/manifests/kube-controller-manager.yaml

Kube-scheduler.yaml

Kube-controller-manager.yaml

Remove the port=0 (comments are added to the screenshot)

And then systemctl restart kubelet

Check again that the status of the cluster components is normal.

This is the end of the content of "how Rancher manages the state of K8S components". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report