Discussion:
[SURVEY] enable ETCDCTL_API=3 by default
g***@redhat.com
2018-04-12 20:33:13 UTC
Permalink
Hi,

Now that etcd v3 has been out almost for 2 years
https://github.com/coreos/etcd/releases/tag/v3.0.0

and Container Linux officially deprecated etcd v2
https://coreos.com/blog/toward-etcd-v3-in-container-linux.html

etcd team wants to enable ETCDCTL_API=3 by default
for upcoming v3.4 release (planned for this summer).

All v2 APIs and store will be still preserved until v4.
We just want to promote etcd v3 as a default option.

Currently,

etcdctl put foo bar
ETCDCTL_API=3 etcdctl put foo bar

After,

ETCDCTL_API=2 etcdctl set foo bar
etcdctl put foo bar

Please raise any issues or concerns if there's any.

Thanks all.
g***@redhat.com
2018-04-12 20:38:12 UTC
Permalink
Post by g***@redhat.com
Currently,
etcdctl put foo bar
ETCDCTL_API=3 etcdctl put foo bar
Typo here, meant to write v2 set command:

etcdctl set foo bar
ETCDCTL_API=3 etcdctl put foo bar

Loading...