I followed this document but dont know how to enable v2 so that patroni can work with, can anyone help? https://computingforgeeks.com/setup-etcd-cluster-on-centos-debian-ubuntu/
Asked
Active
Viewed 617 times
1 Answers
0
Starting etcd
v3.4, etcd wouldn't serve API v2 by default. You'll need to add --enable-v2=true
in your etcd
startup script to enable API v2.
In your guide's case, add it on step 3 in ExecStart
when creating your etcd.service
systemd unit file, i.e.
ExecStart=/usr/local/bin/etcd \\
--name ${ETCD_NAME} \\
--enable-v2=true \\
--data-dir=/var/lib/etcd \\
...

mforsetti
- 2,666
- 2
- 16
- 20