Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[2.7] KDM Update for K8s 2022 September patch release #38828

Closed
mitulshah-suse opened this issue Sep 7, 2022 · 7 comments
Closed

[2.7] KDM Update for K8s 2022 September patch release #38828

mitulshah-suse opened this issue Sep 7, 2022 · 7 comments
Assignees
Labels
kind/enhancement Issues that improve or augment existing functionality priority/0 team/hostbusters The team that is responsible for provisioning/managing downstream clusters + K8s version support team/infracloud
Milestone

Comments

@mitulshah-suse
Copy link
Contributor

mitulshah-suse commented Sep 7, 2022

KDM Updates

TO BE RELEASED: Enabled with Rancher v2.7.0

New Kubernetes Version Min Rancher Version Min RKE Version
1.24.6-rancher1-1 2.6.7-patch0 1.3.13-rc0
1.23.12-rancher1-1 2.6.4-patch0 1.3.8-rc0
1.22.15-rancher1-1 2.6.3-patch0 1.3.3-rc0

Rancher System Images & Add-ons

Note: Please update system images and add-ons in the template as needed.

TBD

Developer Changelog

  • Add templates for new K8s versions. If a template that hasn't been released yet already exists, update it in place.
  • Update the default K8s version, and add or update the version information (MinRancherVersion and MinRKEVersion) in k8s_version_info.go for new K8s versions if needed (Use table from above).
  • Confirm versions for system images, add-on templates are correct using versioning reference table from below (expand details to view the table). Update the table if new versions are introduced.
  • Confirm add-on template version constraints in template.go are correct using versioning reference table from below (expand details to view the table). Update the table if needed.

Versioning Reference

Expand for system images & add-on templates versioning table

Note: Truncated repository names with a * indicates there are multiple images with that prefix. All repository names that match a truncated prefix should be checked for the same version stated in the table.
For example: rancher/weave-* matches weaveworks/weave-kube and weaveworks/weave-npc, and they should both have the same version.

v1.24.6-rancher1-1

Repository Tag
rancher/mirrored-coreos-etcd v3.5.4
rancher/hyperkube v1.24.6-rancher1
rancher/rke-tools v0.1.87
rancher/mirrored-k8s-dns-* 1.21.1
rancher/mirrored-cluster-proportional-autoscaler 1.8.5
rancher/mirrored-coreos-flannel v0.15.1
rancher/flannel-cni v0.3.0-rancher6
rancher/mirrored-calico-* v3.22.0
weaveworks/weave-* 2.8.1
noiro/* (All ACI images) 5.2.3.2.1d150da
rancher/mirrored-pause 3.6
rancher/nginx-ingress-controller nginx-1.2.1-rancher1
rancher/mirrored-nginx-ingress-controller-defaultbackend 1.5-rancher1
rancher/mirrored-jettech-kube-webhook-certgen v1.1.1
rancher/mirrored-metrics-server v0.6.1
rancher/mirrored-coredns-coredns 1.9.3
rancher/mirrored-cluster-proportional-autoscaler 1.8.5
rancher/kubelet-pause v0.1.6
rancher/mirrored-k8s-dns-node-cache 1.21.1
Add-on Name Add-on Template Version Constraint
Calico calicov319
Canal canalv319
Flannel flannelv115
CoreDNS coreDnsv183
KubeDNS kubeDnsv116
MetricsServer metricsServerv050
Weave weavev120
Aci aciv500
NginxIngress nginxIngressv110Rancher3
Nodelocal nodelocalv121

v1.23.12-rancher1-1

Repository Tag
rancher/mirrored-coreos-etcd v3.5.3
rancher/hyperkube v1.23.12-rancher1
rancher/rke-tools v0.1.87
rancher/mirrored-k8s-dns-* 1.21.1
rancher/mirrored-cluster-proportional-autoscaler 1.8.5
rancher/mirrored-coreos-flannel v0.15.1
rancher/flannel-cni v0.3.0-rancher6
rancher/mirrored-calico-* v3.22.0
weaveworks/weave-* 2.8.1
noiro/* (All ACI images) 5.2.3.2.1d150da
rancher/mirrored-pause 3.6
rancher/nginx-ingress-controller nginx-1.2.1-rancher1
rancher/mirrored-nginx-ingress-controller-defaultbackend 1.5-rancher1
rancher/mirrored-jettech-kube-webhook-certgen v1.1.1
rancher/mirrored-metrics-server v0.6.1
rancher/mirrored-coredns-coredns 1.9.0
rancher/mirrored-cluster-proportional-autoscaler 1.8.5
rancher/kubelet-pause v0.1.6
rancher/mirrored-k8s-dns-node-cache 1.21.1
Add-on Name Add-on Template Version Constraint
Calico calicov319
Canal canalv3211
Flannel flannelv0140
CoreDNS coreDnsv183
KubeDNS kubeDnsv116
MetricsServer metricsServerv050
Weave weavev120
Aci aciv500
NginxIngress nginxIngressv110Rancher3
Nodelocal nodelocalv121

v1.22.15-rancher1-1

Repository Tag
rancher/mirrored-coreos-etcd v3.5.3
rancher/hyperkube v1.22.15-rancher1
rancher/rke-tools v0.1.87
rancher/mirrored-k8s-dns-* 1.21.1
rancher/mirrored-cluster-proportional-autoscaler 1.8.5
rancher/mirrored-coreos-flannel v0.15.1
rancher/flannel-cni v0.3.0-rancher6
rancher/mirrored-calico-* v3.21.1
weaveworks/weave-* 2.8.1
noiro/* (All ACI images) 5.2.3.2.1d150da
rancher/mirrored-pause 3.6
rancher/nginx-ingress-controller nginx-1.2.1-rancher1
rancher/mirrored-nginx-ingress-controller-defaultbackend 1.5-rancher1
rancher/mirrored-jettech-kube-webhook-certgen v1.1.1
rancher/mirrored-metrics-server v0.5.1
rancher/mirrored-coredns-coredns 1.8.6
rancher/mirrored-cluster-proportional-autoscaler 1.8.3
rancher/kubelet-pause v0.1.6
rancher/mirrored-k8s-dns-node-cache 1.21.1
Add-on Name Add-on Template Version Constraint
Calico calicov319
Canal canalv3211
Flannel flannelv0140
CoreDNS coreDnsv183
KubeDNS kubeDnsv116
MetricsServer metricsServerv050
Weave weavev120
Aci aciv500
NginxIngress nginxIngressv110Rancher3
Nodelocal nodelocalv121
@rayandas
Copy link
Contributor

rayandas commented Sep 21, 2022

/backport v2.6.9

@rancherbot
Copy link
Collaborator

@rayandas, Not creating backport issue for issue 38828 in repository rancher because milestone v2.6 does not exist or is not an open milestone

@vivek-shilimkar
Copy link
Contributor

Fresh install checks blocked by this issue. #39188

@rishabhmsra
Copy link
Contributor

Verified on rancher v2.7-head(35388ea)

Upgrade checks - PASS

  • On rancher v2.6.8, KDM pointing to release-v2.6, cluster creation succeeds for v1.24.4-rancher1-1, v1.23.10-rancher1-1 and v1.22.13-rancher1-1 with all network provider.
  • Pre-upgrade checks look good.
  • Upgraded rancher from v2.6.8 to v2.7-head(35388ea), KDM pointing to dev-v2.7.
  • Post-upgrade checks look good.
  • Upgraded k8s version to v1.24.6-rancher1-1, v1.23.12-rancher1-1 and v1.22.15-rancher1-1.
  • Post upgrade checks look good.

Verified on dev-v2.7 and RKEDefaultK8sVersions is pointing to v1.24.6-rancher1-1

"RKEDefaultK8sVersions": {
  "0.3": "v1.16.3-rancher1-1",
  "default": "v1.24.6-rancher1-1"
 }

@vivek-shilimkar
Copy link
Contributor

#39188 issue is not reproducible on rancher v2.7-head(0de241c).

Fresh install checks passed.

Validations steps:

  1. On rancher version v2.7-head, KDM pointing to dev-v2.7, cluster creation succeeds for v1.24.6-rancher1-1, v1.23.12-rancher1-1 and v1.22.15-rancher1-1
  2. Network checks passed on all the clusters.
  3. Validations for canal checks also passed.

@sowmyav27
Copy link
Contributor

moving this to-test since this is fixed - #39188 and new RKE RC is tagged - v1.4.0-rc3

@rishabhmsra
Copy link
Contributor

RKE checks using v1.4.0-rc3 passed for k8s v1.24.6-rancher1-1, v1.23.12-rancher1-1 and v1.22.15-rancher1-1

All checks passed, hence closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement Issues that improve or augment existing functionality priority/0 team/hostbusters The team that is responsible for provisioning/managing downstream clusters + K8s version support team/infracloud
Projects
None yet
Development

No branches or pull requests

8 participants