mirror of https://github.com/k3s-io/k3s
Pass SubnetID to vips.Create()
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