How does Dynatrace detect a master or worker node in Kubernetes/Openshift

Hello,

How does the operator knows what a worker or a management node is and only adds oneAgent to workers?

KR Henk

Found it,

Out of the box all nodes get an oneAgent, if you  do not want to monitor master nodes, you have to comment out below tolerations in the oneAgent part of the yaml. The default taint with noschedule is than respected.

taint = something not allowed

tolerations = something allowed (tollerated)

KR Henk

Hello,

To make this post complete, there is also a “bare bones” approach:

In the YAML you can also use node selector,

# Optional: node selector to control on which nodes the OneAgent will be deployed.
#
# nodeSelector: {}

KR Henk

That’s a good one!!