Skip to content

Commit 55c8564

Browse files
authored
fix: Shorten readiness probe period to try to prevent races (#930)
Default readiness probe period is 10s so this should reduce timeouts caused by overzealous probes. This will need to backported to 0.14 release branch.
1 parent 65a1844 commit 55c8564

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

charts/cluster-api-runtime-extensions-nutanix/templates/deployment.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ spec:
7373
fieldRef:
7474
fieldPath: metadata.namespace
7575
resources:
76-
{{ with .Values.resources }}
76+
{{- with .Values.resources }}
7777
{{- toYaml . | nindent 10 }}
7878
{{- end }}
7979
volumeMounts:
@@ -93,9 +93,10 @@ spec:
9393
port: probes
9494
scheme: HTTP
9595
path: /readyz
96+
periodSeconds: 1
9697
priorityClassName: {{ .Values.priorityClassName }}
9798
securityContext:
98-
{{ with .Values.securityContext }}
99+
{{- with .Values.securityContext }}
99100
{{- toYaml . | nindent 8}}
100101
{{- end }}
101102
volumes:

charts/cluster-api-runtime-extensions-nutanix/templates/helm-repository.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ spec:
6363
readinessProbe:
6464
tcpSocket:
6565
port: serve
66+
periodSeconds: 1
6667
priorityClassName: {{ .Values.priorityClassName }}
6768
securityContext:
6869
{{ with .Values.securityContext }}

0 commit comments

Comments
 (0)