Helm Chart 安装错误:预安装失败:等待条件超时

问题描述 投票:0回答:2

我正在尝试通过运行安装

kube-prometheus-stack
图表:

helm install prometheus prometheus-community/kube-prometheus-stack  -f ./prometheus-operator-values.yaml

但是我收到错误:

manifest_sorter.go:192: info: skipping unknown hook: "crd-install"
manifest_sorter.go:192: info: skipping unknown hook: "crd-install"
manifest_sorter.go:192: info: skipping unknown hook: "crd-install"
manifest_sorter.go:192: info: skipping unknown hook: "crd-install"
manifest_sorter.go:192: info: skipping unknown hook: "crd-install"
manifest_sorter.go:192: info: skipping unknown hook: "crd-install"
manifest_sorter.go:192: info: skipping unknown hook: "crd-install"
Error: failed pre-install: timed out waiting for the condition

图表需要

Kubernetes 1.16+
,我在一个lokal Minikube集群上,当我用
kubectl version
检查版本时,我得到:

Client Version: version.Info{Major:"1", Minor:"21", GitVersion:"v1.21.3", GitCommit:"ca643a4d1f7bfe34773c74f79527be4afd95bf39", GitTreeState:"clean", BuildDate:"2021-07-15T21:04:39Z", GoVersion:"go1.16.6", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.2", GitCommit:"f5743093fd1c663cb0cbc89748f730662345d44d", GitTreeState:"clean", BuildDate:"2020-09-16T13:32:58Z", GoVersion:"go1.15", Compiler:"gc", Platform:"linux/amd64"}
WARNING: version difference between client (1.21) and server (1.19) exceeds the supported minor version skew of +/-1

那么我的版本应该符合要求吧?

如果是这样,这个错误还有哪些其他原因?

kubernetes kubernetes-helm minikube
2个回答
0
投票

这是 GitHub 中的已知问题,请参阅现有错误并在那里发表评论以解决此问题。


0
投票

有点奇怪,但我使用 15.0.0 版本并开始工作。降级版本。我试图下载版本 27、28,最后下载了 15。它开始运行。我使用了相同的存储库。

© www.soinside.com 2019 - 2024. All rights reserved.