我可以在k3d中在本地禁用节点导出部署,但正如我所看到的那样,不能禁用节点导出器和Grafana在我的节点上的部署(GCPGKE-v1.21.10-gke.2000)。在我的GKE集群中。
我现正使用头盔图详细资料如下:
- name: kube-prometheus-stack
version: "35.0.3"
repository: "https://prometheus-community.github.io/helm-charts"我在我的values.yaml中使用了以下命令。
kube-prometheus-stack:
grafana:
enabled: false
adminPassword: xxx
ingress:
enabled: false
ingressClassName: nginx
hosts:
- xxx
tls:
- secretName: letsencrypt-prod-monitoring-crt
hosts:
- xxx
prometheus:
ingress:
enabled: true
ingressClassName: nginx
hosts:
- xxx
tls:
- secretName: letsencrypt-prod-monitoring-crt
hosts:
- xxx
prometheusSpec:
scrapeInterval: 1m
scrapeTimeout: 1m
## Deploy node exporter as a daemonset to all nodes
nodeExporter:
enabled: false
kubeStateMetrics:
enabled: false
## Configuration for prometheus-node-exporter subchart
prometheus-node-exporter:
prometheus:
monitor:
enabled: true
# prometheusOperator:
# admissionWebhooks:
# enabled: falseGCP在Prometheus节点出口商和Grafana的部署中有什么特别之处吗?
发布于 2022-08-27 03:16:12
库伯-普罗米修斯堆栈(https://github.com/prometheus-community/helm-charts/tree/main/charts/kube-prometheus-stack)依赖于普罗米修斯-节点-出口商(https://github.com/prometheus-community/helm-charts/blob/main/charts/kube-prometheus-stack/Chart.yaml#L46)。
我会使用k8s关联从不想要的节点丢弃节点-导出荚。
https://stackoverflow.com/questions/72270308
复制相似问题