File tree Expand file tree Collapse file tree 5 files changed +10
-2
lines changed Expand file tree Collapse file tree 5 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -63,6 +63,8 @@ e2e-bootstrap: install-helm
63
63
# Only build and push the image if it does not exist in the registry
64
64
docker pull $(IMAGE_TAG ) || make blob-container push
65
65
helm install blob-csi-driver ./charts/latest/blob-csi-driver --namespace kube-system --wait --timeout=15m -v=5 --debug \
66
+ --set controller.runOnMaster=true \
67
+ --set controller.replicas=1 \
66
68
$(E2E_HELM_OPTIONS )
67
69
68
70
.PHONY : install-helm
Original file line number Diff line number Diff line change @@ -61,7 +61,9 @@ The following table lists the configurable parameters of the latest Azure Blob S
61
61
| ` serviceAccount.create ` | whether create service account of csi-blob-controller | true |
62
62
| ` rbac.create ` | whether create rbac of csi-blob-controller | true |
63
63
| ` controller.replicas ` | the replicas of csi-blob-controller | 2 |
64
- | ` controller.metricsPort ` | metrics port of csi-blob-controller | 29634 |
64
+ | ` controller.metricsPort ` | metrics port of csi-blob-controller | 29634 |
65
+ | ` controller.runOnMaster ` | run controller on master node |
66
+ ` false ` |
65
67
| ` node.metricsPort ` | metrics port of csi-blob-node | 29635 |
66
68
67
69
## Troubleshooting
Original file line number Diff line number Diff line change 18
18
serviceAccountName : csi-blob-controller-sa
19
19
nodeSelector :
20
20
kubernetes.io/os : linux
21
+ {{- if .Values.controller.runOnMaster}}
22
+ kubernetes.io/role : master
23
+ {{- end}}
21
24
priorityClassName : system-cluster-critical
22
25
tolerations :
23
26
- key : " node-role.kubernetes.io/master"
Original file line number Diff line number Diff line change 25
25
controller :
26
26
metricsPort : 29634
27
27
replicas : 2
28
+ runOnMaster : false
28
29
29
30
node :
30
31
metricsPort : 29635
Original file line number Diff line number Diff line change 17
17
hostNetwork : true
18
18
serviceAccountName : csi-blob-controller-sa
19
19
nodeSelector :
20
- kubernetes.io/os : linux
20
+ kubernetes.io/os : linux # add "kubernetes.io/role: master" to run controller on master node
21
21
priorityClassName : system-cluster-critical
22
22
tolerations :
23
23
- key : " node-role.kubernetes.io/master"
You can’t perform that action at this time.
0 commit comments