karmada icon indicating copy to clipboard operation
karmada copied to clipboard

karmadactl are compatible with v1.24 master node label

Open calvin0327 opened this issue 2 years ago • 4 comments

Signed-off-by: calvin0327 [email protected]

What type of PR is this?

/kind feature

What this PR does / why we need it:

if the k8s cluster is v1.24, we can not use the previous label to select master node.

Which issue(s) this PR fixes: Fixes #

Special notes for your reviewer: please correct me if not.

Does this PR introduce a user-facing change?:

NONE

calvin0327 avatar Sep 11 '22 04:09 calvin0327

if the k8s cluster is v1.24, we can not use the previous label to select master node.

Why? Do you mean the label changed at v1.24? Can you show me the link to the release note?

RainbowMango avatar Sep 13 '22 01:09 RainbowMango

if the k8s cluster is v1.24, we can not use the previous label to select master node.

Why? Do you mean the label changed at v1.24? Can you show me the link to the release note?

https://kubernetes.io/blog/2022/04/07/upcoming-changes-in-kubernetes-1-24/#api-removals-deprecations-and-other-changes-for-kubernetes-1-24 https://github.com/kubernetes/enhancements/tree/master/keps/sig-cluster-lifecycle/kubeadm/2067-rename-master-label-taint#summary

chaunceyjiang avatar Sep 13 '22 02:09 chaunceyjiang

@RainbowMango right, In v1.24, the master node replace label node-role.kubernetes.io/master with node-role.kubernetes.io/master. @chaunceyjiang thanks.

calvin0327 avatar Sep 13 '22 02:09 calvin0327

Hi @calvin0327 , It is important improvement. Please rebase this pr, the code base has been changed despite no conflicts. I will review it.

/assign

lonelyCZ avatar Oct 17 '22 12:10 lonelyCZ

Sorry, it seems I missed this :( I put this to milstone v1.4, then we won't forget it.

RainbowMango avatar Oct 17 '22 12:10 RainbowMango

@lonelyCZ thanks, Done

calvin0327 avatar Oct 18 '22 03:10 calvin0327

Avoid to block the function, merging it firstly.

/lgtm

/assign @RainbowMango

lonelyCZ avatar Oct 31 '22 08:10 lonelyCZ

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: RainbowMango

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment Approvers can cancel approval by writing /approve cancel in a comment

karmada-bot avatar Oct 31 '22 09:10 karmada-bot