You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
druppelt
added a commit
to druppelt/kuota-calc
that referenced
this issue
Sep 14, 2024
For normally running pods init containers can be ignored. During init phase of a pod, so before it becomes ready, either the init or normal containers are running. Use the highest value of both for each resource. Use these `MaxResources` for all non-ready pods.
Refs: postfinance#17
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.
The text was updated successfully, but these errors were encountered: