Skip to content

Commit

Permalink
wip: add probes
Browse files Browse the repository at this point in the history
  • Loading branch information
nleconte-csgroup committed Feb 15, 2024
1 parent 01622e5 commit 7378e83
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 36 deletions.
28 changes: 14 additions & 14 deletions charts/rs-server-adgs/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,20 +95,20 @@ spec:
key: pass
securityContext:
privileged: false
#livenessProbe:
#httpGet:
#path: {{ .Values.probe.liveness.path }}
#port: {{ .Values.probe.liveness.port }}
#initialDelaySeconds: {{ .Values.probe.liveness.initialDelaySeconds }}
#periodSeconds: {{ .Values.probe.liveness.periodSeconds }}
#timeoutSeconds: {{ .Values.probe.liveness.timeoutSeconds }}
#readinessProbe:
#httpGet:
#path: {{ .Values.probe.readiness.path }}
#port: {{ .Values.probe.readiness.port }}
#initialDelaySeconds: {{ .Values.probe.readiness.initialDelaySeconds }}
#periodSeconds: {{ .Values.probe.readiness.periodSeconds }}
#timeoutSeconds: {{ .Values.probe.readiness.timeoutSeconds }}
livenessProbe:
httpGet:
path: {{ .Values.probe.liveness.path }}
port: {{ .Values.probe.liveness.port }}
initialDelaySeconds: {{ .Values.probe.liveness.initialDelaySeconds }}
periodSeconds: {{ .Values.probe.liveness.periodSeconds }}
timeoutSeconds: {{ .Values.probe.liveness.timeoutSeconds }}
readinessProbe:
httpGet:
path: {{ .Values.probe.readiness.path }}
port: {{ .Values.probe.readiness.port }}
initialDelaySeconds: {{ .Values.probe.readiness.initialDelaySeconds }}
periodSeconds: {{ .Values.probe.readiness.periodSeconds }}
timeoutSeconds: {{ .Values.probe.readiness.timeoutSeconds }}
#imagePullSecrets:
#- name: {{ .Values.image.imagePullSecrets }}
restartPolicy: Always
Expand Down
8 changes: 4 additions & 4 deletions charts/rs-server-adgs/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ app:

probe:
liveness:
path: /app/ping
port: 8080
path: /health
port: 8000
initialDelaySeconds: 30
periodSeconds: 30
timeoutSeconds: 5
readiness:
path: /app/ping
port: 8080
path: /health
port: 8000
initialDelaySeconds: 30
periodSeconds: 30
timeoutSeconds: 5
Expand Down
28 changes: 14 additions & 14 deletions charts/rs-server-cadip/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,20 +95,20 @@ spec:
key: pass
securityContext:
privileged: false
#livenessProbe:
#httpGet:
#path: {{ .Values.probe.liveness.path }}
#port: {{ .Values.probe.liveness.port }}
#initialDelaySeconds: {{ .Values.probe.liveness.initialDelaySeconds }}
#periodSeconds: {{ .Values.probe.liveness.periodSeconds }}
#timeoutSeconds: {{ .Values.probe.liveness.timeoutSeconds }}
#readinessProbe:
#httpGet:
#path: {{ .Values.probe.readiness.path }}
#port: {{ .Values.probe.readiness.port }}
#initialDelaySeconds: {{ .Values.probe.readiness.initialDelaySeconds }}
#periodSeconds: {{ .Values.probe.readiness.periodSeconds }}
#timeoutSeconds: {{ .Values.probe.readiness.timeoutSeconds }}
livenessProbe:
httpGet:
path: {{ .Values.probe.liveness.path }}
port: {{ .Values.probe.liveness.port }}
initialDelaySeconds: {{ .Values.probe.liveness.initialDelaySeconds }}
periodSeconds: {{ .Values.probe.liveness.periodSeconds }}
timeoutSeconds: {{ .Values.probe.liveness.timeoutSeconds }}
readinessProbe:
httpGet:
path: {{ .Values.probe.readiness.path }}
port: {{ .Values.probe.readiness.port }}
initialDelaySeconds: {{ .Values.probe.readiness.initialDelaySeconds }}
periodSeconds: {{ .Values.probe.readiness.periodSeconds }}
timeoutSeconds: {{ .Values.probe.readiness.timeoutSeconds }}
#imagePullSecrets:
#- name: {{ .Values.image.imagePullSecrets }}
restartPolicy: Always
Expand Down
8 changes: 4 additions & 4 deletions charts/rs-server-cadip/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ app:

probe:
liveness:
path: /app/ping
port: 8080
path: /health
port: 8000
initialDelaySeconds: 30
periodSeconds: 30
timeoutSeconds: 5
readiness:
path: /app/ping
port: 8080
path: /health
port: 8000
initialDelaySeconds: 30
periodSeconds: 30
timeoutSeconds: 5
Expand Down

0 comments on commit 7378e83

Please sign in to comment.