cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to monitor only a few PODs with OneAgent Operator for Kubernetes Cluster?

jonas_morais
Newcomer

I have a customer with a very large Kubernetes cluster. And we want to monitor just a few PODs.

Is creating a monitoring rule the best way?

Settings> Processes and Containers> Process group monitoring


When installing the OneAgent Operator, is it possible to define any parameters for the operator to search only the PODs previously defined?

5 REPLIES 5

JamesKitson
Dynatrace Leader
Dynatrace Leader

The operator rolls out the OneAgent pod to all of the selected nodes, so you can use nodeSelectors to in the resource file to only install it to certain nodes. Once the OneAgent pod is on those nodes by default it is going to try to monitor all the pods that aren't excluded by default.

So in short, you can only limit monitoring at the node level with the operator. To limit it at the pod level within those nodes you'll be looking at container monitoring rules.

jonas_morais
Newcomer

Thanks for the information James.

Just one more doubt.

I will configure as you showed in the image. But do I also need to create a rule within Process Group Detection?


You'll only need to use the container monitoring rules in this case

OK James.

Thank you very much for taking the time and helping me. 🙂

Regards

jonas_morais
Newcomer

OK James.

Thank you very much for taking the time and helping me. 🙂

Regards