diff --git a/stable/prometheus/Chart.yaml b/stable/prometheus/Chart.yaml index 2e59919a00..56694c600e 100755 --- a/stable/prometheus/Chart.yaml +++ b/stable/prometheus/Chart.yaml @@ -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/ diff --git a/stable/prometheus/README.md b/stable/prometheus/README.md index 0d63aa598d..434bcfd470 100644 --- a/stable/prometheus/README.md +++ b/stable/prometheus/README.md @@ -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` diff --git a/stable/prometheus/templates/pushgateway-deployment.yaml b/stable/prometheus/templates/pushgateway-deployment.yaml index 41582b1f32..ce9ca13518 100644 --- a/stable/prometheus/templates/pushgateway-deployment.yaml +++ b/stable/prometheus/templates/pushgateway-deployment.yaml @@ -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 }} diff --git a/stable/prometheus/values.yaml b/stable/prometheus/values.yaml index d74187f0d5..6be5b5ea0c 100644 --- a/stable/prometheus/values.yaml +++ b/stable/prometheus/values.yaml @@ -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