Override the Beats Pod Template
edit
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.
Override the Beats Pod Template
editYou can customize the Filebeat and Metricbeat containers through the Pod template. Your configuration is merged with the values of the default Pod template that ECK uses.
apiVersion: elasticsearch.k8s.elastic.co/v1 kind: Elasticsearch spec: monitoring: metrics: elasticsearchRef: name: monitoring namespace: observability logs: elasticsearchRef: name: monitoring namespace: observability nodeSets: - name: default podTemplate: spec: containers: - name: metricbeat env: - foo: bar - name: filebeat env: - foo: bar