Skip to content

Instantly share code, notes, and snippets.

@sincejune
Created July 15, 2020 09:40
Show Gist options
  • Save sincejune/0f1a155e369e92f52ecacfa155c9b8f0 to your computer and use it in GitHub Desktop.
Save sincejune/0f1a155e369e92f52ecacfa155c9b8f0 to your computer and use it in GitHub Desktop.
ETCD basic operations
# get all key-value pairs
ETCDCTL_API=3 etcdctl get "" --prefix
# get all keys only
ETCDCTL_API=3 etcdctl get "" --prefix --keys-only
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment