Skip to content

Commit 1712272

Browse files
committed
perf: addition of liveness and readiness probes to mcad deployment template
1 parent a71303b commit 1712272

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

Diff for: config/internal/mcad/deployment.yaml.tmpl

+12
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,18 @@ spec:
4040
volumeMounts:
4141
- name: temp-vol
4242
mountPath: /tmp
43+
livenessProbe:
44+
httpGet:
45+
path: /healthz
46+
port: 8081
47+
timeoutSeconds: 5
48+
periodSeconds: 5
49+
readinessProbe:
50+
httpGet:
51+
path: /readyz
52+
port: 8081
53+
timeoutSeconds: 5
54+
periodSeconds: 5
4355
serviceAccountName: mcad-controller-{{.Name}}
4456
volumes:
4557
- name: temp-vol

0 commit comments

Comments
 (0)