-
FlytePropeller will fail to mark a task as complete with Pods do not exist error.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Pods vanishing is usually related to Pods being garbage collected by K8s. Pods are garbage collected randomly and at high number of pods, the garbage collection becomes more obvious with these failures in Flyte. solution: Why does this happen? How does the proposed solution fix it? Alternative solution (needs work), look if the output was generated. |
Beta Was this translation helpful? Give feedback.
Pods vanishing is usually related to Pods being garbage collected by K8s. Pods are garbage collected randomly and at high number of pods, the garbage collection becomes more obvious with these failures in Flyte.
solution:
Use inject-finalize = true for FlytePropeller.k8s config.
Why does this happen?
This happens because K8s will garbage collect pods randomly. And FlytePropeller runs in sync loops. It is possible that a pod vanishes and FlytePropeller will not notice it. this is because the loop may lag and propeller faces an issue like motion-blur. The pod was visible a moment ago as running and then it vanished.
Propeller does not know how to handle this, one option could be to optimist…