# Do I need both OneAgent and Kubernetes operators?

**URL:** <https://community.dynatrace.com/t/do-i-need-both-oneagent-and-kubernetes-operators/39492>\
**Category:** Container platforms\
**Tags:** oneagent, kubernetes\
**Created:** [April 27, 2023, 7:09am UTC](https://community.dynatrace.com/t/do-i-need-both-oneagent-and-kubernetes-operators/39492 "2023-04-27T07:09:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sahil2308](https://avatars.discourse-cdn.com/v4/letter/s/edb3f5/32.png) [@Sahil2308](https://community.dynatrace.com/u/Sahil2308)\
**Post date:** [April 27, 2023, 7:09am UTC](https://community.dynatrace.com/t/do-i-need-both-oneagent-and-kubernetes-operators/39492/1 "2023-04-27T07:09:29Z")

</div>

Can OneAgent and Kubernetes operators both have to be installed for monitoring?  
Or is it ok to only have K8 operator integration?

---

<div class="post-metadata">

**Author:** ![radek\_jasinski](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/radek_jasinski/32/10432_2.png) [@radek\_jasinski](https://community.dynatrace.com/u/radek_jasinski)\
**Post date:** [April 27, 2023, 8:44am UTC](https://community.dynatrace.com/t/do-i-need-both-oneagent-and-kubernetes-operators/39492/2 "2023-04-27T08:44:45Z")

</div>

Hi,

Dynatrace Operator is not for monitoring, but for managing OneAgent, who are run on individual Kubernetes or Openshift pods. Only OAs perform monitoring or you can run a custom plugin at the ActiveGate to pull additional metrics to DT.

Radek

---

<div class="post-metadata">

**Author:** ![Sahil2308](https://avatars.discourse-cdn.com/v4/letter/s/edb3f5/32.png) [@Sahil2308](https://community.dynatrace.com/u/Sahil2308)\
**Post date:** [April 27, 2023, 10:04am UTC](https://community.dynatrace.com/t/do-i-need-both-oneagent-and-kubernetes-operators/39492/3 "2023-04-27T10:04:00Z")

</div>

Hi Radek,

What I wanted to ask, is one agent installation at a server level ([Install OneAgent on Linux | Dynatrace Docs](https://www.dynatrace.com/support/help/setup-and-configuration/dynatrace-oneagent/installation-and-operation/linux/installation/install-oneagent-on-linux)) is required and then on top of that kubernetes installation ([Set up Dynatrace on Kubernetes/OpenShift | Dynatrace Docs](https://www.dynatrace.com/support/help/setup-and-configuration/setup-on-container-platforms/kubernetes)), or is Kubernetes installation alone is sufficient and we don’t need oneagent on a server level([Install OneAgent on Linux | Dynatrace Docs](https://www.dynatrace.com/support/help/setup-and-configuration/dynatrace-oneagent/installation-and-operation/linux/installation/install-oneagent-on-linux))?

---

<div class="post-metadata">

**Author:** ![radek\_jasinski](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/radek_jasinski/32/10432_2.png) [@radek\_jasinski](https://community.dynatrace.com/u/radek_jasinski)\
**Post date:** [April 27, 2023, 11:21am UTC](https://community.dynatrace.com/t/do-i-need-both-oneagent-and-kubernetes-operators/39492/4 "2023-04-27T11:21:41Z")

</div>

The installation on Kubernetes alone (by Dynatrace Operator) is sufficient and there is no need to monitor additionally the hardware layer on which the K8S is running.
