Configure the memory limit of the Informer pod
Set the memory limit of the Kubernetes Visibility Agent Informer pod.
Before you begin
Role required: none
About this task
Informer pod memory consumption depends mainly on the number of resources contained in the cluster. Set the Informer pod’s memory limit to at least (number of pods)/8MB, with a minimum of 200MB. For example:
| Estimated pod count | 1000 | 5000 | 30000 |
| Minimum memory limit | 200Mi | 625Mi | 3.75Gi |
Procedure
Do one of the following:
- When using a Helm chart, in the Helm install command, add the following command line argument:
--set memoryLimit=MEM_LIMITFor example:
--set memoryLimit=625Mi - When using the k8s_informer.yaml, under the line containing “limits:” add the line
memory: MEM_LIMIT.In the following example, MEM_LIMIT is 625Mi.resources: limits: cpu: 100m memory: 625Mi