feat: support maxUnavailable config in helm chart

This commit is contained in:
andyzhangx 2021-08-13 13:01:44 +00:00
parent a2db59f678
commit bfb5f3878a
5 changed files with 10 additions and 0 deletions

View File

@ -64,6 +64,7 @@ The following table lists the configurable parameters of the latest NFS CSI Driv
| `controller.runOnMaster` | run controller on master node | `false` | | `controller.runOnMaster` | run controller on master node | `false` |
| `controller.logLevel` | controller driver log level |`5` | | `controller.logLevel` | controller driver log level |`5` |
| `controller.tolerations` | controller pod tolerations | | | `controller.tolerations` | controller pod tolerations | |
| `node.maxUnavailable` | `maxUnavailable` value of driver node daemonset | `1`
| `node.logLevel` | node driver log level |`5` | | `node.logLevel` | node driver log level |`5` |
| `node.livenessProbe.healthPort ` | the health check port for liveness probe |`29653` | | `node.livenessProbe.healthPort ` | the health check port for liveness probe |`29653` |
| `node.tolerations` | node pod tolerations | | | `node.tolerations` | node pod tolerations | |

View File

@ -7,6 +7,10 @@ metadata:
namespace: {{ .Release.Namespace }} namespace: {{ .Release.Namespace }}
{{ include "nfs.labels" . | indent 2 }} {{ include "nfs.labels" . | indent 2 }}
spec: spec:
updateStrategy:
rollingUpdate:
maxUnavailable: {{ .Values.node.maxUnavailable }}
type: RollingUpdate
selector: selector:
matchLabels: matchLabels:
app: {{ .Values.node.name }} app: {{ .Values.node.name }}

View File

@ -41,6 +41,7 @@ controller:
node: node:
name: csi-nfs-node name: csi-nfs-node
maxUnavailable: 1
logLevel: 5 logLevel: 5
livenessProbe: livenessProbe:
healthPort: 29653 healthPort: 29653

View File

@ -7,6 +7,10 @@ metadata:
name: csi-nfs-node name: csi-nfs-node
namespace: kube-system namespace: kube-system
spec: spec:
updateStrategy:
rollingUpdate:
maxUnavailable: 1
type: RollingUpdate
selector: selector:
matchLabels: matchLabels:
app: csi-nfs-node app: csi-nfs-node