Unverified Commit 042f9ed3 authored by Kubernetes Prow Robot's avatar Kubernetes Prow Robot Committed by GitHub

Merge pull request #74093 from blakebarnett/lower-neg-cache-ttl

Lowers the default nodelocaldns denial cache TTL
parents a07c73d0 46c299c1
...@@ -35,3 +35,7 @@ spec: ...@@ -35,3 +35,7 @@ spec:
- Ingress - Ingress
- Egress - Egress
``` ```
### Negative caching
The `denial` cache TTL has been reduced to the minimum of 5 seconds [here](https://github.com/kubernetes/kubernetes/blob/master/cluster/addons/dns/nodelocaldns/nodelocaldns.yaml#L37). In the unlikely event that this impacts performance, setting this TTL to a higher value make help alleviate issues, but be aware that operations that rely on DNS polling for orchestration may fail (for example operators with StatefulSets).
...@@ -34,7 +34,10 @@ data: ...@@ -34,7 +34,10 @@ data:
Corefile: | Corefile: |
__PILLAR__DNS__DOMAIN__:53 { __PILLAR__DNS__DOMAIN__:53 {
errors errors
cache 30 cache {
success 9984 30
denial 9984 5
}
reload reload
loop loop
bind __PILLAR__LOCAL__DNS__ bind __PILLAR__LOCAL__DNS__
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment