Skip to content

Commit

Permalink
refactor: add liveness and readyness probes to instascale deployment (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
dimakis committed Jun 27, 2023
1 parent 504a1e9 commit 8e0c5a0
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions config/internal/instascale/deployment.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,15 @@ spec:
image: {{.ControllerImage}}
name: instascale
resources: {{.ControllerResources}}
livenessProbe:
httpGet:
path: /healthz
port: 8081
periodSeconds: 5
timeoutSeconds: 5
readinessProbe:
httpGet:
path: /readyz
port: 8081
periodSeconds: 10
serviceAccountName: instascale-{{.Name}}-sa

0 comments on commit 8e0c5a0

Please sign in to comment.