解决kubesphere node-exporter守护进程pod安装失败的问题
生活随笔
收集整理的這篇文章主要介紹了
解决kubesphere node-exporter守护进程pod安装失败的问题
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
?報錯:CrashLoopBackOff
[root@k8s-n0 kubesphere-install]# sudo kubectl get po -A |grep kubesphere-monitoring-system kubesphere-monitoring-system alertmanager-main-0 2/2 Running 0 50m kubesphere-monitoring-system alertmanager-main-1 2/2 Running 0 50m kubesphere-monitoring-system alertmanager-main-2 2/2 Running 0 50m kubesphere-monitoring-system kube-state-metrics-5c466fc7b6-ghggf 3/3 Running 0 50m kubesphere-monitoring-system node-exporter-d6rcp 0/2 CrashLoopBackOff 4 28s kubesphere-monitoring-system node-exporter-pplsw 0/2 CrashLoopBackOff 4 29s kubesphere-monitoring-system node-exporter-wxp4t 0/2 CrashLoopBackOff 4 29s kubesphere-monitoring-system notification-manager-deployment-7ff95b7544-9gdl7 1/1 Running 0 48m kubesphere-monitoring-system notification-manager-deployment-7ff95b7544-pkbrd 1/1 Running 0 48m kubesphere-monitoring-system notification-manager-operator-5cbb58b756-jgdjb 2/2 Running 0 49m kubesphere-monitoring-system prometheus-k8s-0 3/3 Running 1 49m kubesphere-monitoring-system prometheus-k8s-1 3/3 Running 1 2m19s kubesphere-monitoring-system prometheus-operator-78c5cdbc8f-49fdz 2/2 Running 0 50m [root@k8s-n0 kubesphere-install]# sudo kubectl get po -A |grep kubesphere-monitoring-system kubesphere-monitoring-system alertmanager-main-0 2/2 Running 0 55m kubesphere-monitoring-system alertmanager-main-1 2/2 Running 0 55m kubesphere-monitoring-system alertmanager-main-2 2/2 Running 0 55m kubesphere-monitoring-system kube-state-metrics-5c466fc7b6-ghggf 3/3 Running 0 55m kubesphere-monitoring-system node-exporter-d6rcp 2/2 Running 10 5m25s kubesphere-monitoring-system node-exporter-pplsw 2/2 Running 10 5m26s kubesphere-monitoring-system node-exporter-wxp4t 2/2 Running 10 5m26s kubesphere-monitoring-system notification-manager-deployment-7ff95b7544-9gdl7 1/1 Running 0 53m kubesphere-monitoring-system notification-manager-deployment-7ff95b7544-pkbrd 1/1 Running 0 53m kubesphere-monitoring-system notification-manager-operator-5cbb58b756-jgdjb 2/2 Running 0 54m kubesphere-monitoring-system prometheus-k8s-0 3/3 Running 1 54m kubesphere-monitoring-system prometheus-k8s-1 3/3 Running 1 7m16s kubesphere-monitoring-system prometheus-operator-78c5cdbc8f-49fdz 2/2 Running 0 55m [root@k8s-n0 kubesphere-install]#查看日志發現是端口占用問題:?
改變es-head的端口為隨機分配即可。
總結
以上是生活随笔為你收集整理的解决kubesphere node-exporter守护进程pod安装失败的问题的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 使用KubeKey 离线环境部署 Kub
- 下一篇: 关于kubesphere metrics