[Core feature] Decorate manually deleted k8s resources with error message #2843
Labels
enhancement
New feature or request
good first issue
Good for newcomers
plugins
Plugins related labels (backend or frontend)
propeller
Issues related to flyte propeller
stale
Motivation: Why do you think this is important?
Flyte Pods (or other k8s resources depending on the plugin) may be delete by an external process in the background. Flyte can detect this in two scenarios (1) the k8s object is missing or (2) the k8s object is marked as "deleted". In the latter case we should attempt to decorate the Flyte error message with the cause of deletion. In Pods there is are
reason
andmessage
fields which should contain more precise information. This would help users debug these cases.Goal: What should the final outcome look like, ideally?
When detecting externally deleted k8s resources Flyte should do it's best to decorate the error message with the cause for deletion.
Describe alternatives you've considered
Leaving it as is, with no additional context.
Propose: Link/Inline OR Additional context
The deletion timestamp is handled in FlytePropeller and FlytePlugins k8s array tasks separately. A fix would be to "best effort" parse the object and decorate the error with a more actionable message.
Are you sure this issue hasn't been raised already?
Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: