From e7b112d24fd1c6d21f0f23809ab9a821e35f0e02 Mon Sep 17 00:00:00 2001 From: Florian Koch Date: Mon, 9 Apr 2018 20:20:03 +0200 Subject: [PATCH] Kubernetes deployment: Add DNS Policy to system metricbeat. --- CHANGELOG.asciidoc | 1 + deploy/kubernetes/metricbeat-kubernetes.yaml | 1 + deploy/kubernetes/metricbeat/metricbeat-daemonset.yaml | 1 + 3 files changed, 3 insertions(+) diff --git a/CHANGELOG.asciidoc b/CHANGELOG.asciidoc index 4fb2f751e938..9b223d2941c6 100644 --- a/CHANGELOG.asciidoc +++ b/CHANGELOG.asciidoc @@ -32,6 +32,7 @@ https://github.com/elastic/beats/compare/v6.0.0-beta2...master[Check the HEAD di *Metricbeat* +- Kubernetes deployment: Add DNS Policy to system metricbeat. {pull}6656[6656] - De dot keys in kubernetes/event metricset to prevent collisions. {pull}6203[6203] - Add config option for windows/perfmon metricset to ignore non existent counters. {pull}6432[6432] - Refactor docker CPU calculations to be more consistent with `docker stats`. {pull}6608[6608] diff --git a/deploy/kubernetes/metricbeat-kubernetes.yaml b/deploy/kubernetes/metricbeat-kubernetes.yaml index a16d12e41554..c89db4219e15 100644 --- a/deploy/kubernetes/metricbeat-kubernetes.yaml +++ b/deploy/kubernetes/metricbeat-kubernetes.yaml @@ -91,6 +91,7 @@ spec: serviceAccountName: metricbeat terminationGracePeriodSeconds: 30 hostNetwork: true + dnsPolicy: ClusterFirstWithHostNet containers: - name: metricbeat image: docker.elastic.co/beats/metricbeat:7.0.0-alpha1 diff --git a/deploy/kubernetes/metricbeat/metricbeat-daemonset.yaml b/deploy/kubernetes/metricbeat/metricbeat-daemonset.yaml index 5e9e2390bc25..bf5779e19fe0 100644 --- a/deploy/kubernetes/metricbeat/metricbeat-daemonset.yaml +++ b/deploy/kubernetes/metricbeat/metricbeat-daemonset.yaml @@ -17,6 +17,7 @@ spec: serviceAccountName: metricbeat terminationGracePeriodSeconds: 30 hostNetwork: true + dnsPolicy: ClusterFirstWithHostNet containers: - name: metricbeat image: docker.elastic.co/beats/metricbeat:%VERSION%