diff --git a/jsonnet/kube-prometheus/components/prometheus-adapter.libsonnet b/jsonnet/kube-prometheus/components/prometheus-adapter.libsonnet index 1ac3aced0ca4ffee8818e48ac14c0da000392b5d..4a4d6850fad0e1dd680668404b83b859fd5a1a5e 100644 --- a/jsonnet/kube-prometheus/components/prometheus-adapter.libsonnet +++ b/jsonnet/kube-prometheus/components/prometheus-adapter.libsonnet @@ -220,6 +220,26 @@ function(params) { '--tls-cipher-suites=' + std.join(',', pa._config.tlsCipherSuites), ], resources: pa._config.resources, + readinessProbe: { + httpGet: { + path: '/readyz', + port: 'https', + scheme: 'HTTPS', + }, + initialDelaySeconds: 30, + periodSeconds: 5, + failureThreshold: 5, + }, + livenessProbe: { + httpGet: { + path: '/livez', + port: 'https', + scheme: 'HTTPS', + }, + initialDelaySeconds: 30, + periodSeconds: 5, + failureThreshold: 5, + }, ports: [{ containerPort: 6443 }], volumeMounts: [ { name: 'tmpfs', mountPath: '/tmp', readOnly: false },