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:
1. etcdctl --endpoints=$ENDPOINTS put foo "Hello World!"
where:
foois the key name"Hello World!"is the quote-delimited value
Last modified July 6, 2025: etcd-website: edit weight of document to avoid duplication (70a164e)
