Expected Behavior
calico-kube-controller memory will not increase significantly with the number of pods
Current Behavior
- calico-kube-controller list/watch pod, memory limit 400M, when the cluster pod size exceeds 5000, frequent OOM
- GOGC is set to 50%
Possible Solution
- Is it possible not to cache the entire pod information?
- Can you cache only the fields actually used by NodeController such as pod name, IP, etc.
- Can you query the pod after the node is deleted?
Steps to Reproduce (for bugs)
- calico-kube-controller memory limit 400M
- The number of pods increases from 1000 to 5000(100 nodes)
Context
Your Environment
- Calico version
- Orchestrator version (e.g. kubernetes, mesos, rkt):
- Operating System and version:
- Link to your project (optional):
Calico version 3.25
Expected Behavior
calico-kube-controller memory will not increase significantly with the number of pods
Current Behavior
Possible Solution
Steps to Reproduce (for bugs)
Context
Your Environment
Calico version 3.25