feat(argo-cd): Update Notification Liveness/Readiness Probes
Signed-off-by: nueavv <nuguni@kakao.com>
This commit is contained in:
parent
4f4fb956d3
commit
37a7e35190
2 changed files with 46 additions and 0 deletions
|
@ -107,6 +107,22 @@ spec:
|
||||||
- name: metrics
|
- name: metrics
|
||||||
containerPort: {{ .Values.notifications.containerPorts.metrics }}
|
containerPort: {{ .Values.notifications.containerPorts.metrics }}
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
livenessProbe:
|
||||||
|
tcpSocket:
|
||||||
|
port: metrics
|
||||||
|
initialDelaySeconds: {{ .Values.notifications.livenessProbe.initialDelaySeconds }}
|
||||||
|
periodSeconds: {{ .Values.notifications.livenessProbe.periodSeconds }}
|
||||||
|
timeoutSeconds: {{ .Values.notifications.livenessProbe.timeoutSeconds }}
|
||||||
|
successThreshold: {{ .Values.notifications.livenessProbe.successThreshold }}
|
||||||
|
failureThreshold: {{ .Values.notifications.livenessProbe.failureThreshold }}
|
||||||
|
readinessProbe:
|
||||||
|
tcpSocket:
|
||||||
|
port: metrics
|
||||||
|
initialDelaySeconds: {{ .Values.notifications.readinessProbe.initialDelaySeconds }}
|
||||||
|
periodSeconds: {{ .Values.notifications.readinessProbe.periodSeconds }}
|
||||||
|
timeoutSeconds: {{ .Values.notifications.readinessProbe.timeoutSeconds }}
|
||||||
|
successThreshold: {{ .Values.notifications.readinessProbe.successThreshold }}
|
||||||
|
failureThreshold: {{ .Values.notifications.readinessProbe.failureThreshold }}
|
||||||
resources:
|
resources:
|
||||||
{{- toYaml .Values.notifications.resources | nindent 12 }}
|
{{- toYaml .Values.notifications.resources | nindent 12 }}
|
||||||
{{- with .Values.notifications.containerSecurityContext }}
|
{{- with .Values.notifications.containerSecurityContext }}
|
||||||
|
|
|
@ -3307,6 +3307,36 @@ notifications:
|
||||||
drop:
|
drop:
|
||||||
- ALL
|
- ALL
|
||||||
|
|
||||||
|
## Probes for notifications controller Pods (optional)
|
||||||
|
## Ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/
|
||||||
|
readinessProbe:
|
||||||
|
# -- Enable Kubernetes liveness probe for notifications controller Pods
|
||||||
|
enabled: false
|
||||||
|
# -- Number of seconds after the container has started before [probe] is initiated
|
||||||
|
initialDelaySeconds: 10
|
||||||
|
# -- How often (in seconds) to perform the [probe]
|
||||||
|
periodSeconds: 10
|
||||||
|
# -- Number of seconds after which the [probe] times out
|
||||||
|
timeoutSeconds: 1
|
||||||
|
# -- Minimum consecutive successes for the [probe] to be considered successful after having failed
|
||||||
|
successThreshold: 1
|
||||||
|
# -- Minimum consecutive failures for the [probe] to be considered failed after having succeeded
|
||||||
|
failureThreshold: 3
|
||||||
|
|
||||||
|
livenessProbe:
|
||||||
|
# -- Enable Kubernetes liveness probe for notifications controller Pods
|
||||||
|
enabled: false
|
||||||
|
# -- Number of seconds after the container has started before [probe] is initiated
|
||||||
|
initialDelaySeconds: 10
|
||||||
|
# -- How often (in seconds) to perform the [probe]
|
||||||
|
periodSeconds: 10
|
||||||
|
# -- Number of seconds after which the [probe] times out
|
||||||
|
timeoutSeconds: 1
|
||||||
|
# -- Minimum consecutive successes for the [probe] to be considered successful after having failed
|
||||||
|
successThreshold: 1
|
||||||
|
# -- Minimum consecutive failures for the [probe] to be considered failed after having succeeded
|
||||||
|
failureThreshold: 3
|
||||||
|
|
||||||
# -- terminationGracePeriodSeconds for container lifecycle hook
|
# -- terminationGracePeriodSeconds for container lifecycle hook
|
||||||
terminationGracePeriodSeconds: 30
|
terminationGracePeriodSeconds: 30
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue