mirror of
https://github.com/helm/charts.git
synced 2026-08-23 14:27:18 +00:00
[stable/prometheus] Updates to support an alternate scheduler (#14364)
* updates to support alternate k8s scheduler Signed-off-by: Sathya Balakrishnan <sathya@portworx.com> * bump up chart version Signed-off-by: Sathya Balakrishnan <sathya@portworx.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
3fe171bf71
commit
6e23b2ff71
@@ -1,6 +1,6 @@
|
||||
apiVersion: v1
|
||||
name: prometheus
|
||||
version: 8.13.2
|
||||
version: 8.14.0
|
||||
appVersion: 2.11.1
|
||||
description: Prometheus is a monitoring system and time series database.
|
||||
home: https://prometheus.io/
|
||||
|
||||
@@ -216,6 +216,7 @@ Parameter | Description | Default
|
||||
`pushgateway.podAnnotations` | annotations to be added to pushgateway pods | `{}`
|
||||
`pushgateway.tolerations` | node taints to tolerate (requires Kubernetes >=1.6) | `[]`
|
||||
`pushgateway.replicaCount` | desired number of pushgateway pods | `1`
|
||||
`pushgateway.schedulerName` | pushgateway alternate scheduler name | `nil`
|
||||
`pushgateway.persistentVolume.enabled` | If true, Prometheus pushgateway will create a Persistent Volume Claim | `false`
|
||||
`pushgateway.persistentVolume.accessModes` | Prometheus pushgateway data Persistent Volume access modes | `[ReadWriteOnce]`
|
||||
`pushgateway.persistentVolume.annotations` | Prometheus pushgateway data Persistent Volume annotations | `{}`
|
||||
|
||||
@@ -7,6 +7,9 @@ metadata:
|
||||
name: {{ template "prometheus.pushgateway.fullname" . }}
|
||||
spec:
|
||||
selector:
|
||||
{{- if .Values.schedulerName }}
|
||||
schedulerName: "{{ .Values.schedulerName }}"
|
||||
{{- end }}
|
||||
matchLabels:
|
||||
{{- include "prometheus.pushgateway.matchLabels" . | nindent 6 }}
|
||||
replicas: {{ .Values.pushgateway.replicaCount }}
|
||||
@@ -50,7 +53,7 @@ spec:
|
||||
- name: storage-volume
|
||||
mountPath: "{{ .Values.pushgateway.persistentVolume.mountPath }}"
|
||||
subPath: "{{ .Values.pushgateway.persistentVolume.subPath }}"
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- if .Values.imagePullSecrets }}
|
||||
imagePullSecrets:
|
||||
{{ toYaml .Values.imagePullSecrets | indent 2 }}
|
||||
|
||||
@@ -796,6 +796,11 @@ pushgateway:
|
||||
##
|
||||
enabled: true
|
||||
|
||||
## Use an alternate scheduler, e.g. "stork".
|
||||
## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
|
||||
##
|
||||
# schedulerName:
|
||||
|
||||
## pushgateway container name
|
||||
##
|
||||
name: pushgateway
|
||||
|
||||
Reference in New Issue
Block a user