Skip to content

Commit

Permalink
TSTCLD-93: Added liveness and readiness probe to ugc- demo
Browse files Browse the repository at this point in the history
  • Loading branch information
KeVoSub committed Jul 4, 2024
1 parent 29064c5 commit 5e10469
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions charts/sophora-ugc-demo/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,18 @@ spec:
volumeMounts:
- name: ugc-demo-config
mountPath: /usr/local/ugc-demo/
livenessProbe:
httpGet:
path: /
port: http
initialDelaySeconds: 30
periodSeconds: 3
readinessProbe:
httpGet:
path: /
port: http
initialDelaySeconds: 30
periodSeconds: 3
resources:
{{- toYaml .Values.resources | nindent 12 }}
volumes:
Expand Down

0 comments on commit 5e10469

Please sign in to comment.