Monitor activemq inside a Kubernetes Cluster

Hello, I am currently trying to have my Elastic Cloud monitor an activemq broker running in a Kubernetes pod. I know on VMs you would just enable the activemq module to monitor it, but how can I install metricbeat within the Kubernetes pod and activate the activemq module? I have looked through documentation and all I have seen is Kubernetes modules to monitor the whole Kubernetes cluster, but not specific applications running within pods.