Skip to content

Commit 92ee85d

Browse files
author
user
committed
Updated Spark deployment config
1 parent 44a411e commit 92ee85d

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

quickstart/stackable-quickstart.sh

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -247,44 +247,44 @@ EOF
247247
function deploy_spark {
248248
echo Deploying Apache Spark
249249
kubectl apply -f - <<EOF
250-
apiVersion: spark.stackable.tech/v1
250+
apiVersion: spark.stackable.tech/v1alpha1
251251
kind: SparkCluster
252252
metadata:
253253
name: simple
254254
spec:
255255
version: "3.0.1"
256+
config:
257+
logDir: "file:///tmp"
258+
enableMonitoring: true
256259
masters:
257-
selectors:
260+
roleGroups:
258261
default:
259262
selector:
260263
matchLabels:
261264
kubernetes.io/hostname: ${K8S_HOSTNAME}
262-
instances: 1
263-
instancesPerNode: 1
265+
replicas: 1
264266
config:
265267
masterPort: 7078
266268
masterWebUiPort: 8081
267269
workers:
268-
selectors:
270+
roleGroups:
269271
2core2g:
270272
selector:
271273
matchLabels:
272274
kubernetes.io/hostname: ${K8S_HOSTNAME}
273-
instances: 1
274-
instancesPerNode: 1
275+
replicas: 1
275276
config:
276277
cores: 2
277278
memory: "2g"
278279
workerPort: 3031
279280
workerWebUiPort: 8083
280281
historyServers:
281-
selectors:
282+
roleGroups:
282283
default:
283284
selector:
284285
matchLabels:
285286
kubernetes.io/hostname: ${K8S_HOSTNAME}
286-
instances: 1
287-
instancesPerNode: 1
287+
replicas: 1
288288
config:
289289
historyWebUiPort: 18081
290290
EOF

0 commit comments

Comments
 (0)