consul: add page (#1277)
This commit is contained in:

committed by
Agniva De Sarker

parent
262561ca78
commit
a0f37ef1ef
15
pages/common/consul-kv.md
Normal file
15
pages/common/consul-kv.md
Normal file
@@ -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}}`
|
15
pages/common/consul.md
Normal file
15
pages/common/consul.md
Normal file
@@ -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`
|
Reference in New Issue
Block a user