Skip to content

Commit e2bc26b

Browse files
authored
Merge pull request #281 from andyzhangx/replica-one
chore: set replica of controller as 1 by default
2 parents 56f1dfc + 695f8c8 commit e2bc26b

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

charts/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
### Tips
77
- make controller only run on master node: `--set controller.runOnMaster=true`
8-
- set replica of controller as `1`: `--set controller.replicas=1`
8+
- set replica of controller as `2`: `--set controller.replicas=2`
99

1010
### install a specific version
1111
```console
@@ -55,7 +55,7 @@ The following table lists the configurable parameters of the latest NFS CSI Driv
5555
| `imagePullSecrets` | Specify docker-registry secret names as an array | [] (does not add image pull secrets to deployed pods) |
5656
| `serviceAccount.create` | whether create service account of csi-nfs-controller | `true` |
5757
| `rbac.create` | whether create rbac of csi-nfs-controller | `true` |
58-
| `controller.replicas` | the replicas of csi-nfs-controller | `2` |
58+
| `controller.replicas` | replica number of csi-nfs-controller | `1` |
5959
| `controller.runOnMaster` | run controller on master node | `false` |
6060
| `controller.logLevel` | controller driver log level |`5` |
6161
| `controller.workingMountDir` | working directory for provisioner to mount nfs shares temporarily | `/tmp` |
0 Bytes
Binary file not shown.

charts/latest/csi-driver-nfs/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ feature:
3434

3535
controller:
3636
name: csi-nfs-controller
37-
replicas: 2
37+
replicas: 1
3838
runOnMaster: false
3939
livenessProbe:
4040
healthPort: 29652

deploy/csi-nfs-controller.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
name: csi-nfs-controller
66
namespace: kube-system
77
spec:
8-
replicas: 2
8+
replicas: 1
99
selector:
1010
matchLabels:
1111
app: csi-nfs-controller

0 commit comments

Comments
 (0)