File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ metadata:
44 name : dremio-master
55spec :
66 serviceName : " dremio-cluster-pod"
7- replicas : {{.Values.coordinator.master_count}}
7+ replicas : 1
88 selector :
99 matchLabels :
1010 app : dremio-coordinator
6464 - containerPort : 45678
6565 name : server
6666 initContainers :
67+ - name : start-only-one-master
68+ image : busybox
69+ command : ["sh", "-c", "INDEX=${HOSTNAME##*-}; if [ $INDEX -ne 0 ]; then echo Only one master should be running.; exit 1; fi; "]
6770 - name : wait-for-zk
6871 image : busybox
6972 command : ["sh", "-c", "until ping -c 1 -W 1 zk-hs > /dev/null; do echo waiting for zookeeper host; sleep 2; done;"]
Original file line number Diff line number Diff line change @@ -9,19 +9,20 @@ image: dremio/dremio-oss:latest
99coordinator :
1010 memory : 16384
1111 cpu : 8
12+ # This count is for slave coordinators only.
13+ # The chart will always create one master coordinator - you are
14+ # not required to have more than one master coordinator.
1215 count : 0
13- # This value should NOT be set to more than 1.
14- master_count : 1
1516 web :
1617 port : 9047
1718 client :
1819 port : 31010
19- volumeSize : 20Gi
20+ volumeSize : 100Gi
2021executor :
2122 memory : 16384
2223 cpu : 4
23- count : 1
24- volumeSize : 20Gi
24+ count : 3
25+ volumeSize : 100Gi
2526
2627# If your Kubernetes cluster does not support LoadBalancer,
2728# comment out the line below for the helm chart to succeed or add
You can’t perform that action at this time.
0 commit comments