Writing to etcd
Adding a KV pair to an etcd cluster
Prerequisites
- Install
etcdctl
Procedure
Use the put subcommand to write a key-value pair:
etcdctl --endpoints=$ENDPOINTS put foo "Hello World!"
where:
foois the key name"Hello World!"is the quote-delimited value
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.