Pool Manager creates more pods than poolsize #2126
-
Fission/Kubernetes version
Kubernetes platform (e.g. Google Kubernetes Engine)
To Reproduce
Actual result Screenshots/Dump file $ fission support dump fission-dump_1625568047.zip Im using custom environment for Java based on Helidon Project. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
When i have 2 functions useng same env with poolsize = 1, im getting 4 pods: |
Beta Was this translation helpful? Give feedback.
-
Hi @AnatoliyYakimov, Fission ensure we have a number of warm pods ready, as per pool size. I see we see two pods with a replicaset, which means they are still with the pool manager. One of them is in terminating and another in running state. No of specialized pods(function is loaded into a pod and its serving function) can vary depending on the number of requests the function is serving. Typically when the pod is specialized, we keep it until the point it is serving requests. After idle time of 2 minutes, we clean up the pod. However, all said above there can be few situations, where you would see more no of pods in a momentary situation, as Fission doesn't have the strict guarantee. |
Beta Was this translation helpful? Give feedback.
Hi @AnatoliyYakimov,
Fission ensure we have a number of warm pods ready, as per pool size. I see we see two pods with a replicaset, which means they are still with the pool manager. One of them is in terminating and another in running state.
No of specialized pods(function is loaded into a pod and its serving function) can vary depending on the number of requests the function is serving. Typically when the pod is specialized, we keep it until the point it is serving requests. After idle time of 2 minutes, we clean up the pod.
However, all said above there can be few situations, where you would see more no of pods in a momentary situation, as Fission doesn't have the strict guarantee.