Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improvement(k8s): more robust and useful deployment status checks #865

Merged
merged 1 commit into from
Jun 24, 2019

Conversation

edvald
Copy link
Collaborator

@edvald edvald commented Jun 21, 2019

This combines a general refactor of our workload status checks, more
robust checking of related resource statuses (in order to fail fast on
common errors like ImagePullBackOff and CrashLoopBackOff), as well as an
improvement on the level of information given when errors do come up.

This should aid considerably in debugging deployment issues.

Closes #863

To test, I recommend breaking modules in any way you can think of, For example, make the command/args invalid such that the container doesn't start, have the container crash right after start, specify an invalid image (to trigger ImagePullBackOff) etc.

@edvald edvald requested a review from thsig June 21, 2019 01:03
@edvald edvald force-pushed the status-improvements branch from b85b43d to adfec32 Compare June 21, 2019 01:08
@thsig thsig self-assigned this Jun 23, 2019
@edvald edvald force-pushed the status-improvements branch 2 times, most recently from 3161158 to 89a0e24 Compare June 24, 2019 16:17
This combines a general refactor of our workload status checks, more
robust checking of related resource statuses (in order to fail fast on
common errors like ImagePullBackOff and CrashLoopBackOff), as well as an
improvement on the level of information given when errors do come up.

This should aid considerably in debugging deployment issues.

Closes #863
@thsig thsig force-pushed the status-improvements branch from 89a0e24 to 4f1ff3b Compare June 24, 2019 20:17
@thsig thsig merged commit 24168fb into master Jun 24, 2019
@thsig thsig deleted the status-improvements branch June 24, 2019 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ImagePullBackOff should immediately flag a deployment as failed
2 participants