From 2fd0112c2893f687351628fb457e5ad098461381 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauri=20V=C3=B5sandi?= Date: Fri, 21 Oct 2022 00:57:11 +0300 Subject: [PATCH] elastic-system: Exclude logging ECK stack itself --- elastic-system/application.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/elastic-system/application.yml b/elastic-system/application.yml index c3bdb3d..30f80c3 100644 --- a/elastic-system/application.yml +++ b/elastic-system/application.yml @@ -27,6 +27,9 @@ spec: - /var/log/containers/*${data.kubernetes.container.id}.log daemonSet: podTemplate: + metadata: + annotations: + co.elastic.logs/enabled: 'false' spec: serviceAccountName: filebeat automountServiceAccountToken: true @@ -105,6 +108,9 @@ spec: deployment: replicas: 2 podTemplate: + metadata: + annotations: + co.elastic.logs/enabled: 'false' spec: terminationGracePeriodSeconds: 30 containers: @@ -259,6 +265,9 @@ spec: - key: elastic path: xpack.security.authc.providers.anonymous.anonymous1.credentials.password podTemplate: + metadata: + annotations: + co.elastic.logs/enabled: 'false' spec: containers: - name: kibana