ancient-wolf-19325
08/26/2024, 11:21 AM[49]: code:"ContainersNotReady|CreateContainerError" message:"Grace period [3m0s] exceeded|containers with unready status: [amj9ml8vx26pqmz5dmgg-n10-0-n2-0-37]|context deadline exceeded"
Interestingly, the mentioned pod shows up as completed in the kubectl output
# Answer
The error ContainersNotReady|CreateContainerError with the message Grace period [3m0s] exceeded|containers with unready status indicates that Flytepropeller marked the task as failed because the pod did not become ready within the specified grace period. This can happen due to various reasons, such as resource constraints or transient errors during pod initialization.
According to this GitHub issue, transient errors like CreateContainerConfigError do not have a grace period by default, but adding a grace period can help mitigate such issues. Additionally, increasing the kubelet registry pull limits (registryPullQPS and registryBurst) has been suggested to reduce the occurrence of such errors.
Would you like more details on how to configure these settings or further troubleshoot this issue?
Sources:
- GitHub Issue #4309
- Flyte Community Discussion
Slack Link
https://flyte-org.slack.com/archives/CP2HDHKE1/p1724671254.198939 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.