Skip to content

Commit

Permalink
refactor: add liveness and readyness probes to instascale deployment (p…
Browse files Browse the repository at this point in the history
  • Loading branch information
dimakis authored and Fiona-Waters committed Jul 10, 2023
1 parent fddfa37 commit 6daa2f2
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 6daa2f2

Please sign in to comment.