millions-night-34157
07/15/2024, 8:23 AMancient-wolf-19325
07/15/2024, 8:23 AMkubectl logs -n <flyte-namespace> <flytepropeller-pod>
2. Inspect Task Execution Details: Use Flyte's CLI tool (flytectl
) or FlyteConsole to get detailed execution information. This includes checking the status of individual task attempts and their logs.
flytectl get execution -p <project> -d <domain> <execution-id> --details
3. Check Dynamic Task Execution: For dynamic tasks, ensure that the parent workflow has successfully generated the sub-tasks. You can inspect the dynamic task logs and the generated sub-workflow.
kubectl get pods -n <project>-<domain> -l flyte-execution-id=<execution-id>
4. Verify Finalizers: Ensure that Kubernetes finalizers are enabled to prevent premature pod deletion, which can cause tasks to appear stuck.
inject-finalizer: true
Would you like more detailed steps on any of these points?
Sources:
- Flyte discussion on finalizers
- Flyte issue on map tasks
- Flyte issue on pending pods 👍 1 button 👎 0 button 💡 Hint: Mention @ancient-wolf-19325 in the thread for followups.