added deployment strategy for pushgateway (#17107)

Signed-off-by: Jeff Thompson <jeff.r.thompson@gmail.com>
This commit is contained in:
Jeff Thompson
2019-12-07 13:01:09 -08:00
committed by Kubernetes Prow Robot
parent 7c94a795e4
commit ff0f907795
4 changed files with 10 additions and 1 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
apiVersion: v1
name: prometheus
version: 9.4.1
version: 9.5.0
appVersion: 2.13.1
description: Prometheus is a monitoring system and time series database.
home: https://prometheus.io/
+1
View File
@@ -244,6 +244,7 @@ Parameter | Description | Default
`pushgateway.service.loadBalancerSourceRanges` | list of IP CIDRs allowed access to load balancer (if supported) | `[]`
`pushgateway.service.servicePort` | pushgateway service port | `9091`
`pushgateway.service.type` | type of pushgateway service to create | `ClusterIP`
`pushgateway.strategy.type` | Deployment strategy | `{ "type": "RollingUpdate" }`
`rbac.create` | If true, create & use RBAC resources | `true`
`server.enabled` | If false, Prometheus server will not be created | `true`
`server.name` | Prometheus server container name | `server`
@@ -13,6 +13,10 @@ spec:
matchLabels:
{{- include "prometheus.pushgateway.matchLabels" . | nindent 6 }}
replicas: {{ .Values.pushgateway.replicaCount }}
{{- if .Values.pushgateway.strategy }}
strategy:
{{ toYaml .Values.pushgateway.strategy | indent 4 }}
{{- end }}
template:
metadata:
{{- if .Values.pushgateway.podAnnotations }}
+4
View File
@@ -986,6 +986,10 @@ pushgateway:
servicePort: 9091
type: ClusterIP
## pushgateway Deployment Strategy type
# strategy:
# type: Recreate
persistentVolume:
## If true, pushgateway will create/use a Persistent Volume Claim
## If false, use emptyDir