mirror of
https://github.com/rancher/rke.git
synced 2025-09-01 15:06:23 +00:00
add support for specifc control plane IP per host
This commit is contained in:
@@ -39,7 +39,7 @@ func buildKubeAPIConfig(host hosts.Host, kubeAPIService KubeAPI, etcdConnString
|
||||
"--runtime-config=authentication.k8s.io/v1beta1=true",
|
||||
"--storage-backend=etcd3",
|
||||
"--etcd-servers=" + etcdConnString,
|
||||
"--advertise-address=" + host.IP,
|
||||
"--advertise-address=" + host.ControlPlaneIP,
|
||||
"--client-ca-file=" + pki.CACertPath,
|
||||
"--tls-cert-file=" + pki.KubeAPICertPath,
|
||||
"--tls-private-key-file=" + pki.KubeAPIKeyPath,
|
||||
|
Reference in New Issue
Block a user