diff --git a/docs/modules/spark-k8s/examples/getting_started/getting_started.sh b/docs/modules/spark-k8s/examples/getting_started/getting_started.sh index 196c0794..3f9c016c 100755 --- a/docs/modules/spark-k8s/examples/getting_started/getting_started.sh +++ b/docs/modules/spark-k8s/examples/getting_started/getting_started.sh @@ -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[] diff --git a/docs/modules/spark-k8s/examples/getting_started/getting_started.sh.j2 b/docs/modules/spark-k8s/examples/getting_started/getting_started.sh.j2 index 90699d20..f16109ab 100755 --- a/docs/modules/spark-k8s/examples/getting_started/getting_started.sh.j2 +++ b/docs/modules/spark-k8s/examples/getting_started/getting_started.sh.j2 @@ -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[]