Skip to content

Commit

Permalink
Supress cluster-dns's log
Browse files Browse the repository at this point in the history
Only failed queries are logged with Combined Log Format.

Signed-off-by: Tomoki Sugiura <[email protected]>
  • Loading branch information
chez-shanpu committed Feb 14, 2025
1 parent 9fe3042 commit 5266c4e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion op/clusterdns/clusterdns.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ var clusterDNSTemplate = template.Must(template.New("").Parse(`.:1053 {
errors
health
ready
log
log . {combined} {
class denial error
}
kubernetes {{ .Domain }} in-addr.arpa ip6.arpa {
pods verified
{{- if .Upstreams }}
Expand Down

0 comments on commit 5266c4e

Please sign in to comment.