etcdctl
tip
The API Versions changed between v2 and v3. Use ETCDTL_API=3 to specify the API version when working with etcdctl
Important CLI Options
- --cacert
- --cert
- --key
| V2 | V3 |
|---|---|
| get | get |
| set | put |
| backup | snapshot save |
| cluster-health | endpoint health |
| mk / mkdir | -- |
kubectl exec etc-master -n cube-system ectdctl get / —prefix -keys-only