Skip to content

Commit e69ea0b

Browse files
committed
chore(registry): change probe
1 parent 28fe720 commit e69ea0b

1 file changed

Lines changed: 16 additions & 2 deletions

File tree

charts/registry/templates/registry-deployment.yaml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,18 +43,32 @@ spec:
4343
imagePullPolicy: {{.Values.imagePullPolicy}}
4444
{{- include "registry.limits" . | indent 8 }}
4545
{{- include "registry.envs" . | indent 8 }}
46+
startupProbe:
47+
tcpSocket:
48+
port: 5000
49+
initialDelaySeconds: 30
50+
periodSeconds: 5
51+
timeoutSeconds: 1
52+
successThreshold: 1
53+
failureThreshold: 5
4654
livenessProbe:
4755
httpGet:
4856
path: /
4957
port: 5000
50-
initialDelaySeconds: 1
58+
initialDelaySeconds: 30
59+
periodSeconds: 5
5160
timeoutSeconds: 1
61+
successThreshold: 1
62+
failureThreshold: 5
5263
readinessProbe:
5364
httpGet:
5465
path: /
5566
port: 5000
56-
initialDelaySeconds: 1
67+
initialDelaySeconds: 30
68+
periodSeconds: 5
5769
timeoutSeconds: 1
70+
successThreshold: 1
71+
failureThreshold: 5
5872
ports:
5973
- containerPort: 5000
6074
volumeMounts:

0 commit comments

Comments
 (0)