Last active
April 11, 2022 00:31
-
-
Save carljavier/09523d02846caff24feac8455d5c3445 to your computer and use it in GitHub Desktop.
Consul Vault Service Query
This file contains 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
{ | |
"Name": "", | |
"Template": { | |
"Type": "name_prefix_match" | |
}, | |
"Service": { | |
"Service": "${name.full}", | |
"Failover": { | |
"NearestN": 2 | |
} | |
} | |
} |
This file contains 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
{ | |
"Name": "vault", | |
"Service": { | |
"Service": "vault", | |
"Tags": ["active"], | |
"Failover": { | |
"NearestN": 2 | |
"Datacenters": ["dc2","dc3"] | |
}, | |
"OnlyPassing": true | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment