mirror of https://github.com/docker/docs.git
Merge pull request #2833 from kunalkushwaha/multi-master
Configures swarm-master with failover support
This commit is contained in:
commit
7246b2c965
|
|
@ -42,7 +42,7 @@ func configureSwarm(p Provisioner, swarmOptions swarm.Options, authOptions auth.
|
|||
|
||||
if swarmOptions.Master {
|
||||
advertiseMasterInfo := fmt.Sprintf("%s:%s", ip, "3376")
|
||||
cmd := fmt.Sprintf("manage --tlsverify --tlscacert=%s --tlscert=%s --tlskey=%s -H %s --strategy %s --advertise %s",
|
||||
cmd := fmt.Sprintf("manage --tlsverify --tlscacert=%s --tlscert=%s --tlskey=%s -H %s --strategy %s --replication --advertise %s",
|
||||
authOptions.CaCertRemotePath,
|
||||
authOptions.ServerCertRemotePath,
|
||||
authOptions.ServerKeyRemotePath,
|
||||
|
|
|
|||
Loading…
Reference in New Issue