1
0
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:
moelsayed
2017-10-31 13:39:21 +02:00
committed by galal-hussein
parent cdb956d363
commit 5b730bcf6a
6 changed files with 26 additions and 15 deletions

View File

@@ -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,