Skip to content

Commit

Permalink
DX-15648: add imagePullPolicy attribute
Browse files Browse the repository at this point in the history
Change-Id: I3eb55833c565ef0e7417369d3b8aa20d764f85c0
  • Loading branch information
Nirmalya Sen committed Mar 25, 2019
1 parent 646c767 commit 6a05559
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 1 deletion.
1 change: 1 addition & 0 deletions charts/dremio/templates/dremio-coordinator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ spec:
containers:
- name: dremio-coordinator
image: {{.Values.image}}
imagePullPolicy: IfNotPresent
resources:
requests:
memory: {{.Values.coordinator.memory}}M
Expand Down
2 changes: 2 additions & 0 deletions charts/dremio/templates/dremio-executor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ spec:
containers:
- name: dremio-executor
image: {{.Values.image}}
imagePullPolicy: IfNotPresent
resources:
requests:
memory: {{.Values.executor.memory}}M
Expand Down Expand Up @@ -61,6 +62,7 @@ spec:
# since we're mounting a separate volume, reset permission to dremio uid/gid
- name: chown-data-directory
image: {{.Values.image}}
imagePullPolicy: IfNotPresent
securityContext:
runAsUser: 0
volumeMounts:
Expand Down
3 changes: 3 additions & 0 deletions charts/dremio/templates/dremio-master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ spec:
containers:
- name: dremio-master-coordinator
image: {{.Values.image}}
imagePullPolicy: IfNotPresent
resources:
requests:
memory: {{.Values.coordinator.memory}}M
Expand Down Expand Up @@ -69,6 +70,7 @@ spec:
# since we're mounting a separate volume, reset permission to dremio uid/gid
- name: chown-data-directory
image: {{.Values.image}}
imagePullPolicy: IfNotPresent
securityContext:
runAsUser: 0
volumeMounts:
Expand All @@ -80,6 +82,7 @@ spec:
- "/opt/dremio/data"
- name: upgrade-task
image: {{.Values.image}}
imagePullPolicy: IfNotPresent
volumeMounts:
- name: dremio-master-volume
mountPath: /opt/dremio/data
Expand Down
7 changes: 6 additions & 1 deletion charts/dremio/values.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
image: dremio/dremio-oss
# The image used to build the Dremio cluster. It is recommended to update the
# version tag to the version that you are using. This will ensure that all
# the pods are using the same version of the software.
image: dremio/dremio-oss:latest

# Check out Dremio documentation for memory and cpu requirements for
# the coordinators and the executors.
# The value of memory should be in MB. CPU is in no of cores.
Expand All @@ -18,6 +22,7 @@ executor:
cpu: 4
count: 1
volumeSize: 20Gi

# If your Kubernetes cluster does not support LoadBalancer,
# comment out the line below for the helm chart to succeed or add
# the correct serviceType for your cluster.
Expand Down

0 comments on commit 6a05559

Please sign in to comment.