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

Lowers the default nodelocaldns denial cache TTL
pull/564/head
Kubernetes Prow Robot 2019-02-21 17:47:16 -08:00 committed by GitHub
commit 042f9ed3af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 1 deletions

View File

@ -35,3 +35,7 @@ spec:
- Ingress
- 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).

View File

@ -34,7 +34,10 @@ data:
Corefile: |
__PILLAR__DNS__DOMAIN__:53 {
errors
cache 30
cache {
success 9984 30
denial 9984 5
}
reload
loop
bind __PILLAR__LOCAL__DNS__