Quick question for maintainers. How do you think filebeat should consider ephemeral containers. Should they be scrapped by default? Optionally when some additional autodiscovery flag is set? Or should they never be scraped.
Ephemeral cotainers are "short living" containers within k8s pods designed for debugging.
Currently only normal and init containers are supported and both are scraped by default https://github.com/elastic/beats/blob/master/libbeat/autodiscover/providers/kubernetes/pod.go#L268
Adding support for ephemerals seems to be some small patch in linked code. But I don't think it should be enabled by default. What's more it is still considered alpha in k8s (and may be incompatible with some older k8s releases).