ETCDCTL_API=3现在是默认的。
ETCDCTL_API=3
etcdctl set foo bar Error: unknown command "set" for "etcdctl" 官网写了,因为新版不支持旧版API,建议换成3.3的etcd