sassoftware / viya4-iac-k8s

This project contains Terraform scripts to provision cloud infrastructure resources, when using vSphere, and Ansible to apply the needed elements of a Kubernetes cluster that are required to deploy SAS Viya platform product offerings.
Apache License 2.0
23 stars 15 forks source link

feat: (IAC-1189) Add Support for K8s 1.28 and Update Default CRI Version #100

Closed jarpat closed 6 months ago

jarpat commented 6 months ago

Changes

Updates the default kubelet, kubectl, and kubeadm versions to 1.27.9. The version of containerd was also updated to 1.6.26 to pull in fixes and improvements, this version is still compatible with K8s 1.24+ https://containerd.io/releases/#kubernetes-support

Release Notes

This note will be included in the release notes:

Updated the package repo we source the kube packages to now be pkgs.k8s.io It's important to note that this new package repo will only distribute binaries for K8s 1.24 and onwards.

From: https://kubernetes.io/blog/2023/08/31/legacy-package-repository-deprecation/

The legacy package repositories (apt.kubernetes.io and yum.kubernetes.io) have been deprecated and frozen starting from September 13, 2023. Using the new package repositories hosted at pkgs.k8s.io is strongly recommended and required in order to install Kubernetes versions released after September 13, 2023. The deprecated legacy repositories, and their contents, might be removed at any time in the future and without a further notice period. The new package repositories provide downloads for Kubernetes versions starting with v1.24.0.
...
The legacy packages are expected to go away in January 2024.

Tests

Scenario Provider kubectl version cluster_version cluster_cni cluster_cni_version cluster_cri cluster_cri_version METRICS_SERVER_CHART_VERSION Order Cadence
1 OSS 1.27.9 1.26.12 calico 3.27.0 containerd 1.6.26 3.11.0 * fast:2020
2 OSS 1.27.9 1.27.9 calico 3.27.0 containerd 1.6.26 3.11.0 * fast:2020
3 OSS 1.27.9 1.28.5 calico 3.27.0 containerd 1.6.26 3.11.0 * fast:2020