Skip to content

Commit 8e0c5a0

Browse files
authored
refactor: add liveness and readyness probes to instascale deployment (#150)
1 parent 504a1e9 commit 8e0c5a0

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

config/internal/instascale/deployment.yaml.tmpl

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,15 @@ spec:
2121
image: {{.ControllerImage}}
2222
name: instascale
2323
resources: {{.ControllerResources}}
24+
livenessProbe:
25+
httpGet:
26+
path: /healthz
27+
port: 8081
28+
periodSeconds: 5
29+
timeoutSeconds: 5
30+
readinessProbe:
31+
httpGet:
32+
path: /readyz
33+
port: 8081
34+
periodSeconds: 10
2435
serviceAccountName: instascale-{{.Name}}-sa

0 commit comments

Comments
 (0)