diff options
Diffstat (limited to 'scripts/02-dataproc-create-cluster.sh')
-rwxr-xr-x | scripts/02-dataproc-create-cluster.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/02-dataproc-create-cluster.sh b/scripts/02-dataproc-create-cluster.sh new file mode 100755 index 0000000..10c7d0c --- /dev/null +++ b/scripts/02-dataproc-create-cluster.sh @@ -0,0 +1,10 @@ +#!/bin/sh + +gcloud dataproc clusters create ${CLUSTER} \ + --project=${PROJECT} \ + --region=${REGION} \ + --service-account=${SERVICE_ACCOUNT}@${PROJECT}.iam.gserviceaccount.com \ + --master-boot-disk-size 240 \ + --worker-boot-disk-size 240 \ + --num-workers 1 \ + --single-node |