I am using etcdadm
command to create the etcd cluster, init fails with --version unkown flag.
How to create etcd cluster with latest etcd version?
# ./etcdadm --version "3.4.7" init
INFO[0000] [install] extracting etcd archive /var/cache/etcdadm/etcd/v3.4.7/etcd-v3.4.7-linux-amd64.tar.gz to /tmp/etcd809914410
INFO[0000] [install] verifying etcd 3.4.7 is installed in /opt/bin/
FATA[0000] [install] Error: command "/opt/bin/etcdctl" failed: "Error: unknown flag: --version\n\nError: unknown flag: --version\n"
to configure 3.4.7 version, we need to set
ETCDCTL_API
environment variable.compiled like this:
Able to create the data base like this: