Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[occm] Deprecate "DeprecatedLabelNodeRoleMaster" #2750

Open
jonatasbaldin opened this issue Dec 13, 2024 · 0 comments
Open

[occm] Deprecate "DeprecatedLabelNodeRoleMaster" #2750

jonatasbaldin opened this issue Dec 13, 2024 · 0 comments
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@jonatasbaldin
Copy link

Is this a BUG REPORT or FEATURE REQUEST?:

/kind bug

What happened:
The DeprecatedLabelNodeRoleMaster label, which prevents the control plane nodes to create a LoadBalancer, is still being checked. The implementation of LabelNodeExcludeLB is on Kubernetes since v1.22 and I believe we can finally deprecate the old label.

DeprecatedLabelNodeRoleMaster = "node-role.kubernetes.io/master"

if _, hasNodeRoleMasterLabel := node.Labels[DeprecatedLabelNodeRoleMaster]; hasNodeRoleMasterLabel {

I have an edge case where I need the control plane nodes to become members of a LoadBalancer and I believe that this check is preventing that.

What you expected to happen:
Deprecate the DeprecatedLabelNodeRoleMaster flag to have control plane nodes as members of a LoadBalancer.

Environment:

  • openstack-cloud-controller-manager(or other related binary) version: master branch
@k8s-ci-robot k8s-ci-robot added the kind/bug Categorizes issue or PR as related to a bug. label Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

2 participants