Configuring Multiple TEA Agents

You can configure more than one TEA agent to monitor different namespaces and deploy them to Kubernetes cluster.

To configure multiple TEA agents, there is sample deployment file available <amsgce-runtime-1.0.0>/samples/kubernetes/Application_Monitor/multiagent/application_monitor_2.yaml.

In this file, you need to update the namespace that agent must monitor by using the following environment variable:

name: amxce_namespace_to_monitor
value: namespace2

If you do not provide any namespace to monitor, it will connect to all ActiveMatrix Service Grid pods running in the cluster.

The namespaces in each tea-agent deployment file must be different.

Note: You must not create different service accounts specific to each namespace. If you are using multiple agents then use the same service account in all agents.