{{- $Env := "qa" -}}{{- $Svc := "ExampleService" -}}{ "Dependency1ServerHost": "{{ printf "services/%s/%s/Dependency1ServerHost" $Svc $Env | key }}", "Dependency1ServerPort": "{{ printf "services/%s/%s/Dependency1ServerPort" $Svc $Env | key }}", "AllowedHosts": "{{ printf "services/%s/%s/AllowedHosts" $Svc $Env | key }}", "Something": { "SomethingElse": { "SomethingElse": { "Enabled": "{{ printf "services/%s/%s/Something/SomethingElse/SomethingElse/Enabled" $Svc $Env | key }}", "LogLevel": "{{ printf "services/%s/%s/Something/SomethingElse/SomethingElse/LogLevel" $Svc $Env | key }}", "Name": "{{ printf "services/%s/%s/Something/SomethingElse/SomethingElse/Name" $Svc $Env | key }}" }, "Enabled": "{{ printf "services/%s/%s/Something/SomethingElse/Enabled" $Svc $Env | key }}" } }, "ConnectionString": "{{ with printf "secret/services/%s/%s" $Svc $Env | secret }}{{ .Data.ConnectionString }}{{ end }}", "RandomKey": "{{ printf "services/%s/%s/RandomKey" $Svc $Env | key }}", "ExampleKey": "{{ printf "services/%s/%s/ExampleKey" $Svc $Env | key }}", "RedisConnectionString": "{{ with printf "secret/services/%s/%s" $Svc $Env | secret }}{{ .Data.RedisConnectionString }}{{ end }}", "ServiceName": "{{ printf $Svc }}"}consul { address = "consulserver:8500" token = "jgieowjgieodsjgiedsogjs" retry { enabled = true attempts = 5 backoff = "250ms" max_backoff = "10s" }}vault { address = "https://vaultserver:8200" vault_agent_token_file = "file.txt" ssl { server_name = "vaultserver.domain.com" verify = false }}reload_signal = "SIGHUP"kill_signal = "SIGINT"max_stale = "5m"wait { min = "5s" max = "60s"}template { command_timeout = "30s" error_on_missing_key = true source = "appsettings.tpl" destination = "appsettings.json"}exec { splay = "5s" kill_timeout = "3s"}--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/consul/issues
Community chat: https://gitter.im/hashicorp-consul/Lobby
---
You received this message because you are subscribed to the Google Groups "Consul" group.
To unsubscribe from this group and stop receiving emails from it, send an email to consul-tool...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/consul-tool/a3564d32-72c1-4e2f-9600-c2e1ea33fd12%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to consu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/consul-tool/a3564d32-72c1-4e2f-9600-c2e1ea33fd12%40googlegroups.com.
Just to add, here's a Grafana graph showing memory usage statistics from our GKE cluster over the last 36h. The high, spikey memory usage is from using consul-template 0.21.1. At ~16:00, we upgraded to 0.21.3 and redeployed all of our pods. Memory usage dropped substantially and has been flat since.
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/consul/issues
Community chat: https://gitter.im/hashicorp-consul/Lobby
---
You received this message because you are subscribed to the Google Groups "Consul" group.
To unsubscribe from this group and stop receiving emails from it, send an email to consul-tool...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/consul-tool/afea067b-7801-4db3-a388-e694327fa9eb%40googlegroups.com.