mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
added deployment strategy for pushgateway (#17107)
Signed-off-by: Jeff Thompson <jeff.r.thompson@gmail.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
7c94a795e4
commit
ff0f907795
@@ -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/
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user