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

fix: ignore Windows 2019 in ensureVMSSInPool for IPv6 backend pools only #6316

Merged
merged 4 commits into from
Jun 3, 2024

Conversation

tyler-lloyd
Copy link
Contributor

What type of PR is this?

/kind bug

What this PR does / why we need it:

doesn't try to add Windows 2019 VMSS to IPv6 backend pools because 2019 will never support IPv6 so it shouldn't be added.

Which issue(s) this PR fixes:

Fixes #6315

Special notes for your reviewer:

Does this PR introduce a user-facing change?

This only affects 1P, internal-to-Microsoft, customers. Windows 2019 with dual-stack is not possible otherwise.

Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:


@k8s-ci-robot k8s-ci-robot added release-note Denotes a PR that will be considered when it comes time to generate release notes. kind/bug Categorizes issue or PR as related to a bug. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels May 30, 2024
@k8s-ci-robot
Copy link
Contributor

Hi @tyler-lloyd. Thanks for your PR.

I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@k8s-ci-robot k8s-ci-robot added needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels May 30, 2024
@k8s-ci-robot k8s-ci-robot requested review from lzhecheng and nilo19 May 30, 2024 20:00
@nilo19
Copy link
Contributor

nilo19 commented May 31, 2024

/ok-to-test

@k8s-ci-robot k8s-ci-robot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels May 31, 2024
@nilo19
Copy link
Contributor

nilo19 commented May 31, 2024

does it affect ip-based pool?

@tyler-lloyd
Copy link
Contributor Author

does it affect ip-based pool?

maybe? I'm not as familiar with ip-based pools. do customers have to opt-in to use that feature? would there be an error if someone is using ip pools but the VM has no IPv6 IP? if yes, then we'd want to also have the same exclusion for Windows2019 nodes as I'm doing in this PR.

@lzhecheng
Copy link
Contributor

/test pull-cloud-provider-azure-e2e-capz

@lzhecheng
Copy link
Contributor

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label May 31, 2024
@lzhecheng
Copy link
Contributor

/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: lzhecheng, tyler-lloyd

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

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 3, 2024
return false
}

osVersion := strings.Split(parts[len(parts)-1], ".")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we parse the string by regexp, to get rid of those Split?

@k8s-ci-robot k8s-ci-robot merged commit 6c132ae into kubernetes-sigs:master Jun 3, 2024
18 checks passed
@nilo19
Copy link
Contributor

nilo19 commented Jun 3, 2024

/cherrypick release-1.30

@nilo19
Copy link
Contributor

nilo19 commented Jun 3, 2024

/cherrypick release-1.29

@nilo19
Copy link
Contributor

nilo19 commented Jun 3, 2024

/cherrypick release-1.28

@nilo19
Copy link
Contributor

nilo19 commented Jun 3, 2024

/cherrypick release-1.27

@k8s-infra-cherrypick-robot

@nilo19: new pull request created: #6326

In response to this:

/cherrypick release-1.30

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@k8s-infra-cherrypick-robot

@nilo19: new pull request created: #6327

In response to this:

/cherrypick release-1.29

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@k8s-infra-cherrypick-robot

@nilo19: new pull request created: #6328

In response to this:

/cherrypick release-1.28

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@k8s-infra-cherrypick-robot

@nilo19: new pull request created: #6329

In response to this:

/cherrypick release-1.27

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@MartinForReal
Copy link
Contributor

/cherrypick release-1.28

@MartinForReal
Copy link
Contributor

/cherrypick release-1.27

@k8s-infra-cherrypick-robot

@MartinForReal: new pull request created: #6379

In response to this:

/cherrypick release-1.28

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@k8s-infra-cherrypick-robot

@MartinForReal: new pull request created: #6380

In response to this:

/cherrypick release-1.27

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/bug Categorizes issue or PR as related to a bug. lgtm "Looks good to me", indicates that a PR is ready to be merged. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

IPv6 LoadBalancer backend pools should always ignore Windows 2019 VMSS
6 participants