summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/02-dataproc-create-cluster.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/02-dataproc-create-cluster.sh b/scripts/02-dataproc-create-cluster.sh
index 10c7d0c..1fee8b7 100755
--- a/scripts/02-dataproc-create-cluster.sh
+++ b/scripts/02-dataproc-create-cluster.sh
@@ -4,7 +4,8 @@ gcloud dataproc clusters create ${CLUSTER} \
--project=${PROJECT} \
--region=${REGION} \
--service-account=${SERVICE_ACCOUNT}@${PROJECT}.iam.gserviceaccount.com \
+ --num-workers 2 \
--master-boot-disk-size 240 \
--worker-boot-disk-size 240 \
- --num-workers 1 \
- --single-node
+ --worker-machine-type n1-standard-2 \
+ --master-machine-type n1-standard-2