mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
fix prometheus cluster ip and support pod labels (#4915)
* fix prometheus cluster ip and support pod labels * bump chart version
This commit is contained in:
committed by
k8s-ci-robot
parent
1075756aff
commit
1b11ef35d6
@@ -1,5 +1,5 @@
|
||||
name: prometheus
|
||||
version: 6.2.0
|
||||
version: 6.2.1
|
||||
appVersion: 2.2.1
|
||||
description: Prometheus is a monitoring system and time series database.
|
||||
home: https://prometheus.io/
|
||||
|
||||
@@ -21,6 +21,9 @@ spec:
|
||||
app: {{ template "prometheus.name" . }}
|
||||
component: "{{ .Values.kubeStateMetrics.name }}"
|
||||
release: {{ .Release.Name }}
|
||||
{{- if .Values.kubeStateMetrics.pod.labels }}
|
||||
{{ toYaml .Values.kubeStateMetrics.pod.labels | indent 8 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
serviceAccountName: {{ template "prometheus.serviceAccountName.kubeStateMetrics" . }}
|
||||
containers:
|
||||
|
||||
@@ -278,6 +278,9 @@ kubeStateMetrics:
|
||||
##
|
||||
podAnnotations: {}
|
||||
|
||||
pod:
|
||||
labels: {}
|
||||
|
||||
replicaCount: 1
|
||||
|
||||
## kube-state-metrics resource requests and limits
|
||||
@@ -296,7 +299,7 @@ kubeStateMetrics:
|
||||
prometheus.io/scrape: "true"
|
||||
labels: {}
|
||||
|
||||
clusterIP: None
|
||||
clusterIP: ""
|
||||
|
||||
## List of IP addresses at which the kube-state-metrics service is available
|
||||
## Ref: https://kubernetes.io/docs/user-guide/services/#external-ips
|
||||
@@ -386,7 +389,7 @@ nodeExporter:
|
||||
prometheus.io/scrape: "true"
|
||||
labels: {}
|
||||
|
||||
clusterIP: None
|
||||
clusterIP: ""
|
||||
|
||||
## List of IP addresses at which the node-exporter service is available
|
||||
## Ref: https://kubernetes.io/docs/user-guide/services/#external-ips
|
||||
|
||||
Reference in New Issue
Block a user