Skip to content
Discussion options

You must be logged in to vote
  1. The error message is partially Flytekit's responsibility to populate correctly. It uses a protocol to communicate it back to Flytepropeller. This is written using the ErrorDocument.

  2. In the case when Flytekit cannot write an error response - Flytepropeller parses the termination log OR constructs the error (from image pull failure, etc.) using this block determines the error message.

Each plugin decides how the second case should be handled. Here is an example: https://github.com/flyteorg/flyteplugins/blob/master/go/tasks/plugins/k8s/container/container.go#L48

Once the error document is written, it exits cleanly, which may result in a discrepancy between the container state and the p…

Replies: 1 comment

Comment options

SandraGH5
Nov 30, 2021
Collaborator Author

You must be logged in to vote
0 replies
Answer selected by SandraGH5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
ui Admin console user interface
1 participant