创建部署问题时,请参考下面模板,你提供的信息越多,越容易及时获得解答。
你只花一分钟创建的问题,不能指望别人花上半个小时给你解答。
发帖前请点击 发表主题 右边的 预览(👀) 按钮,确保帖子格式正确。
操作系统信息
虚拟机,Ubuntu20.04,8C/16G
Kubernetes版本信息
v1.22.11,多节点。
容器运行时
使用 containerd,版本v1.6.2
KubeSphere版本信息
v3.3.1,已有K8s安装。
问题:
集群-》系统组件-》监控-》prometheus-k8s/prometheus-operated 状态异常
分析过程:
第一步:点击进入 prometheus-k8s/prometheus-operated,发现状态为**Warning,pod的状态提示有**SchedulerError。
第二步:点击进入其中一个pod,查看事件,一直报 running PreBind plugin "VolumeBinding": binding volumes: timed out waiting for the condition
第三步:上一步的报错感觉和卷有关系,进一步去pvc查看 集群-》存储-》pvc -》kubesphere-monitoring-system-》,发现pvc 状态处于等待,且挂载状态为已挂载
第四步:点击进入其中一个pvc,查看事件,一直报 failed to provision volume with StorageClass "local-hostpath": pods "init-pvc-f7721ac6-109e-4f06-8568-e4a89c62f47c" already exists