Merge pull request #41508 from Crassirostris/fluentd-dns-problem-fix

Automatic merge from submit-queue (batch tested with PRs 40000, 41508, 41489)

Make fluentd use default dns instead of cluster dns to make it work o…

Fix https://github.com/kubernetes/kubernetes/issues/41415

Fluentd for Stackdriver requires external urls (e.g. `logging.googleapis.com`) to be available in order to work. If fluentd runs on master, it cannot access the service endpoint of cluster DNS. This change makes fluentd use default dns to fix this problem.

CC @thockin @bowei
This commit is contained in:
Kubernetes Submit Queue 2017-02-16 01:52:06 -08:00 committed by GitHub
commit 5ff9a72ea0

View File

@ -21,6 +21,7 @@ spec:
annotations:
scheduler.alpha.kubernetes.io/critical-pod: ''
spec:
dnsPolicy: Default
containers:
- name: fluentd-gcp
image: gcr.io/google_containers/fluentd-gcp:1.38