You are browsing a read-only backup copy of Wikitech. The live site can be found at


From Wikitech-static
< Etcd
Revision as of 19:29, 14 August 2017 by imported>Nemo bis (Nemo bis moved page EtcdClients to Etcd/Clients: We don't really use UseMod style any longer)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This page describes the clients that use etcd in the WMF stack.


Pybal watches the $conftool_prefix/pools/$::site/$::cluster/service-name keyspace for each pool it's configured for, and reacts to changes there by reloading its configuration.

The client supports https but no authentication and is purely read-only; it also doesn't support SRV records, so a specific server must always be specified.


Confd is an agent that is intended to be a bridge between etcd and any application that cannot speak to it directly. It can speak HTTPS and supports use of SRV records for client connections. It has the ability to watch a set of keys, or a single one, or to just query etcd at regular intervals. It is used for the following softwares:

  1. Varnish: used to handle the lists of backend directors. Varnish reloads its config upon upgrades
  2. DNS: it is used to manage the up/down state of IPs from eqiad/codfw for dns discovery. gdnsd watches the files and reacts to the changes.
  3. Redis: used to handle the replication direction. Uses the same record we use for discovery.


It's the only tool that actually is authorized to write to etcd. It supports authentication, https, SRV records.