This documentation contains work-in-progress information for future Elastic Stack and Cloud releases. Use the version selector to view supported release docs. It also contains some Elastic Cloud serverless information. Check out our serverless docs for more details.
Override the Beats Pod Template
editOverride 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