Skip to content

Commit 4a1b22a

Browse files
committed
chore(controller): add startupProbe
1 parent 776ca72 commit 4a1b22a

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

charts/controller/templates/controller-api-deployment.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,14 @@ spec:
4242
- name: drycc-controller
4343
image: {{.Values.imageRegistry}}/{{.Values.imageOrg}}/controller:{{.Values.imageTag}}
4444
imagePullPolicy: {{.Values.imagePullPolicy}}
45+
startupProbe:
46+
tcpSocket:
47+
port: 8000
48+
initialDelaySeconds: 30
49+
periodSeconds: 60
50+
timeoutSeconds: 1
51+
successThreshold: 1
52+
failureThreshold: 10
4553
livenessProbe:
4654
httpGet:
4755
path: /healthz

0 commit comments

Comments
 (0)