From 9d962c582be32ec09e36a25f05e2d2e3fc6813d1 Mon Sep 17 00:00:00 2001 From: Joao Marcal Date: Wed, 23 Mar 2022 16:53:49 +0000 Subject: [PATCH] Adds YAML for jsonnet modified in the previous commit --- manifests/prometheusAdapter-deployment.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/manifests/prometheusAdapter-deployment.yaml b/manifests/prometheusAdapter-deployment.yaml index a15128d098..86412ffa0c 100644 --- a/manifests/prometheusAdapter-deployment.yaml +++ b/manifests/prometheusAdapter-deployment.yaml @@ -38,9 +38,27 @@ spec: - --secure-port=6443 - --tls-cipher-suites=TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305,TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305,TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA,TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256,TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA,TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA,TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA,TLS_RSA_WITH_AES_128_GCM_SHA256,TLS_RSA_WITH_AES_256_GCM_SHA384,TLS_RSA_WITH_AES_128_CBC_SHA,TLS_RSA_WITH_AES_256_CBC_SHA image: k8s.gcr.io/prometheus-adapter/prometheus-adapter:v0.9.1 + livenessProbe: + livenessProbe: + failureThreshold: 5 + httpGet: + path: /healthz + port: https + scheme: HTTPS + initialDelaySeconds: 5 + periodSeconds: 30 name: prometheus-adapter ports: - containerPort: 6443 + readinessProbe: + readinessProbe: + failureThreshold: 5 + httpGet: + path: /healthz + port: https + scheme: HTTPS + initialDelaySeconds: 5 + periodSeconds: 5 resources: limits: cpu: 250m