Bladeren bron

consul: add page (#1277)

lukasschlueter 8 jaren geleden
bovenliggende
commit
a0f37ef1ef
2 gewijzigde bestanden met toevoegingen van 30 en 0 verwijderingen
  1. 15 0
      pages/common/consul-kv.md
  2. 15 0
      pages/common/consul.md

+ 15 - 0
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}}`

+ 15 - 0
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`