Reading from etcd
Reading a value in an etcd cluster
Prerequisites
- Install
etcdctl
Procedure
Use the get subcommand to read from etcd:
where:
foois the requested keyHello World!is the retrieved value
Or, for formatted output:
where write-out="json" returns JSON output with both the key and value encoded in base64.