随笔 - 121
文章 - 0
评论 - 2
阅读 -
68745
08 2021 档案
prometheus 使用pvc 持久卷 报没有权限,解决方案
摘要:看pod事件信息提示:msg="Error opening query log file" file=/prometheus/queries.active err="open /prometheus/queries.active: permission denied" 原因是权限问题,prometh
阅读全文
k8s,pod不在同一个命名空间或者没鉴权,导致pending状态
摘要:背景:让容器实现持久化,使用pvc,或者glusterfs volume的卷 1.kubectl get pods -A kube-system grafana-core-55c444657c-h9hqb 0/1 pending 看pod事件信息报错: MountVolume.NewMounter
阅读全文
controller-manager ,scheduler 组件报Unhealthy Get "http://127.0.0.1:10252/healthz": dial tcp 127.0.0.1:10252: connect: connection refuse 处理方案
摘要:1.查看组件状态 [root@k8s-master-01 ~]# kubectl get csWarning: v1 ComponentStatus is deprecated in v1.19+NAME STATUS MESSAGE ERRORcontroller-manager Unhealth
阅读全文