elastic-system: Exclude logging ECK stack itself

This commit is contained in:
Lauri Võsandi 2022-10-21 00:57:11 +03:00
parent 9275f745ce
commit 2fd0112c28
1 changed files with 9 additions and 0 deletions

View File

@ -27,6 +27,9 @@ spec:
- /var/log/containers/*${data.kubernetes.container.id}.log - /var/log/containers/*${data.kubernetes.container.id}.log
daemonSet: daemonSet:
podTemplate: podTemplate:
metadata:
annotations:
co.elastic.logs/enabled: 'false'
spec: spec:
serviceAccountName: filebeat serviceAccountName: filebeat
automountServiceAccountToken: true automountServiceAccountToken: true
@ -105,6 +108,9 @@ spec:
deployment: deployment:
replicas: 2 replicas: 2
podTemplate: podTemplate:
metadata:
annotations:
co.elastic.logs/enabled: 'false'
spec: spec:
terminationGracePeriodSeconds: 30 terminationGracePeriodSeconds: 30
containers: containers:
@ -259,6 +265,9 @@ spec:
- key: elastic - key: elastic
path: xpack.security.authc.providers.anonymous.anonymous1.credentials.password path: xpack.security.authc.providers.anonymous.anonymous1.credentials.password
podTemplate: podTemplate:
metadata:
annotations:
co.elastic.logs/enabled: 'false'
spec: spec:
containers: containers:
- name: kibana - name: kibana