Skip to content

Commit c07e654

Browse files
authored
Merge pull request #751 from vdhanan/master
Add readiness probe so controller does not report "Ready" prematurely
2 parents a3a0bc3 + 1e644f8 commit c07e654

File tree

3 files changed

+17
-1
lines changed

3 files changed

+17
-1
lines changed

charts/aws-ebs-csi-driver/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v1
22
appVersion: "0.9.0"
33
name: aws-ebs-csi-driver
44
description: A Helm chart for AWS EBS CSI Driver
5-
version: 0.9.12
5+
version: 0.9.13
66
kubeVersion: ">=1.17.0-0"
77
home: https://github.com/kubernetes-sigs/aws-ebs-csi-driver
88
sources:

charts/aws-ebs-csi-driver/templates/controller.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,14 @@ spec:
105105
timeoutSeconds: 3
106106
periodSeconds: 10
107107
failureThreshold: 5
108+
readinessProbe:
109+
httpGet:
110+
path: /healthz
111+
port: healthz
112+
initialDelaySeconds: 10
113+
timeoutSeconds: 3
114+
periodSeconds: 10
115+
failureThreshold: 5
108116
{{- with .Values.resources }}
109117
resources: {{ toYaml . | nindent 12 }}
110118
{{- end }}

deploy/kubernetes/base/controller.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,14 @@ spec:
6565
timeoutSeconds: 3
6666
periodSeconds: 10
6767
failureThreshold: 5
68+
readinessProbe:
69+
httpGet:
70+
path: /healthz
71+
port: healthz
72+
initialDelaySeconds: 10
73+
timeoutSeconds: 3
74+
periodSeconds: 10
75+
failureThreshold: 5
6876
- name: csi-provisioner
6977
image: k8s.gcr.io/sig-storage/csi-provisioner:v2.0.2
7078
args:

0 commit comments

Comments
 (0)