mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-10 12:32:03 +00:00
Pass SubnetID to vips.Create()
This commit is contained in:
parent
6129d3d4eb
commit
c911df6b46
@ -622,6 +622,7 @@ func (lb *LoadBalancer) CreateTCPLoadBalancer(name, region string, externalIP ne
|
|||||||
Protocol: "TCP",
|
Protocol: "TCP",
|
||||||
ProtocolPort: ports[0].Port, //TODO: need to handle multi-port
|
ProtocolPort: ports[0].Port, //TODO: need to handle multi-port
|
||||||
PoolID: pool.ID,
|
PoolID: pool.ID,
|
||||||
|
SubnetID: lb.opts.SubnetId,
|
||||||
Persistence: persistence,
|
Persistence: persistence,
|
||||||
}
|
}
|
||||||
if !externalIP.IsUnspecified() {
|
if !externalIP.IsUnspecified() {
|
||||||
|
Loading…
Reference in New Issue
Block a user