• 已编辑

prometheus-k8s-0 、prometheus-k8s-1启动失败,一直 pending、Terminating状态。

在 event 中MountVolume.SetUp failed for volume “prometheus-k8s-rulefiles-0” : configmap “prometheus-k8s-rulefiles-0” not found,对于peometheus的存储相关没有动过

操作系统信息
k8s1.25

Kubernetes版本信息
kubectl version 命令执行结果贴在下方

KubeSphere版本信息
WARNING: This version information is deprecated and will be replaced with the output from kubectl version –short. Use –output=yaml|json to get the full version.

Client Version: version.Info{Major:“1”, Minor:“25”, GitVersion:“v1.25.3”, GitCommit:“434bfd82814af038ad94d62ebe59b133fcb50506”, GitTreeState:“clean”, BuildDate:“2022-10-12T10:57:26Z”, GoVersion:“go1.19.2”, Compiler:“gc”, Platform:“linux/amd64”}

Kustomize Version: v4.5.7

问题是什么

kubelet日志,之前通过helm安装过prometheus