Get the App
SLTechnology News&Howtos  ›  Servers  › 

What is the knowledge of kubernetes version?

Shulou Source: shulou.com Published: 2022-06-01 06:46:21 10月30日 Update

This article shows you what the knowledge of the kubernetes version is, which is concise and easy to understand, which will definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.

I. version format

The format of the Kubernetes version number is x.y.z, where x is the major version, y is the minor version, and z is the patch version.

The Kubernetes project maintains the last three minor release branches. (small versions are released about every 3 months, so each small version branch is maintained for 9 months.)

Second, the degree of inclination and tolerance of the version

Kube-apiserver

In a high availability (HA) cluster, the difference between the minor version numbers of multiple kube-apiserver instances is up to 1.

Kubelet

The kubelet version number cannot be higher than kube-apiserver and can be up to two minor versions lower than kube-apiserver.

Note: if the version numbers of multiple kube-apiserver instances in the HA cluster are not the same, the optional range of kubelet version numbers should also be reduced.

Kube-controller-manager, kube-scheduler and cloud-controller-manager

Cannot be higher than the kube-apiserver version number. It's best to keep their version numbers the same as kube-apiserver, but allow a smaller version than kube-apiserver.

Kubectl

Kubectl can be a small version higher or a smaller version lower than kube-apiserver.

III. Upgrade order of components

Kube-apiserver > kube-controller-manager, kube-scheduler and cloud-controller-manager > kubelet

Note:

Kube-apiserver cannot be upgraded across minor version numbers, even in a single instance cluster.

In a HA cluster, all kube-apiserver instances must be upgraded before the components are upgraded, that is, kube-apiserver should be upgraded first.

What is the knowledge of the kubernetes version mentioned above? have you learned any knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.

Tags: Versions upgrades knowledge instances clusters consistency content multiple skills formats components concise concise three two branches that is clubs articles more Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Docker Shulou Technology NVidia Microsoft Huawei