mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
Add vars for liveness and readyness (#22201)
Signed-off-by: LucasBoisserie <lucas.boisserie@gmail.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
apiVersion: v1
|
||||
description: Prometheus Blackbox Exporter
|
||||
name: prometheus-blackbox-exporter
|
||||
version: 4.0.0
|
||||
version: 4.1.0
|
||||
appVersion: 0.16.0
|
||||
home: https://github.com/prometheus/blackbox_exporter
|
||||
sources:
|
||||
|
||||
@@ -69,6 +69,8 @@ The following table lists the configurable parameters of the Blackbox-Exporter c
|
||||
| `allowIcmp` | whether to enable ICMP probes, by giving the pods `CAP_NET_RAW` and running as root | `false` |
|
||||
| `resources` | pod resource requests & limits | `{}` |
|
||||
| `restartPolicy` | container restart policy | `Always` |
|
||||
| `livenessProbe` | Container liveness probe | See values.yaml |
|
||||
| `readinessProbe` | Container readiness probe | See values.yaml |
|
||||
| `service.annotations` | annotations for the service | `{}` |
|
||||
| `service.labels` | additional labels for the service | None |
|
||||
| `service.type` | type of service to create | `ClusterIP` |
|
||||
|
||||
@@ -77,13 +77,9 @@ spec:
|
||||
- containerPort: {{ .Values.service.port }}
|
||||
name: http
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /health
|
||||
port: http
|
||||
{{- toYaml .Values.livenessProbe | trim | nindent 12 }}
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /health
|
||||
port: http
|
||||
{{- toYaml .Values.readinessProbe | trim | nindent 12 }}
|
||||
volumeMounts:
|
||||
- mountPath: /config
|
||||
name: config
|
||||
|
||||
@@ -82,13 +82,9 @@ spec:
|
||||
- containerPort: {{ .Values.service.port }}
|
||||
name: http
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /health
|
||||
port: http
|
||||
{{- toYaml .Values.livenessProbe | trim | nindent 12 }}
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /health
|
||||
port: http
|
||||
{{- toYaml .Values.readinessProbe | trim | nindent 12 }}
|
||||
volumeMounts:
|
||||
- mountPath: /config
|
||||
name: config
|
||||
|
||||
@@ -31,6 +31,16 @@ runAsUser: 1000
|
||||
readOnlyRootFilesystem: true
|
||||
runAsNonRoot: true
|
||||
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /health
|
||||
port: http
|
||||
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /health
|
||||
port: http
|
||||
|
||||
nodeSelector: {}
|
||||
tolerations: []
|
||||
affinity: {}
|
||||
|
||||
Reference in New Issue
Block a user