我正在尝试安装
[ec2-user@ip-*********** ~]$ helm install stable/prometheus-operator --generate-name
Error: failed to download "stable/prometheus-operator" (hint: running `helm repo update` may help)而且安装监控器也不起作用:
helm install monitoring --namespace monitoring stable/prometheus-operator产生:
[ec2-user@ip-&&&&&&&&&&& ~]$ helm install monitoring --namespace monitoring
Error: must either provide a name or specify --generate-name
[ec2-user@ip-&&&&&&&&&&& ~]$ helm install monitoring --namespace monitoring --generate-name
Error: failed to download "monitoring" (hint: running `helm repo update` may help)你知道怎么解决这个问题吗?
发布于 2021-05-21 07:13:00
我最近安装了普罗米修斯(2021年5月),似乎他们又改变了语法。正确的命令如下所示,所以我认为如果你想现在安装它,它可能会有所帮助:
helm repo add stable https://charts.helm.sh/stable
helm repo update
helm install [pod name] prometheus-community/kube-prometheus-stack发布于 2020-10-14 08:28:31
您需要先添加repo,并且有更新/最新的kube-prometheus-stack (prometheus-operator)
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
helm repo add stable https://kubernetes-charts.storage.googleapis.com/
helm repo update
helm -n monitoring install [RELEASE_NAME] prometheus-community/kube-prometheus-stack参考:
发布于 2020-10-06 21:58:26
您稍微遗漏了语法: try
helm install --name prometheus --namespace monitoring stable/prometheus-operator这里--name是指helm部署的名称,而stable/prometheus-operator是要使用的helm图表。
https://stackoverflow.com/questions/64226913
复制相似问题