Closed AbelHu closed 8 years ago
We have created an issue in Pivotal Tracker to manage this:
https://www.pivotaltracker.com/story/show/122175811
The labels on this github issue will be updated when the story is started.
Hi @AbelHu
Sorry for the delayed response.
There's no particular reason for these properties to not be exposed, except perhaps for keeping the interface for this release slim and only exposing crucially important properties. Exposing the properties you mentioned is not a priority at this time, but we'd welcome a pull request. If you're interested in submitting a PR for this feature, be sure to check out the contributing instructions.
If you were to do this, I would expose this via job spec properties on the consul_agent
job called consul.dns_config.max_stale
and consul.dns_config.max_stale
.
@Amit-PivotalLabs Thanks for your response. We will consider to submit a PR later.
@AbelHu Hi, are you considering do a PR for this?
@keymon @AbelHu FYI: https://www.pivotaltracker.com/story/show/126916281
From DNS caching, we know that consul allows to configure dns_config.allow_stale and dns_config.max_stale for performance and scalability. But in the configure of consul-agent, we found no settings for DNS caching. What is the reason for that?