首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何用prometheusOperator.admissionWebhooks.enabled=false?在GKE上安装舵机图表prometheus-操作符

如何用prometheusOperator.admissionWebhooks.enabled=false?在GKE上安装舵机图表prometheus-操作符
EN

Stack Overflow用户
提问于 2019-11-22 18:49:01
回答 1查看 1.3K关注 0票数 0

我想在GKE集群上安装helm图表stable/prometheus-operator。我知道防火墙规则需要调整,或者需要通过设置prometheusOperator.admissionWebhooks.enabled=false来禁用钩子(有关详细信息,请参阅图表的自述文件 )。

但是,如果我将图表安装在

代码语言:javascript
复制
    - wget -qq https://get.helm.sh/helm-v3.0.0-linux-amd64.tar.gz && tar xf helm-v3.0.0-linux-amd64.tar.gz && mv linux-amd64/helm /usr/local/bin
    - helm repo add stable https://kubernetes-charts.storage.googleapis.com/
    - helm repo update
    - kubectl create ns monitoring
    - kubectl apply -f https://raw.githubusercontent.com/coreos/prometheus-operator/master/example/prometheus-operator-crd/alertmanager.crd.yaml
    - kubectl apply -f https://raw.githubusercontent.com/coreos/prometheus-operator/master/example/prometheus-operator-crd/prometheus.crd.yaml
    - kubectl apply -f https://raw.githubusercontent.com/coreos/prometheus-operator/master/example/prometheus-operator-crd/prometheusrule.crd.yaml
    - kubectl apply -f https://raw.githubusercontent.com/coreos/prometheus-operator/master/example/prometheus-operator-crd/servicemonitor.crd.yaml
    - kubectl apply -f https://raw.githubusercontent.com/coreos/prometheus-operator/master/example/prometheus-operator-crd/podmonitor.crd.yaml
    - helm install monitoring stable/prometheus-operator --namespace=monitoring --wait --timeout 10m --set prometheusOperator.admissionWebhooks.enabled=false

在GitLab CI中,pod prometheus-operator有两个容器,它们处于状态“待定”5分钟。我希望这个相当简单的设置可以在一分钟内完成。

您可以在https://gitlab.com/krichter/prometheus-operator-503/-/jobs/358887366上检查集群设置。

在GKE + istio上安装Prometheus中显示的方法不适用,因为我没有安装istio。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2019-12-02 19:40:41

这是由掌舵图中的一个已知问题引起的。根据https://github.com/helm/charts/issues/19147,可以通过设置prometheusOperator.tlsProxy.enabled=false来避免这个问题。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/59000093

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档