Not a customer? Click the 'Start a free trial' link to begin a 30-day SaaS trial of our product and to join our community.
Existing Cisco AppDynamics customers should click the 'Sign In' button to authenticate to access the community
on 09-10-2024 01:27 PM
The Cluster agent uses the init-container approach to instrument apps based on the rule you wish for. It can be used to specifically target apps that belong to a namespace, contain a specific label, or can be for a specific deployment or container name. Again, the Cluster agent can also be tweaked to automatically push one of the 3 APM agents i.e. Java, .NET Core, or Node.JS APM agents.
Looking at the requirements for the Cluster agent, there are not any details on how much the resource requirement is if the Cluster agent auto instrumentation is enabled. This is because of the way the auto instrumentation is done.
Technically speaking one single instance of the Cluster agent is capable of instrumenting an infinite number of deployments but in general as mentioned (in the AppDynamics Doc link above), for every 100 pods 50 MB of memory and 100 Milicores of CPU is required by the Cluster Agent.
The init-containers are spawned with a fixed Memory and CPU request and limits cannot be modified - i.e. they are hardcoded. They are hardcoded as the init container lifecycle exists only till the binary is not copied to the new pod. Thus in real life the init container exits before the actual container is loaded and started. Also, since the actual container is always bigger than the init container the scheduler will always schedule pods based on the actual container requirement - which is always supposed to be more than the init container.
Having said this the rollout strategy does have a play on the total memory requirement as Cluster agent may create pods which are being spawned with an additional CPU and memory requirement at the start of the pods. This however should be similar to when the app is upgraded as the same rollout strategy comes into play here as well.
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form