-
Notifications
You must be signed in to change notification settings - Fork 40.6k
fix mixed protocol issue for azure load balancer #74200
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
Conversation
/test pull-kubernetes-e2e-gce |
/test pull-kubernetes-e2e-aks-engine-azure |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes LGTM, but the tests have failed. Let's fix the test and run again.
@ritazh are you fixing this
|
/test pull-kubernetes-e2e-aks-engine-azure |
|
Here is a fix for that issue: kubernetes/test-infra#11378 |
/milestone 1.14 |
@feiskyer: The provided milestone is not valid for this repository. Milestones in this repository: [ Use In response to this:
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/test-infra repository. |
/milestone v1.14 |
/test pull-kubernetes-e2e-aks-engine-azure |
@andyzhangx the job won't work yet until a new image of kubekins-e2e is built and we need to update the job config after that |
/test pull-kubernetes-e2e-aks-engine-azure |
@ritazh the test error is different now, only
|
yes we are seeing flaky test failures |
Thanks @ritazh @andyzhangx. The test failures are actually not related with this PR. Let's get this in first. /lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: andyzhangx, feiskyer 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 |
/retest Review the full test history for this PR. Silence the bot with an |
1 similar comment
/retest Review the full test history for this PR. Silence the bot with an |
…4200-upstream-release-1.13 Automated cherry pick of #74200: add mixed protocol support for azure load balancer
…4200-upstream-release-1.12 Automated cherry pick of #74200: add mixed protocol support for azure load balancer
I'm a n00b, how do i get this feature to work with my AKS? |
@hargrave81
And AKS v1.12.7 is now available, you could try using the following example on v1.12.7:
|
Unless I'm missing something, the example above will indeed create an Azure load balancer with TCP and UDP rules for port 80, but Kubernetes itself will only expose the TCP port. I have yet to get UDP traffic working. #75831 appears to be the patch that's needed here. |
@mattkeeler You're right, kube-proxy only opens TCP port for service for the above example. |
KEP progress is being shared in #23880. |
What type of PR is this?
/kind bug
What this PR does / why we need it:
fix mixed protocol issue for azure load balancer, with below config (
service.beta.kubernetes.io/azure-load-balancer-mixed-protocols: "true"
), azure provider will create both TCP and UDP rules for the service.With this PR, you could see below both TCP and UDP rules are created for the service:

Which issue(s) this PR fixes:
Fixes #73849
Special notes for your reviewer:
Original PR(#67986) is not completed, I have no idea why I submitted a non-completed PR at that time...
Does this PR introduce a user-facing change?:
/kind bug
/assign @feiskyer
/priority important-soon
/sig azure