Open YvesZelros opened 3 months ago
I also agree that this project should take initContainers
as well as sidecar containers into account. There's non trivial calculation that goes into calculating what stage the container in, how much does that initContainer –or containers[]+sidecars[] request.
Kubernetes v1.29 have introduce sidecar containers
https://kubernetes.io/docs/concepts/workloads/pods/sidecar-containers/
Sidecar containers are used as exemple by istio
kube-capacity -p
should print sidecar containers resource usageNote: sidecar containers are visible with
kubectl top pods --containers=true