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

Kubernetes cluster deployed with option host monitoring however oneagent is deployed in fullstack mode on nodes

AurelienGravier
DynaMight Pro
DynaMight Pro

Hello members,

 

I deployed Dynatrace on AKS cluster with host monitoring mode in order to cover infrastructure monitoring on cluster nodes :

https://www.dynatrace.com/support/help/shortlink/dto-deploy-options-k8s#host

My dynakube ressource is based on template hostMonitoring.yaml : 

https://github.com/Dynatrace/dynatrace-operator/blob/v0.11.0/assets/samples/hostMonitoring.yaml

 

But Oneagent nodes appear in full stack mode instead of infra_only on Dynatrace and the consumption of host units is like a full stack mode  :

 AurelienGravier_0-1682585386950.png

 

Do you think it's a abnormal behaviour or it's a specificity of kubernetes instrumentation ?

Thank you.

Observability consultant - Dynatrace Associate/Pro/Services certified
1 REPLY 1

AurelienGravier
DynaMight Pro
DynaMight Pro

Hello members,

 

FYI, I have solved my issue by adding the following configuration on the oneagent section in my dynakube custom ressource yaml file :

# Optional: Adds custom arguments to the OneAgent installer
# For a list of available options, see https://www.dynatrace.com/support/help/shortlink/linux-custom-installation
# For a list of the limitations for OneAgents in Docker, see https://www.dynatrace.com/support/help/shortlink/oneagent-docker#limitations
#


args:
  - "--set-infra-only=true"
  - "--set-host-group=_A_AppName_E_Prod"
  - "--set-network-zone=eu.azure.westeurope"

 

After apply the new version of dynakube resource yaml , nodes appears in INFRA_ONLY mode.

Regards.

 

Observability consultant - Dynatrace Associate/Pro/Services certified

Featured Posts