mirror of https://github.com/kubernetes/kops.git
kubetest2 - Specify GCE network name
Kops defaults to a network named "default" and has issues with network modes. Apparently there is a "default" network within the projects that boskos issues, causing `kops create cluster` to fail some cloudup validation. By specifying a cluster-specific network, kops will create this new network with the non-deprecated settings.
This commit is contained in:
parent
42fbb1c1c5
commit
ac27e2edcd
|
|
@ -118,6 +118,7 @@ func (d *deployer) createCluster(zones []string, adminAccess string) error {
|
|||
if d.GCPProject != "" {
|
||||
args = appendIfUnset(args, "--project", d.GCPProject)
|
||||
}
|
||||
args = appendIfUnset(args, "--vpc", strings.Split(d.ClusterName, ".")[0])
|
||||
case "digitalocean":
|
||||
args = appendIfUnset(args, "--master-size", "s-8vcpu-16gb")
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue