Skip to content

Commit 6a05559

Browse files
author
Nirmalya Sen
committed
DX-15648: add imagePullPolicy attribute
Change-Id: I3eb55833c565ef0e7417369d3b8aa20d764f85c0
1 parent 646c767 commit 6a05559

4 files changed

Lines changed: 12 additions & 1 deletion

File tree

charts/dremio/templates/dremio-coordinator.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ spec:
2727
containers:
2828
- name: dremio-coordinator
2929
image: {{.Values.image}}
30+
imagePullPolicy: IfNotPresent
3031
resources:
3132
requests:
3233
memory: {{.Values.coordinator.memory}}M

charts/dremio/templates/dremio-executor.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ spec:
2727
containers:
2828
- name: dremio-executor
2929
image: {{.Values.image}}
30+
imagePullPolicy: IfNotPresent
3031
resources:
3132
requests:
3233
memory: {{.Values.executor.memory}}M
@@ -61,6 +62,7 @@ spec:
6162
# since we're mounting a separate volume, reset permission to dremio uid/gid
6263
- name: chown-data-directory
6364
image: {{.Values.image}}
65+
imagePullPolicy: IfNotPresent
6466
securityContext:
6567
runAsUser: 0
6668
volumeMounts:

charts/dremio/templates/dremio-master.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ spec:
3030
containers:
3131
- name: dremio-master-coordinator
3232
image: {{.Values.image}}
33+
imagePullPolicy: IfNotPresent
3334
resources:
3435
requests:
3536
memory: {{.Values.coordinator.memory}}M
@@ -69,6 +70,7 @@ spec:
6970
# since we're mounting a separate volume, reset permission to dremio uid/gid
7071
- name: chown-data-directory
7172
image: {{.Values.image}}
73+
imagePullPolicy: IfNotPresent
7274
securityContext:
7375
runAsUser: 0
7476
volumeMounts:
@@ -80,6 +82,7 @@ spec:
8082
- "/opt/dremio/data"
8183
- name: upgrade-task
8284
image: {{.Values.image}}
85+
imagePullPolicy: IfNotPresent
8386
volumeMounts:
8487
- name: dremio-master-volume
8588
mountPath: /opt/dremio/data

charts/dremio/values.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
image: dremio/dremio-oss
1+
# The image used to build the Dremio cluster. It is recommended to update the
2+
# version tag to the version that you are using. This will ensure that all
3+
# the pods are using the same version of the software.
4+
image: dremio/dremio-oss:latest
5+
26
# Check out Dremio documentation for memory and cpu requirements for
37
# the coordinators and the executors.
48
# The value of memory should be in MB. CPU is in no of cores.
@@ -18,6 +22,7 @@ executor:
1822
cpu: 4
1923
count: 1
2024
volumeSize: 20Gi
25+
2126
# If your Kubernetes cluster does not support LoadBalancer,
2227
# comment out the line below for the helm chart to succeed or add
2328
# the correct serviceType for your cluster.

0 commit comments

Comments
 (0)