controller-manager ,scheduler 组件报Unhealthy Get "http://127.0.0.1:10252/healthz": dial t
2021/8/11 23:36:44
本文主要是介绍controller-manager ,scheduler 组件报Unhealthy Get "http://127.0.0.1:10252/healthz": dial t,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!
1.查看组件状态
[root@k8s-master-01 ~]# kubectl get cs
Warning: v1 ComponentStatus is deprecated in v1.19+
NAME STATUS MESSAGE ERROR
controller-manager Unhealthy Get "http://127.0.0.1:10252/healthz": dial tcp 127.0.0.1:10252: connect: connection refused
scheduler Unhealthy Get "http://127.0.0.1:10251/healthz": dial tcp 127.0.0.1:10251: connect: connection refused
2.注释掉 # --port=0
[root@k8s-master-01 ~]# vim /etc/kubernetes/manifests/kube-scheduler.yaml
[root@k8s-master-01 ~]# vim /etc/kubernetes/manifests/kube-controller-manager.yaml
# - --port=0
这篇关于controller-manager ,scheduler 组件报Unhealthy Get "http://127.0.0.1:10252/healthz": dial t的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!
- 2024-11-15Typescript 类型教程:轻松入门与实践指南
- 2024-11-15AntDesign-icons项目实战:新手入门教程
- 2024-11-14用Scratch编写语言模型:爪爪(Clawed)式简易教程
- 2024-11-14用大型语言模型在Amazon Bedrock上分类Jira工单
- 2024-11-14从数据到行动:亚马逊Bedrock代理如何自动化复杂工作流
- 2024-11-14Databricks与优化后的Snowflake性能大比拼
- 2024-11-14亚马逊 Inspector 解析:提升您的 AWS 负载安全的利器
- 2024-11-14揭秘VS Code for Web - Azure:轻松开发云端应用的新利器
- 2024-11-14揭秘指南:如何让Databricks中的数据为最终用户所用
- 2024-11-14OpenTelemetry扩展进入CI/CD可观测性领域