forked from kubernetes/kubernetes
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request kubernetes#67986 from andyzhangx/azure-lb-mixed-proto
Automatic merge from submit-queue (batch tested with PRs 67986, 68210, 67817). If you want to cherry-pick this change to another branch, please follow the instructions here: https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md. add mixed protocol support for azure load balancer **What this PR does / why we need it**: If user specify `service.beta.kubernetes.io/azure-load-balancer-mixed-protocols: "true"`, azure cloud provider will create both TCP and UDP lb rules, for more details, could refer to kubernetes#66887 **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes kubernetes#66887 **Special notes for your reviewer**: original `reconcileLoadBalancer` func is too big, I move part of code implementation to a standalone func `createLoadBalancerRule` example service config: ``` apiVersion: v1 kind: Service metadata: annotations: service.beta.kubernetes.io/azure-load-balancer-mixed-protocols: "true" name: web namespace: default spec: ports: - port: 80 protocol: TCP targetPort: 80 selector: app: web sessionAffinity: None type: LoadBalancer ``` **Release note**: ``` add mixed protocol support for azure load balancer ``` /kind feature /sig azure /assign @feiskyer @khenidak
- Loading branch information
Showing
1 changed file
with
96 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters