v2.17.0
版本发布时间: 2021-09-17 22:31:30
kubernetes-sigs/kubespray最新发布版本:v2.23.1(2023-11-07 01:10:20)
Announcements
We are looking for maintainers, reach out in #5432.
Deprecation / Removal
- Drop support for Fedora 32 (#7657)
Major changes
- Add support for Fedora 34 (#7657)
- Add Debian 11 (bullseye) support (#7853)
- Enable Graceful Node Shutdown for Kubernetes >= 1.21.0 (#7746)
- Move to Ansible 3.x by default (#7672) (see Notes 1)
- Set selinux type t_etc if selinux state is enforcing (#7791)
- Add Infomaniak to compatible public clouds list (#7910)
- During pre-upgrade add a flag to always cordon (#7892) (see Notes 2)
- Update Terraform 0.15 to tf validated and tested versions (#7927)
- Feature DynamicKubeletConfig is deprecated in 1.22 and will not move to GA (#7938) (see Notes 5)
- Inventory builder can now add IP to inventory (#7583) (see Notes 6)
- Add a new option
kubeadm_upgrade_auto_cert_renewal
to control certificates renewal during control plane upgrade (#7976)
Applications
- [Openstack] Openstack cloud config: store cloud.conf and API CA cert in k8s secret and avoid writing them to disk (#7603)
- [vSphere] vSphere credentials can now be passed as environment variables (#7646)
- [vSphere] Update vSphere CPI ClusterRole according to the latest official CPI manifests (#7838)
- [vSphere] Add suport of Vsphere CSI driver 2.2.X versions (#7848)
- [Cinder] Add cinder_csi_ignore_volume_az (#7624)
- [Cinder] Added support for application credentials for cinder-csi (#7799)
- [Cinder] Added support for sourcing application credentials from environment variables (#7799)
- [MetalLB] Update to v0.10.2 (#7925)
- [MetalLB] Update default variable: keep nodeSelector in one place (#7931)
- [CSI] Update CSI snapshotter and allow enabling it stand-alone (#7943)
- [nginx-ingress] Bump to 1.0.0 to support kube 1.22 (#7942) (see Notes 3) (see Notes 4)
- [UpCloud] Updated terraform script to use private network and dynamic additional disks (#7779)
Container managers
- [Kata-container] Replace deprecated 1.x version of Kata containers with the new 2.x (#7670)
- [gVisor] Add initial support for gVisor container runtime (#7661)
- [CRI-O] Allow cri-o offline install (#7777)
- [CRI-O] Add cri-o to support secure/insecure registry authentication (#7837)
- [Containerd] Enable containerd on Fedora CoreOS (#7794)
- [Containerd] Add containerd on Flatcar Container Linux (#7681)
- [Containerd] Add containerd secure/insecure registry authentication support (#7868)
Network
- [Calico] Add support for Calico 3.19.1 (#7630)
- [Calico] Add retries to 'Set label for route reflector' task (#7645)
- [Calico] Support enabling the eBPF dataplane for Calico (#7618)
- [Calico] Add Wireguard support (#7638)
- [Calico] Use
--allow-version-mismatch
in calicoctl.sh to allow upgrades (#7873) - [Calico] kube_service_addresses_ipv6 is now added to serviceClusterIPs if
enable_dual_stack_networks
is true (#7944) - [Cilium] Add cilium_operator_api_serve_addr to cilium operator config (#7901)
Other note worthy changes
- Add nodeSelector for other services and node labels before CNI setup (#7613)
- Allow deployers to limit the interface on which nodelocaldns exposes its prometheus listening port (#7748)
- Ubuntu changed package name python-apt to python3-apt (#7769)
- Retry to fetch binary if it fails first time (#7839)
- Remove environment variable in remove-node play (#7729)
- addons/cert_manager: Retries until webhook pods has been created (#7850)
- Add
tags: always
to all included service playbook (#7906) - Use
--no-cache-dir
flag to pip in dockerfiles to save space (#7898)
Component versions:
- Kubernetes v1.21.5
- Etcd 3.4.13
- Docker 20.10
- Containerd 1.4.9
- CRI-O 1.21
- CNI-plugins v0.9.1
- Calico v3.19.2
- Cilium 1.9.10
- Flannel 0.14.0
- Kube-ovn 1.7.2
- Kube-Router 1.3.0
- Multus 3.7.2
- ovn4nfv v1.1.0
- Weave 2.8.1
- CoreDNS 1.8.0
- Nodelocaldns 1.17.1
- Helm 3.6.3
- ambassador: v1.5
- Nginx-ingress 1.0.0
- Cert-manager 1.0.4
- Kubernetes Dashboard v2.3.1
Known issues
- Ubuntu-16 won't work with default containerd version (1.4.9) as packages are not available, please use 1.4.6
Notes
- Users need to uninstall ansible 2.9 to be able to install on top ansible 3.x which was split between ansible-base and ansible-collections.
- Setting
roles/upgrade/pre-upgrade/defaults/main.yml:upgrade_node_always_cordon
totrue
causes a node to be drained before an upgrade and uncordoned after an upgrade even if the node is not cordoned when the upgrade begins. - Ingress-nginx: upgrade to 1.0.0 with stable ingress API, this version requires explicitly setting
kubernetes.io/ingress.class: nginx
on managed ingresses - ⚠️ nginx-ingress 1.0 does not support
networking.k8s.io/v1beta
- Flag
--dynamic-config-dir
has been deprecated, Feature DynamicKubeletConfig is deprecated in 1.22 and will not move to GA. It is planned to be removed from Kubernetes in the version 1.23. Please use alternative ways to update kubelet configuration. - The dynamic inventory builder will by default overwrite the inventory config. This was previously unintended behavior. In order to add new hosts into the already existing inventory config use the
add
command e.g.$ inventory.py add 10.0.1.8