$ etcdctl --endpoints=$ENDPOINTS get PREFIX --prefix
--endpoints=[127.0.0.1:2379], gRPC endpoints
--prefix, get a range of keys with matching prefix
etcdctl --endpoints=$ENDPOINTS put web1 value1
etcdctl --endpoints=$ENDPOINTS put web2 value2
etcdctl --endpoints=$ENDPOINTS put web3 value3
etcdctl --endpoints=$ENDPOINTS get web --prefix
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.