Skip to main content

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
V2V3
getget
setput
backupsnapshot save
cluster-healthendpoint health
mk / mkdir--

kubectl exec etc-master -n cube-system ectdctl get / —prefix -keys-only