mirror of https://github.com/k3s-io/k3s
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 @mikedanesepull/6/head
commit
04d6162e0f
|
@ -779,7 +779,7 @@ function create-nodes() {
|
|||
create "${group_name}" \
|
||||
--project "${PROJECT}" \
|
||||
--zone "${ZONE}" \
|
||||
--base-instance-name "${NODE_INSTANCE_PREFIX}" \
|
||||
--base-instance-name "${group_name}" \
|
||||
--size "${this_mig_size}" \
|
||||
--template "$template_name" || true;
|
||||
gcloud compute instance-groups managed wait-until-stable \
|
||||
|
|
Loading…
Reference in New Issue