mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Merge pull request #54969 from madhanrm/winkernelproxy
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Fixing 'targetport' to service 'port' mapping Looks like the order should be reversed for this to work. **What this PR does / why we need it**: **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 #54968 **Special notes for your reviewer**: **Release note**: ```release-note ```
This commit is contained in:
commit
adf7835695
@ -1043,8 +1043,8 @@ func (proxier *Proxier) syncProxyRules() {
|
||||
false,
|
||||
svcInfo.clusterIP.String(),
|
||||
Enum(svcInfo.protocol),
|
||||
uint16(svcInfo.port),
|
||||
uint16(svcInfo.targetPort),
|
||||
uint16(svcInfo.port),
|
||||
)
|
||||
if err != nil {
|
||||
glog.Errorf("Policy creation failed: %v", err)
|
||||
@ -1081,8 +1081,8 @@ func (proxier *Proxier) syncProxyRules() {
|
||||
false,
|
||||
externalIp.ip,
|
||||
Enum(svcInfo.protocol),
|
||||
uint16(svcInfo.port),
|
||||
uint16(svcInfo.targetPort),
|
||||
uint16(svcInfo.port),
|
||||
)
|
||||
if err != nil {
|
||||
glog.Errorf("Policy creation failed: %v", err)
|
||||
@ -1099,8 +1099,8 @@ func (proxier *Proxier) syncProxyRules() {
|
||||
false,
|
||||
lbIngressIp.ip,
|
||||
Enum(svcInfo.protocol),
|
||||
uint16(svcInfo.port),
|
||||
uint16(svcInfo.targetPort),
|
||||
uint16(svcInfo.port),
|
||||
)
|
||||
if err != nil {
|
||||
glog.Errorf("Policy creation failed: %v", err)
|
||||
|
Loading…
Reference in New Issue
Block a user