mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-24 12:15:27 +02:00
consul: add page (#1277)
This commit is contained in:
parent
262561ca78
commit
a0f37ef1ef
2 changed files with 30 additions and 0 deletions
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`
|
Loading…
Add table
Reference in a new issue