Skip to content

Commit

Permalink
[Jupyter] Default spark driver memory to 2GB [integ_3.5]
Browse files Browse the repository at this point in the history
Backport of v3io#1017 / cb6b362.
  • Loading branch information
gtopper committed Apr 10, 2024
1 parent 2ebc455 commit b1d32b9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion stable/jupyter/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: 0.13.40
version: 0.13.41
apiVersion: v1
appVersion: 3.4.8
name: jupyter
Expand Down
1 change: 1 addition & 0 deletions stable/jupyter/templates/jupyter-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ data:
cat << EOF >> ${SPARK_HOME}/conf/spark-defaults.conf
spark.master=spark://{{ .Values.spark.hostname }}:{{ .Values.spark.port }}
spark.driver.host=$(hostname -i)
spark.driver.memory={{ .Values.spark.driverMemory }}
spark.executor.cores={{ .Values.spark.executorCores }}
spark.executor.memory={{ .Values.spark.executorMemory }}
spark.cores.max={{ .Values.spark.maxApplicationCores }}
Expand Down
1 change: 1 addition & 0 deletions stable/jupyter/values.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
spark:
hostname: spark-master
port: 7077
driverMemory: 2G
executorCores: 1
executorMemory: 2G
maxApplicationCores: 4
Expand Down

0 comments on commit b1d32b9

Please sign in to comment.