summaryrefslogtreecommitdiff
path: root/scripts/02-dataproc-create-cluster.sh
blob: 10c7d0c97bb86586608f067348ea5089b855d601 (plain)
1
2
3
4
5
6
7
8
9
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