atlassian / smith

Smith is a Kubernetes workflow engine / resource manager
Apache License 2.0
285 stars 24 forks source link

Completely reduce errors coming out from createOrUpdate call #401

Closed ychen-atlassian closed 5 years ago

ychen-atlassian commented 5 years ago

So the problem is, this only handled the Invalid reason. Looking at the logs, we actually get far more user errors than we do internal errors (almost no internal errors). Some examples are:

This PR fixes this by listing a bunch of errors which should never happen and treats everything else an an external error. It also changes the plugin interface to remove the last traces of errors we are getting.