December 2016
Intermediate to advanced
280 pages
5h 11m
English
Etcd is a highly available, distributed, and consistent key-value store that is used for shared configuration and service discovery. Some notable projects that use Etcd are SwarmKit, Kubernetes, and Fleet.
Etcd can gracefully manage master elections in case of network splits and can tolerate node failure, including the master. Applications, in our case Docker containers and Swarm nodes, can read and write data into Etcd's key-value storage, for example the location of services.
We once again create an example with one manager and three nodes, this time by illustrating Etcd.
This time, we'll need a real discovery service. We can simulate a non-HA system by running the Etcd server inside Docker ...
Read now
Unlock full access