Deploy OneAgent on Kubernetes for application-only monitoring

To deploy OneAgent on Kubernetes for application-only monitoring, read the instructions below.

Before you begin

You'll need to

When deployed in application-only mode, OneAgent only monitors the memory of the processes within the container, and not the total memory of the container.

Generate PaaS token

The first step is to get your environment ID and PaaS token for your Dynatrace environment.

Integrate OneAgent into your application

The following options explain how to integrate OneAgent with Kubernetes applications.

Configure a proxy address (optional)

In case you run an environment with proxy, you need to set the DT_PROXY environment variable in the application container to pass the proxy credentials to OneAgent.

Note: You might need to update the wget shipped with the Alpine image to allow for proxy authentication for the download of OneAgent.