release v4.1.0-alpha.2
This commit is contained in:
parent
eaee32e227
commit
5adab78ef6
@ -458,6 +458,9 @@ ClusterCreatOpts:
|
||||
continue
|
||||
} else if serverCount == 0 && clusterCreateOpts.DisableLoadBalancer {
|
||||
// if this is the first server node and the server loadbalancer is disabled, expose the API Port on this server node
|
||||
if node.Ports == nil {
|
||||
node.Ports = nat.PortMap{}
|
||||
}
|
||||
node.Ports[k3d.DefaultAPIPort] = []nat.PortBinding{cluster.KubeAPI.Binding}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user