consul: add page (#1277)

coverage
lukasschlueter 2017-02-28 11:31:38 +01:00 committed by Agniva De Sarker
parent 262561ca78
commit a0f37ef1ef
2 changed files with 30 additions and 0 deletions

15
pages/common/consul-kv.md Normal file
View 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
View 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`