Working guide
https://etherpad.wikimedia.org/p/toolsbeta_refresh_notes
Possibly useful references
etcd
- https://kubernetes.io/docs/tasks/administer-cluster/configure-upgrade-etcd/
- https://wikitech.wikimedia.org/wiki/Portal:Toolforge/Admin/Kubernetes/Deploying#etcd_nodes
Example of cli command:
root@toolsbeta-test-k8s-etcd-1:~# etcdctl --endpoints "https://toolsbeta-test-k8s-etcd-1.toolsbeta.eqiad.wmflabs:2379,https://toolsbeta-test-k8s-etcd-3.toolsbeta.eqiad.wmflabs:2379,https://toolsbeta-test-k8s-etcd-2.toolsbeta.eqiad.wmflabs:2379" --ca-file /etc/etcd/ssl/ca.pem --key-file /etc/etcd/ssl/toolsbeta-test-k8s-etcd-1.toolsbeta.eqiad.wmflabs.priv --cert-file /etc/etcd/ssl/toolsbeta-test-k8s-etcd-1.toolsbeta.eqiad.wmflabs.pem member list 67a7255628c1f89f: name=toolsbeta-test-k8s-etcd-1.toolsbeta.eqiad.wmflabs peerURLs=https://toolsbeta-test-k8s-etcd-1.toolsbeta.eqiad.wmflabs:2380 clientURLs=https://toolsbeta-test-k8s-etcd-1.toolsbeta.eqiad.wmflabs:2379 isLeader=false 822c4bd670e96cb1: name=toolsbeta-test-k8s-etcd-3.toolsbeta.eqiad.wmflabs peerURLs=https://toolsbeta-test-k8s-etcd-3.toolsbeta.eqiad.wmflabs:2380 clientURLs=https://toolsbeta-test-k8s-etcd-3.toolsbeta.eqiad.wmflabs:2379 isLeader=true cacc7abd354d7bbf: name=toolsbeta-test-k8s-etcd-2.toolsbeta.eqiad.wmflabs peerURLs=https://toolsbeta-test-k8s-etcd-2.toolsbeta.eqiad.wmflabs:2380 clientURLs=https://toolsbeta-test-k8s-etcd-2.toolsbeta.eqiad.wmflabs:2379 isLeader=false