Skip to content

Commit

Permalink
chore(k8s): added liveness and readiness probes in Kustomize
Browse files Browse the repository at this point in the history
  • Loading branch information
tummalah committed Jan 30, 2022
1 parent 35501a6 commit 5b84648
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions k8s/base/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,22 @@ spec:
readOnly: true
name: secrets
subPath: rest-api-template
livenessProbe:
httpGet:
path: /health
port: 8080
initialDelaySeconds: 0
periodSeconds: 10
timeoutSeconds: 1
failureThreshold: 3
readinessProbe:
httpGet:
path: /ready
port: 8080
initialDelaySeconds: 10
periodSeconds: 5


resources:
limits:
cpu: 250m
Expand Down

0 comments on commit 5b84648

Please sign in to comment.