diff --git a/src/main/k8s/production.yml b/src/main/k8s/production.yml index 53e9666e70bd8773e863a807fc87dc9edcd8a342..98165117f773a01e086409b4e785a40bc8666e7e 100644 --- a/src/main/k8s/production.yml +++ b/src/main/k8s/production.yml @@ -41,6 +41,26 @@ spec: requests: cpu: 300m memory: 384Mi + startupProbe: + httpGet: + path: /adopters/q/health + port: 8090 + scheme: HTTP + timeoutSeconds: 1 + initialDelaySeconds: 20 + periodSeconds: 10 + successThreshold: 1 + failureThreshold: 3 + livenessProbe: + httpGet: + path: /adopters/q/health + port: 8090 + scheme: HTTP + timeoutSeconds: 1 + initialDelaySeconds: 60 + periodSeconds: 60 + successThreshold: 1 + failureThreshold: 3 volumeMounts: - name: adopters mountPath: "/config" diff --git a/src/main/k8s/staging.yml b/src/main/k8s/staging.yml index fd8703f1bee72ecfb71b4e0b505e5e5ecb623dc8..39038485075c8d70f791fe6cfa8ddbd6cce05ea7 100644 --- a/src/main/k8s/staging.yml +++ b/src/main/k8s/staging.yml @@ -41,6 +41,26 @@ spec: requests: cpu: 300m memory: 384Mi + startupProbe: + httpGet: + path: /adopters/q/health + port: 8090 + scheme: HTTP + timeoutSeconds: 1 + initialDelaySeconds: 20 + periodSeconds: 10 + successThreshold: 1 + failureThreshold: 3 + livenessProbe: + httpGet: + path: /adopters/q/health + port: 8090 + scheme: HTTP + timeoutSeconds: 1 + initialDelaySeconds: 60 + periodSeconds: 60 + successThreshold: 1 + failureThreshold: 3 volumeMounts: - name: adopters mountPath: "/config"