16 Jul 2020 07:11 PM - last edited on 11 Dec 2024 09:13 AM by MaciejNeumann
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?
Solved! Go to Solution.
16 Jul 2020 09:32 PM
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.
16 Jul 2020 10:12 PM
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?
16 Jul 2020 10:24 PM
You'll only need to use the container monitoring rules in this case
16 Jul 2020 11:32 PM
OK James.
Thank you very much for taking the time and helping me. 🙂
Regards
16 Jul 2020 11:32 PM
OK James.
Thank you very much for taking the time and helping me. 🙂
Regards