mirror of
https://github.com/rancher/rke.git
synced 2025-08-30 13:02:45 +00:00
Merge pull request #386 from moelsayed/etcd_restart
Fix etcd process regression
This commit is contained in:
commit
bf41e6834c
@ -393,12 +393,13 @@ func (c *Cluster) BuildEtcdProcess(host *hosts.Host, etcdHosts []*hosts.Host) v3
|
||||
URL: services.EtcdHealthCheckURL,
|
||||
}
|
||||
return v3.Process{
|
||||
Name: services.EtcdContainerName,
|
||||
Args: args,
|
||||
Binds: Binds,
|
||||
NetworkMode: "host",
|
||||
Image: c.Services.Etcd.Image,
|
||||
HealthCheck: healthCheck,
|
||||
Name: services.EtcdContainerName,
|
||||
Args: args,
|
||||
Binds: Binds,
|
||||
NetworkMode: "host",
|
||||
RestartPolicy: "always",
|
||||
Image: c.Services.Etcd.Image,
|
||||
HealthCheck: healthCheck,
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user