• Kubernetes Submit Queue's avatar
    Merge pull request #36256 from colemickens/colemickens-pr-azure-lb-dsr · dc37723c
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue
    
    azure: loadbalancer rules use DSR
    
    **What this PR does / why we need it**:
    Enables "direct server return" on the load balancer in Azure, which causes the DIP to be preserved when traffic goes through the load balancer. This enables service traffic to go to the Service Port rather than having to go through the NodePort.
    
    **Special notes for your reviewer**:
    N/A.
    
    **Tested with...**:
    ```shell
    kubectl run nginx --image=nginx
    kubectl run nginx2 --image=nginx
    kubectl expose deployment nginx --port=80 --type=LoadBalancer
    kubectl expose deployment nginx2 --port=80 --type=LoadBalancer
    ```
    Ensuring that both services got external IPs and that the resources created looked correct.
    
    **Release note**:
    ```release-note
    azure: load balancer preserves destination ip address
    ```
    
    CC: @brendandburns
    dc37723c
Name
Last commit
Last update
.github Loading commit data...
Godeps Loading commit data...
api Loading commit data...
build-tools Loading commit data...
cluster Loading commit data...
cmd Loading commit data...
contrib Loading commit data...
docs Loading commit data...
examples Loading commit data...
federation Loading commit data...
hack Loading commit data...
hooks Loading commit data...
logo Loading commit data...
pkg Loading commit data...
plugin Loading commit data...
staging Loading commit data...
test Loading commit data...
third_party Loading commit data...
vendor Loading commit data...
www Loading commit data...
.generated_docs Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
BUILD Loading commit data...
CHANGELOG.md Loading commit data...
CONTRIB.md Loading commit data...
CONTRIBUTING.md Loading commit data...
DESIGN.md Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
Makefile.generated_files Loading commit data...
OWNERS Loading commit data...
OWNERS_ALIASES Loading commit data...
README.md Loading commit data...
Vagrantfile Loading commit data...
WORKSPACE Loading commit data...
code-of-conduct.md Loading commit data...
labels.yaml Loading commit data...