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

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

henk_stobbe
DynaMight Leader
DynaMight Leader

Hello,

 

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

 

KR Henk

3 REPLIES 3

henk_stobbe
DynaMight Leader
DynaMight Leader

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)

 

 

 

henk_stobbe_0-1654855580488.png

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!!

Site Reliability Engineer @ Kyndryl

Featured Posts