Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Querying Etcd #18

Open
jjbuchan opened this issue May 18, 2021 · 0 comments
Open

Querying Etcd #18

jjbuchan opened this issue May 18, 2021 · 0 comments

Comments

@jjbuchan
Copy link
Owner

# Connect to the pod
kubectl exec -it etcd-0 sh

# View all keys
ETCDCTL_API=3 etcdctl get / --prefix --keys-only

# View the value of an individual key
ETCDCTL_API=3 etcdctl get /zones/expected/12345/jjbuchan_test/development:0

# View the values of many keys
ETCDCTL_API=3 etcdctl get /zones/active --prefix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant