1
0
Fork 0
llvm-premerge-checks/kubernetes/disk_create.sh
2019-10-04 10:26:20 +02:00

14 lines
No EOL
338 B
Bash
Executable file

#!/bin/bash
set -eux
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
ROOT_DIR="$(dirname ${DIR})"
# get config options
source "${ROOT_DIR}/k8s_config"
gcloud compute disks create jenkins-home \
--description="storage for jenkins master" \
--size=200GB \
--type=pd-standard \
--zone=${GCP_ZONE} \