我试着安装prometheus-community/kube-prometheus-堆栈
使用以下命令
helm install stable prometheus-community/kube-prometheus-stack -n monitoring --debug
但是它失败了:helm.go:88: [debug] failed pre-install: timed out waiting for the condition
我试着通过googled找出答案,但找不到解决方案。
下面是完整的调试语句:
install.go:178: [debug] Original chart version: ""
install.go:199: [debug] CHART PATH: /Users/dmitryignatev/Library/Caches/helm/repository/kube-prometheus-stack-27.2.1.tgz
client.go:128: [debug] creating 1 resource(s)
install.go:151: [debug] CRD alertmanagerconfigs.monitoring.coreos.com is already present. Skipping.
client.go:128: [debug] creating 1 resource(s)
install.go:151: [debug] CRD alertmanagers.monitoring.coreos.com is already present. Skipping.
client.go:128: [debug] creating 1 resource(s)
install.go:151: [debug] CRD podmonitors.monitoring.coreos.com is already present. Skipping.
client.go:128: [debug] creating 1 resource(s)
install.go:151: [debug] CRD probes.monitoring.coreos.com is already present. Skipping.
client.go:128: [debug] creating 1 resource(s)
install.go:151: [debug] CRD prometheuses.monitoring.coreos.com is already present. Skipping.
client.go:128: [debug] creating 1 resource(s)
install.go:151: [debug] CRD prometheusrules.monitoring.coreos.com is already present. Skipping.
client.go:128: [debug] creating 1 resource(s)
install.go:151: [debug] CRD servicemonitors.monitoring.coreos.com is already present. Skipping.
client.go:128: [debug] creating 1 resource(s)
install.go:151: [debug] CRD thanosrulers.monitoring.coreos.com is already present. Skipping.
client.go:299: [debug] Starting delete for "stable-kube-prometheus-sta-admission" PodSecurityPolicy
client.go:128: [debug] creating 1 resource(s)
client.go:299: [debug] Starting delete for "stable-kube-prometheus-sta-admission" ServiceAccount
client.go:328: [debug] serviceaccounts "stable-kube-prometheus-sta-admission" not found
client.go:128: [debug] creating 1 resource(s)
client.go:299: [debug] Starting delete for "stable-kube-prometheus-sta-admission" ClusterRole
client.go:128: [debug] creating 1 resource(s)
client.go:299: [debug] Starting delete for "stable-kube-prometheus-sta-admission" ClusterRoleBinding
client.go:128: [debug] creating 1 resource(s)
client.go:299: [debug] Starting delete for "stable-kube-prometheus-sta-admission" Role
client.go:328: [debug] roles.rbac.authorization.k8s.io "stable-kube-prometheus-sta-admission" not found
client.go:128: [debug] creating 1 resource(s)
client.go:299: [debug] Starting delete for "stable-kube-prometheus-sta-admission" RoleBinding
client.go:328: [debug] rolebindings.rbac.authorization.k8s.io "stable-kube-prometheus-sta-admission" not found
client.go:128: [debug] creating 1 resource(s)
client.go:299: [debug] Starting delete for "stable-kube-prometheus-sta-admission-create" Job
client.go:328: [debug] jobs.batch "stable-kube-prometheus-sta-admission-create" not found
client.go:128: [debug] creating 1 resource(s)
client.go:528: [debug] Watching for changes to Job stable-kube-prometheus-sta-admission-create with timeout of 5m0s
client.go:556: [debug] Add/Modify event for stable-kube-prometheus-sta-admission-create: ADDED
client.go:595: [debug] stable-kube-prometheus-sta-admission-create: Jobs active: 1, jobs failed: 0, jobs succeeded: 0
Error: INSTALLATION FAILED: failed pre-install: timed out waiting for the condition
helm.go:88: [debug] failed pre-install: timed out waiting for the condition
发布于 2022-05-19 12:30:15
删除kube-prometheus-s-s-创建就业机会和s-s准入补丁工作,该工作“卡住”,可能是准备就绪的探测失败。删除它们之后,进程将继续成功。
从另一个会话中删除作业,它将进一步移动。
https://stackoverflow.com/questions/70607999
复制相似问题