• Kubernetes Submit Queue's avatar
    Merge pull request #30739 from MrHohn/e2e-sourceip · 02dd1780
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue
    
    Add e2e test for Source IP preservation (pod to service cluster IP)
    
    Working on #27134.
    
    This PR added the e2e test for source ip preservation (pod to service cluster IP) in service.go. Test scenario described as below:
    - Pick two different nodes in cluster.
    - Create a clusterIP type service.
    - Create an echo server, which echoes back client IP, to be part of the service.
    - Create a client on another node. Hit the server through service cluster IP.
    - Verify the source IP.
    
    @girishkalele @freehan
    02dd1780
service.go 82.8 KB