Commit 04d6162e authored by k8s-merge-robot's avatar k8s-merge-robot

Merge pull request #26071 from gmarek/kube-up

Automatic merge from submit-queue Make node-instance-group base names unique to prevent collisions We create multiple IGMs for >1000 Node clusters. When we have a conflict on base name IGMs will fight over ownership of the VM that happen to have the name belonging to multiple IGMs. This change will increase reliability of starting big clusters. cc @wojtek-t @alex-mohr @roberthbailey @mikedanese
parents 01e79b88 7b629a77
...@@ -779,7 +779,7 @@ function create-nodes() { ...@@ -779,7 +779,7 @@ function create-nodes() {
create "${group_name}" \ create "${group_name}" \
--project "${PROJECT}" \ --project "${PROJECT}" \
--zone "${ZONE}" \ --zone "${ZONE}" \
--base-instance-name "${NODE_INSTANCE_PREFIX}" \ --base-instance-name "${group_name}" \
--size "${this_mig_size}" \ --size "${this_mig_size}" \
--template "$template_name" || true; --template "$template_name" || true;
gcloud compute instance-groups managed wait-until-stable \ gcloud compute instance-groups managed wait-until-stable \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment