Currently the calculation assumes that e.g. 3 replicas + 1 pod overhead for rolling rollout needs the resources for 4 initContainers.
My understanding is, that for a given pod the init resources will never be needed simultaneous to the container resources. So for this example the normally running containers should not include the initContainer and the overhead over normal replicas should only be either the init container or the normal containers, whatever is bigger.
As it doesn't seem like this is beeing maintained I created my own fork, in which I plan to implement this.
Should I be mistaken, please let me know and I'll create pull requests.
Currently the calculation assumes that e.g. 3 replicas + 1 pod overhead for rolling rollout needs the resources for 4 initContainers. My understanding is, that for a given pod the init resources will never be needed simultaneous to the container resources. So for this example the normally running containers should not include the initContainer and the overhead over normal replicas should only be either the init container or the normal containers, whatever is bigger.
As it doesn't seem like this is beeing maintained I created my own fork, in which I plan to implement this. Should I be mistaken, please let me know and I'll create pull requests.