I'm trying to understand how Dynatrace One Agent is expected to be configured in a Kubernetes environment. In my case Azure (AKS).
I see One Agent deployed to each node using a Kubernetes Daemonset. Is each deployed application POD on the node expected to share and communicate with the One Agent instance deployed locally on each node or will each application POD require its own One Agent?
I'm struggling to figure out how the http://localhost:14499/metrics/ingest endpoint is expected to work for application PODs.
Solved! Go to Solution.
The way to create a Metrics v2 endpoint inside of a Kubernetes cluster is to deploy a containerized ActiveGate using the Dynakube. You can read about this here. Notice the capabilities parameter for the ActiveGate includes a `metrics-ingest` value.
@mreider, Hi! Thank you for the response, I tried to edit our Dynakube to add `metrics-ingest`, but this error occurs:
The DynaKube's specification tries to use an invalid capability in ActiveGate section, invalid capability=metrics-ingest.
Make sure you correctly specify the ActiveGate capabilities in your custom resource.
So, dynakube cr doesnt allow to edit ? I Must run the kubectl apply again ?
I did install dynatrace operator
This has installed the active gate stateful set , however when i try to navigate for /metric end point , the active gate seems not expoed.
I did add additional param of metrics-ingest in yaml file