Created
May 20, 2019 09:56
-
-
Save nehrman/c17401128a3b5ffb2f896f966c0c43c9 to your computer and use it in GitHub Desktop.
description
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[[snippets]] | |
description = "List all known datacenters from the catalog" | |
command = "consul catalog datacenters" | |
tag = ["consul"] | |
output = "dc1\n" | |
[[snippets]] | |
description = "List all known members of a Consul Cluster" | |
command = "consul members" | |
tag = ["consul"] | |
output = "Node Address Status Type Build Protocol DC Segment\nraspnomad01 192.168.1.60:8301 alive server 1.4.2+ent 2 dc1 <all>\n" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment