diff --git a/pages/common/consul-kv.md b/pages/common/consul-kv.md new file mode 100644 index 0000000000..dc1b2a48af --- /dev/null +++ b/pages/common/consul-kv.md @@ -0,0 +1,15 @@ +# consul-kv + +> Distributed key-value store with health checking and service discovery. + +- Read a value from the key-value store: + +`consul kv get {{key}}` + +- Store a new key-value pair: + +`consul kv put {{key}} {{value}}` + +- Delete a key-value pair: + +`consul kv delete {{key}}` diff --git a/pages/common/consul.md b/pages/common/consul.md new file mode 100644 index 0000000000..a0231d788c --- /dev/null +++ b/pages/common/consul.md @@ -0,0 +1,15 @@ +# consul + +> Distributed key-value store with health checking and service discovery. + +- Check the Consul version: + +`consul --version` + +- Show general help: + +`consul --help` + +- Show help for a sub-command: + +`consul {{sub-command}} --help`