mirror of https://github.com/kubernetes/kops.git
Merge pull request #10554 from geojaz/update_gce_images
Updates GCE channels to use ubuntu over COS
This commit is contained in:
commit
225e5ef178
|
@ -53,6 +53,10 @@ spec:
|
|||
- providerID: gce
|
||||
kubernetesVersion: ">=1.16.0-alpha.1"
|
||||
name: "cos-cloud/cos-stable-77-12371-114-0"
|
||||
# Note: Updated from cos to ubuntu for parity with aws.
|
||||
- providerID: gce
|
||||
kubernetesVersion: ">=1.17.0"
|
||||
name: "ubuntu-os-cloud/ubuntu-2004-focal-v20210108"
|
||||
cluster:
|
||||
kubernetesVersion: v1.5.8
|
||||
networking:
|
||||
|
|
|
@ -53,6 +53,10 @@ spec:
|
|||
- providerID: gce
|
||||
kubernetesVersion: ">=1.16.0-alpha.1"
|
||||
name: "cos-cloud/cos-stable-77-12371-114-0"
|
||||
# Note: Updated from cos to ubuntu for parity with aws.
|
||||
- providerID: gce
|
||||
kubernetesVersion: ">=1.17.0"
|
||||
name: "ubuntu-os-cloud/ubuntu-2004-focal-v20210108"
|
||||
cluster:
|
||||
kubernetesVersion: v1.5.8
|
||||
networking:
|
||||
|
|
|
@ -10,6 +10,8 @@
|
|||
|
||||
* Following kubeadm, control plane nodes are now labelled with `node-role.kubernetes.io/control-plane=""`
|
||||
|
||||
* Default node image for GCE changed from COS to Ubuntu for K8s versions >= 1.17.0. This is to more closely align with the AWS implementation (the most mature support) and because COS limits the ability to modify files on its disk.
|
||||
|
||||
# Breaking changes
|
||||
|
||||
* Support for Kubernetes 1.11 and 1.12 has been removed.
|
||||
|
|
|
@ -328,5 +328,6 @@ func RecommendedKubernetesVersion(c *Channel, kopsVersionString string) *semver.
|
|||
func (c *Channel) HasUpstreamImagePrefix(image string) bool {
|
||||
return strings.HasPrefix(image, "kope.io/k8s-") ||
|
||||
strings.HasPrefix(image, "099720109477/ubuntu/images/hvm-ssd/ubuntu-focal-20.04-amd64-server-") ||
|
||||
strings.HasPrefix(image, "cos-cloud/cos-stable-")
|
||||
strings.HasPrefix(image, "cos-cloud/cos-stable-") ||
|
||||
strings.HasPrefix(image, "ubuntu-os-cloud/ubuntu-")
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue