mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-08 04:32:37 +00:00
Increase disk size for kubernetes master.
Signed-off-by: Filip Grzadkowski <filipg@google.com>
This commit is contained in:
@@ -21,6 +21,8 @@ ZONE=${KUBE_GCE_ZONE:-us-central1-b}
|
||||
MASTER_SIZE=${MASTER_SIZE:-n1-standard-1}
|
||||
MINION_SIZE=${MINION_SIZE:-n1-standard-1}
|
||||
NUM_MINIONS=${NUM_MINIONS:-4}
|
||||
MASTER_DISK_TYPE=pd-standard
|
||||
MASTER_DISK_SIZE=${MASTER_DISK_SIZE:-100GB}
|
||||
MINION_DISK_TYPE=pd-standard
|
||||
MINION_DISK_SIZE=${MINION_DISK_SIZE:-100GB}
|
||||
|
||||
|
@@ -21,6 +21,8 @@ ZONE=${KUBE_GCE_ZONE:-us-central1-b}
|
||||
MASTER_SIZE=${MASTER_SIZE:-g1-small}
|
||||
MINION_SIZE=${MINION_SIZE:-g1-small}
|
||||
NUM_MINIONS=${NUM_MINIONS:-2}
|
||||
MASTER_DISK_TYPE=pd-standard
|
||||
MASTER_DISK_SIZE=${MASTER_DISK_SIZE:-100GB}
|
||||
MINION_DISK_TYPE=pd-standard
|
||||
MINION_DISK_SIZE=${MINION_DISK_SIZE:-100GB}
|
||||
|
||||
|
@@ -531,7 +531,8 @@ function kube-up {
|
||||
gcloud compute disks create "${MASTER_NAME}-pd" \
|
||||
--project "${PROJECT}" \
|
||||
--zone "${ZONE}" \
|
||||
--size "10GB"
|
||||
--type "${MASTER_DISK_TYPE}" \
|
||||
--size "${MASTER_DISK_SIZE}"
|
||||
|
||||
# Generate a bearer token for this cluster. We push this separately
|
||||
# from the other cluster variables so that the client (this
|
||||
|
Reference in New Issue
Block a user