Closed alexarefev closed 5 months ago
Since Kubetools supports several versions of Kubernetes we should process both the old and the new labels for a while. The idea is to check Kubernetes version and process the label that is applicable for the Kubernetes version. The code changes should be reviewed when Kubetools stops supporting Kubernetes version 1.23.
It was partly implemented in [MANOPD-75208] 'master' role replacement by 'control-plane' role
There are warning messages in dump/degug.log:
It is related to Replace taint master with control-plane. In other words,
node-role.kubernetes.io/master
label will be replaced withnode-role.kubernetes.io/control-plane
label in Kubernetes v1.24There are several files related to the label in Kubetools:
It should be decided how to deal with the new label.