diff --git a/charts/py-kms/templates/deployment.yaml b/charts/py-kms/templates/deployment.yaml index a4e46b4..e0c150b 100644 --- a/charts/py-kms/templates/deployment.yaml +++ b/charts/py-kms/templates/deployment.yaml @@ -45,14 +45,17 @@ spec: - name: http containerPort: 8080 protocol: TCP + startupProbe: + httpGet: + port: http + path: /readyz + failureThreshold: 30 # 30 seconds seem to be enough under heavy workloads + periodSeconds: 1 livenessProbe: httpGet: - path: / - port: http - readinessProbe: - httpGet: - path: / + path: /livez port: http + periodSeconds: 20 resources: {{- toYaml .Values.resources | nindent 12 }} {{- with .Values.nodeSelector }}