Skip to content

Commit 90a8d73

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

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

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

+14
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,20 @@ spec:
4040
volumeMounts:
4141
- name: temp-vol
4242
mountPath: /tmp
43+
livenessProbe:
44+
httpGet:
45+
path: /healthz
46+
port: 8081
47+
initialDelaySeconds: 30
48+
timeoutSeconds: 5
49+
periodSeconds: 5
50+
readinessProbe:
51+
httpGet:
52+
path: /readyz
53+
port: 8081
54+
initialDelaySeconds: 30
55+
timeoutSeconds: 5
56+
periodSeconds: 5
4357
serviceAccountName: mcad-controller-{{.Name}}
4458
volumes:
4559
- name: temp-vol

0 commit comments

Comments
 (0)