Skip to content

Commit cee81e3

Browse files
authored
Merge pull request #5795 from nojnhuh/aso-startup-probe
Add startupProbe to ASO
2 parents ba6d515 + 4a2a783 commit cee81e3

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

config/aso/kustomization.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,24 @@ patches:
3030
- op: replace # Users can specify additional ASO CRDs. CRDs should be appended with ';'
3131
path: /spec/template/spec/containers/0/args/6
3232
value: --crd-pattern=${ADDITIONAL_ASO_CRDS:= }
33+
34+
# ASO will provide a startupProbe starting in v2.14.0.
35+
# These patches should be removed when the upstream probe is set.
36+
- op: test
37+
path: /spec/template/spec/containers/0/startupProbe
38+
value: null
39+
- op: add
40+
path: /spec/template/spec/containers/0/startupProbe
41+
value:
42+
httpGet:
43+
path: /healthz
44+
port: 8081
45+
periodSeconds: 10
46+
failureThreshold: 12
47+
- op: remove
48+
path: /spec/template/spec/containers/0/livenessProbe/initialDelaySeconds
49+
- op: remove
50+
path: /spec/template/spec/containers/0/readinessProbe/initialDelaySeconds
3351
target:
3452
group: apps
3553
kind: Deployment

0 commit comments

Comments
 (0)