KV 存储 通过命令行操作 $ consul kv put hello world # 设置数据 Success! Data written to: hello $ consul kv get hello # 获取数据 world $ consul kv get -detailed hello # 获取详细数据 CreateIndex 1466 Flags 0 Key hello LockIndex 0 ModifyIndex 1466 Session - Value world $ consu…