1
0
mirror of https://github.com/rancher/rke.git synced 2025-08-31 14:36:32 +00:00

Fix etcd client endpoint address

This commit is contained in:
moelsayed
2018-04-20 22:17:45 +02:00
committed by Darren Shepherd
parent fb1fd833ce
commit 0069872976
3 changed files with 2 additions and 7 deletions

View File

@@ -578,9 +578,8 @@ func (c *Cluster) BuildEtcdProcess(host *hosts.Host, etcdHosts []*hosts.Host, pr
}
Binds = append(Binds, c.Services.Etcd.ExtraBinds...)
healthCheck := v3.HealthCheck{
URL: services.EtcdHealthCheckURL,
URL: fmt.Sprintf("https://%s:2379/health", host.InternalAddress),
}
registryAuthConfig, _, _ := docker.GetImageRegistryConfig(c.Services.Etcd.Image, c.PrivateRegistriesMap)