Created
June 17, 2020 05:28
-
-
Save velotiotech/86b51640c90d50b3b93a3eba3c4744c0 to your computer and use it in GitHub Desktop.
Velotio - HashiCorp Consul Part 2 - Using python-consul to connect to Consul's KV store to fetch configuration parameter
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
import consul | |
consul_client = consul.Consul( | |
host='consul_server', | |
port=8500, | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment