docker - CoreOS/etcd cluster minimum hosts -
i'm evaluating strategy implementing docker small company 2 servers. wanted have them both working cluster, load balance work, work fail-safe 1 in case of failure.
from understand, etcd requires minimum of 3 hosts or lose ability put/get keys. not possible 2 machines, , 3 machines none fail. assessment correct?
the solution have single etcd mean if machine failed "etcd"-one both stop working correctly...
just clarify, wanted benefits of fleetd's scheduling , clustering abilities small sized deploy. moving containers/systemd-units , data manually between hosts backup plan, less ideal.
you can run coreos 2 hosts, lose etcd cluster once don't have quorum, 2 machines possible if both rebooted. 3 hosts, have higher likelihood of having quorum if machines rebooted.
if willing have 1 considered master, can this, have sure understand how make etcd peer consider master if quorum lost.
if have static ip's, have more control on cluster , should fine setting cluster ip's if both servers restarted, should able discover each other , reach stable state.
take looks @ docs
Comments
Post a Comment