diff --git a/charts/transport-management/charts/auth/templates/auth-deployment.yaml b/charts/transport-management/charts/auth/templates/auth-deployment.yaml index b95a266..1097a31 100644 --- a/charts/transport-management/charts/auth/templates/auth-deployment.yaml +++ b/charts/transport-management/charts/auth/templates/auth-deployment.yaml @@ -49,23 +49,31 @@ spec: requests: cpu: {{ .Values.resources.requests.cpu }} memory: {{ .Values.resources.requests.memory }} - livenessProbe: - failureThreshold: {{ .Values.livenessProbe.failureThreshold }} - httpGet: - path: / - port: 8080 - scheme: HTTP - initialDelaySeconds: {{ .Values.livenessProbe.initialDelaySeconds }} - periodSeconds: {{ .Values.livenessProbe.periodSeconds }} - successThreshold: {{ .Values.livenessProbe.successThreshold }} - timeoutSeconds: {{ .Values.livenessProbe.timeoutSeconds }} - readinessProbe: - failureThreshold: {{ .Values.readinessProbe.failureThreshold }} - httpGet: - path: / - port: 8080 - scheme: HTTP - initialDelaySeconds: {{ .Values.readinessProbe.initialDelaySeconds }} - periodSeconds: {{ .Values.readinessProbe.periodSeconds }} - successThreshold: {{ .Values.readinessProbe.successThreshold }} - timeoutSeconds: {{ .Values.readinessProbe.timeoutSeconds }} + + startupProbe: + httpGet: + path: /health/started + port: 8080 + scheme: HTTP + periodSeconds: {{ .Values.startupProbe.periodSeconds }} + failureThreshold: {{ .Values.startupProbe.failureThreshold }} + + livenessProbe: + failureThreshold: {{ .Values.livenessProbe.failureThreshold }} + httpGet: + path: /health + port: 8080 + scheme: HTTP + periodSeconds: {{ .Values.livenessProbe.periodSeconds }} + successThreshold: {{ .Values.livenessProbe.successThreshold }} + timeoutSeconds: {{ .Values.livenessProbe.timeoutSeconds }} + + readinessProbe: + failureThreshold: {{ .Values.readinessProbe.failureThreshold }} + httpGet: + path: /health/ready + port: 8080 + scheme: HTTP + periodSeconds: {{ .Values.readinessProbe.periodSeconds }} + successThreshold: {{ .Values.readinessProbe.successThreshold }} + timeoutSeconds: {{ .Values.readinessProbe.timeoutSeconds }} \ No newline at end of file diff --git a/charts/transport-management/charts/auth/values.yaml b/charts/transport-management/charts/auth/values.yaml index 0cb5c81..ba45c1a 100644 --- a/charts/transport-management/charts/auth/values.yaml +++ b/charts/transport-management/charts/auth/values.yaml @@ -13,16 +13,18 @@ resources: cpu: 250m memory: 512Mi +startupProbe: + failureTreshold: 30 + periodSeconds: 10 + livenessProbe: failureTreshold: 3 - initialDelaySeconds: 240 periodSeconds: 10 successThreshold: 1 timeoutSeconds: 30 readinessProbe: failureTreshold: 3 - initialDelaySeconds: 240 periodSeconds: 10 successThreshold: 1 timeoutSeconds: 30