Closed RunOrVeith closed 4 years ago
/assign @Ark-kun @numerology
It's a bit non-trivial to detect broken Kubernetes structures since Kubernetes' python client does not have this capability.
Would you like us to fix the env case or the general case?
As a workaround, to enable detection at the compilation time, please have argo
executable available in $PATH
. Then all compiled pipelines will be linted at compilation time.
Well, ideally of course the general case would be fixed, but I understand that that is probably not quite in-scope for now. I think having a more descriptive error would help most for now, it was not that simply to figure out what caused the error (my actual use case is much larger than the example above). If you only know that something is not a string that should be a string, it takes some guessing. However, I assume that this would require changes to argo, and is not a kubeflow issue.
Having argo in $PATH works for me in the meantime.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically closed because it has not had recent activity. Please comment "/reopen" to reopen it.
What steps did you take:
Add an environment variable to the container of a ContainerOp, and the value of that variable is not of type string, but e.g. int.
What happened:
The compiler compiles everything fine, but running the pipeline crashes with the following error:
What did you expect to happen:
Either one of two thing:
Environment:
How did you deploy Kubeflow Pipelines (KFP)? Full Deployment
KFP version: Build commit ee207f2
KFP SDK version: 0.2.5
Anything else you would like to add:
Code to reproduce:
/kind bug /area sdk