How to configure metricbeat k8s to use ssl connection to ES

Per title i find it impssobile to configure metricbeat and ES on k8s env.
Can i please get a full working env for metricbeat?
https://raw.githubusercontent.com/elastic/beats/8.9/deploy/kubernetes/metricbeat-kubernetes.yaml
I dont see any option to say that ES with xpack enable expects TLS

Hi @Mihai-CMM
You have to get the CA from when you created Elasticsearch and then make the CA available to metricbeat via mounts

Perhaps take a look at this post. I think this is a pretty good example

1 Like

thank you

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.