mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
Merge pull request #12262 from jgriffiths1993/hf-12261
Replace Port with NodePort for creating LB members
This commit is contained in:
commit
ca168ce285
@ -560,7 +560,7 @@ func (lb *LoadBalancer) CreateTCPLoadBalancer(name, region string, externalIP ne
|
||||
|
||||
_, err = members.Create(lb.network, members.CreateOpts{
|
||||
PoolID: pool.ID,
|
||||
ProtocolPort: ports[0].Port, //TODO: need to handle multi-port
|
||||
ProtocolPort: ports[0].NodePort, //TODO: need to handle multi-port
|
||||
Address: addr,
|
||||
}).Extract()
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user