diff --git a/deploy/csi-nfs-controller.yaml b/deploy/csi-nfs-controller.yaml index 0e9d394f..d9d22174 100644 --- a/deploy/csi-nfs-controller.yaml +++ b/deploy/csi-nfs-controller.yaml @@ -81,7 +81,7 @@ spec: args: - --csi-address=/csi/csi.sock - --probe-timeout=3s - - --health-port=29652 + - --http-endpoint=localhost:29652 - --v=2 volumeMounts: - name: socket-dir @@ -111,15 +111,12 @@ spec: fieldPath: spec.nodeName - name: CSI_ENDPOINT value: unix:///csi/csi.sock - ports: - - containerPort: 29652 - name: healthz - protocol: TCP livenessProbe: failureThreshold: 5 httpGet: + host: localhost path: /healthz - port: healthz + port: 29652 initialDelaySeconds: 30 timeoutSeconds: 10 periodSeconds: 30 diff --git a/deploy/csi-nfs-node.yaml b/deploy/csi-nfs-node.yaml index 48c67517..bcdc2999 100644 --- a/deploy/csi-nfs-node.yaml +++ b/deploy/csi-nfs-node.yaml @@ -34,7 +34,7 @@ spec: args: - --csi-address=/csi/csi.sock - --probe-timeout=3s - - --health-port=29653 + - --http-endpoint=localhost:29653 - --v=2 volumeMounts: - name: socket-dir @@ -95,15 +95,12 @@ spec: fieldPath: spec.nodeName - name: CSI_ENDPOINT value: unix:///csi/csi.sock - ports: - - containerPort: 29653 - name: healthz - protocol: TCP livenessProbe: failureThreshold: 5 httpGet: + host: localhost path: /healthz - port: healthz + port: 29653 initialDelaySeconds: 30 timeoutSeconds: 10 periodSeconds: 30 diff --git a/deploy/v4.6.0/csi-nfs-controller.yaml b/deploy/v4.6.0/csi-nfs-controller.yaml index 74948751..16ba3600 100644 --- a/deploy/v4.6.0/csi-nfs-controller.yaml +++ b/deploy/v4.6.0/csi-nfs-controller.yaml @@ -81,7 +81,7 @@ spec: args: - --csi-address=/csi/csi.sock - --probe-timeout=3s - - --health-port=29652 + - --http-endpoint=localhost:29652 - --v=2 volumeMounts: - name: socket-dir @@ -111,15 +111,12 @@ spec: fieldPath: spec.nodeName - name: CSI_ENDPOINT value: unix:///csi/csi.sock - ports: - - containerPort: 29652 - name: healthz - protocol: TCP livenessProbe: failureThreshold: 5 httpGet: + host: localhost path: /healthz - port: healthz + port: 29652 initialDelaySeconds: 30 timeoutSeconds: 10 periodSeconds: 30 diff --git a/deploy/v4.6.0/csi-nfs-node.yaml b/deploy/v4.6.0/csi-nfs-node.yaml index d3982b5e..63b00809 100644 --- a/deploy/v4.6.0/csi-nfs-node.yaml +++ b/deploy/v4.6.0/csi-nfs-node.yaml @@ -34,7 +34,7 @@ spec: args: - --csi-address=/csi/csi.sock - --probe-timeout=3s - - --health-port=29653 + - --http-endpoint=localhost:29653 - --v=2 volumeMounts: - name: socket-dir @@ -95,15 +95,12 @@ spec: fieldPath: spec.nodeName - name: CSI_ENDPOINT value: unix:///csi/csi.sock - ports: - - containerPort: 29653 - name: healthz - protocol: TCP livenessProbe: failureThreshold: 5 httpGet: + host: localhost path: /healthz - port: healthz + port: 29653 initialDelaySeconds: 30 timeoutSeconds: 10 periodSeconds: 30