Skip to content

Commit

Permalink
update spark application with config/naming changes (#304)
Browse files Browse the repository at this point in the history
  • Loading branch information
adwk67 authored Nov 2, 2023
1 parent cd391eb commit a6efaa5
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 26 deletions.
28 changes: 15 additions & 13 deletions docs/modules/spark-k8s/examples/getting_started/getting_started.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,20 +63,22 @@ spec:
mode: cluster
mainApplicationFile: local:///stackable/spark/examples/src/main/python/pi.py
driver:
resources:
cpu:
min: "1"
max: "1200m"
memory:
limit: "1Gi"
config:
resources:
cpu:
min: "1"
max: "2"
memory:
limit: "1Gi"
executor:
instances: 3
resources:
cpu:
min: "1"
max: "1200m"
memory:
limit: "1Gi"
replicas: 1
config:
resources:
cpu:
min: "1"
max: "2"
memory:
limit: "1Gi"
EOF
# end::install-sparkapp[]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,20 +63,22 @@ spec:
mode: cluster
mainApplicationFile: local:///stackable/spark/examples/src/main/python/pi.py
driver:
resources:
cpu:
min: "1"
max: "2"
memory:
limit: "1Gi"
config:
resources:
cpu:
min: "1"
max: "2"
memory:
limit: "1Gi"
executor:
instances: 1
resources:
cpu:
min: "1"
max: "2"
memory:
limit: "1Gi"
replicas: 1
config:
resources:
cpu:
min: "1"
max: "2"
memory:
limit: "1Gi"
EOF
# end::install-sparkapp[]

Expand Down

0 comments on commit a6efaa5

Please sign in to comment.