File tree Expand file tree Collapse file tree 2 files changed +30
-26
lines changed
docs/modules/spark-k8s/examples/getting_started Expand file tree Collapse file tree 2 files changed +30
-26
lines changed Original file line number Diff line number Diff line change @@ -63,20 +63,22 @@ spec:
63
63
mode: cluster
64
64
mainApplicationFile: local:///stackable/spark/examples/src/main/python/pi.py
65
65
driver:
66
- resources:
67
- cpu:
68
- min: "1"
69
- max: "1200m"
70
- memory:
71
- limit: "1Gi"
66
+ config:
67
+ resources:
68
+ cpu:
69
+ min: "1"
70
+ max: "2"
71
+ memory:
72
+ limit: "1Gi"
72
73
executor:
73
- instances: 3
74
- resources:
75
- cpu:
76
- min: "1"
77
- max: "1200m"
78
- memory:
79
- limit: "1Gi"
74
+ replicas: 1
75
+ config:
76
+ resources:
77
+ cpu:
78
+ min: "1"
79
+ max: "2"
80
+ memory:
81
+ limit: "1Gi"
80
82
EOF
81
83
# end::install-sparkapp[]
82
84
Original file line number Diff line number Diff line change @@ -63,20 +63,22 @@ spec:
63
63
mode: cluster
64
64
mainApplicationFile: local:///stackable/spark/examples/src/main/python/pi.py
65
65
driver:
66
- resources:
67
- cpu:
68
- min: "1"
69
- max: "2"
70
- memory:
71
- limit: "1Gi"
66
+ config:
67
+ resources:
68
+ cpu:
69
+ min: "1"
70
+ max: "2"
71
+ memory:
72
+ limit: "1Gi"
72
73
executor:
73
- instances: 1
74
- resources:
75
- cpu:
76
- min: "1"
77
- max: "2"
78
- memory:
79
- limit: "1Gi"
74
+ replicas: 1
75
+ config:
76
+ resources:
77
+ cpu:
78
+ min: "1"
79
+ max: "2"
80
+ memory:
81
+ limit: "1Gi"
80
82
EOF
81
83
# end::install-sparkapp[]
82
84
You can’t perform that action at this time.
0 commit comments