Reduce logging level of kubedns

Kubedns with --v=2 can generate up to 1gb per day in logs.
New default level is 1.
New variable kubedns_log_level can be used to raise verbosity
for debugging.
This commit is contained in:
Matthew Mosesohn 2016-12-09 17:18:21 +03:00
parent 6e080cd9b0
commit c5521a32dc

View file

@ -56,7 +56,7 @@ spec:
# command = "/kube-dns" # command = "/kube-dns"
- --domain={{ dns_domain }}. - --domain={{ dns_domain }}.
- --dns-port=10053 - --dns-port=10053
- --v={{ kube_log_level }} - --v={{ kubedns_log_level | default(1)}}
ports: ports:
- containerPort: 10053 - containerPort: 10053
name: dns-local name: dns-local