Forrest logo
back to context overview

etcdctl

List of commands for etcdctl:

  • etcdctl:tldr:272d3 etcdctl: Delete a key-value pair.
    $ etcdctl del ${my-key}
    try on your machine
    explain this command
  • etcdctl:tldr:3807f etcdctl: Save a snapshot of the etcd keystore.
    $ etcdctl snapshot save ${path-to-snapshot-db}
    try on your machine
    explain this command
  • etcdctl:tldr:3e6ee etcdctl: Store a key-value pair, reading the value from a file.
    $ etcdctl put ${my-file} < ${filename-txt}
    try on your machine
    explain this command
  • etcdctl:tldr:4afd4 etcdctl: Watch a key for changes.
    $ etcdctl watch ${my-key}
    try on your machine
    explain this command
  • etcdctl:tldr:7fc73 etcdctl: Add a user.
    $ etcdctl user add ${my_user}
    try on your machine
    explain this command
  • etcdctl:tldr:87fb5 etcdctl: Restore a snapshot of an etcd keystore (restart the etcd server afterwards).
    $ etcdctl snapshot restore ${path-to-snapshot-db}
    try on your machine
    explain this command
  • etcdctl:tldr:a6167 etcdctl: Display the value associated with a specified key.
    $ etcdctl get ${my-key}
    try on your machine
    explain this command
  • etcdctl:tldr:e9100 etcdctl: Store a key-value pair.
    $ etcdctl put ${my-key} ${my_value}
    try on your machine
    explain this command
back to context overview