Skip to content

Instantly share code, notes, and snippets.

View sb1975's full-sized avatar

BeL8 sb1975

  • Ericsson
  • Plano,Texas
  • 10:43 (UTC -06:00)
View GitHub Profile
@sb1975
sb1975 / gist:87c7fbe3387665a5ad76c47d6dc6fe63
Created May 8, 2018 06:50
ETCD Version: 3 issue : Unable to use the ETCD API Version :3 CLI - like I want to use ETCDCTL_API=3 etcdctl --endpoints $ENDPOINT snapshot save snapshotdb
esudbat@master:~$ kubectl version
Client Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.2", GitCommit:"81753b10df112992bf51bbc2c2f85208aad78335", GitTreeState:"clean", BuildDate:"2018-04-27T09:22:21Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.2", GitCommit:"81753b10df112992bf51bbc2c2f85208aad78335", GitTreeState:"clean", BuildDate:"2018-04-27T09:10:24Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"linux/amd64"}
esudbat@master:~$
esudbat@master:~$ etcdctl -v
The program 'etcdctl' is currently not installed. To run 'etcdctl' please ask your administrator to install the package 'etcd'
esudbat@master:~$ kubectl exec -it etcd-master -n kube-system -- /bin/sh
/ # etcd -v
2018-05-08 06:33:13.073896 W | pkg/flags: flag "-v" is no longer supported - ignoring.
2018-05-08 06:33:13.074123 I | etcdmain: etcd Version: 3.1.12