# Monitor Kubernetes with Elastic Agent (non containerized)

**URL:** <https://discuss.elastic.co/t/monitor-kubernetes-with-elastic-agent-non-containerized/369165>\
**Category:** Elastic Observability\
**Created:** [October 21, 2024, 3:52pm UTC](https://discuss.elastic.co/t/monitor-kubernetes-with-elastic-agent-non-containerized/369165 "2024-10-21T15:52:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ilyazh](https://avatars.discourse-cdn.com/v4/letter/i/eada6e/32.png) [@ilyazh](https://discuss.elastic.co/u/ilyazh)\
**Post date:** [October 21, 2024, 3:52pm UTC](https://discuss.elastic.co/t/monitor-kubernetes-with-elastic-agent-non-containerized/369165/1 "2024-10-21T15:52:38Z")

</div>

Hi,

we are exploring ways to monitor a kubernetes cluster with elastic. While trying different stuff we came across two integrations:

1. Kubernetes Integration for the elastic agent. I was not able to make it collect metrics from a kubernetes cluster while running the agent outside the cluster. Is this even possible? I couldn't find a definitive answer in the docs unfortunatly.
2. Kubernetes metrics integration. This seems to be an integration for metricbeat. Do i need multiple agents to monitor the whole kubernetes cluster or is one agent enough? If I needed multiple metricbeats, is there a way to manage them with fleet?

Are there other ways to get metrics of a kubernetes cluster for monitoring it?

Thanks in advance

Best regards,  
Ilya
