Has anyone practical experience with this scenario? Given an increase in load and concurrency for a service, will the sidecars scale as well? Can the limits be defined?
Asked
Active
Viewed 231 times
0
-
You can set the resource limits per container, to scale up. But usually you would prefer to scale out, by creating more replicas (pods of the same app). – Jonas Nov 19 '21 at 18:11
-
1If you have a Deployment, and a HorizontalPodAutoscaler, and the Pod template has a sidecar (either in the Deployment or injected by a mutating admission controller), then every copy of the Pod will have its own sidecar as the HPA scales up and down. – David Maze Nov 20 '21 at 12:06