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

Check for pod restarts on deploy #496

Merged
merged 7 commits into from
Sep 20, 2019

Conversation

aballman
Copy link
Contributor

  • Allows a budget of 1/4 of the pods requested worth of restarts before marking the build as failed.

@codecov
Copy link

codecov bot commented Aug 14, 2019

Codecov Report

Merging #496 into master will increase coverage by 0.03%.
The diff coverage is 57.69%.

@@            Coverage Diff            @@
##           master    #496      +/-   ##
=========================================
+ Coverage   50.16%   50.2%   +0.03%     
=========================================
  Files          75      75              
  Lines        8703    8729      +26     
=========================================
+ Hits         4366    4382      +16     
- Misses       3788    3793       +5     
- Partials      549     554       +5

@aballman aballman added S/Review Status: Please review P/High Priority: High labels Aug 14, 2019
totalPodsForDeployment := len(allPods.Items)
totalPodRestarts := 0

allowedPodRestartsRatio := 0.25
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we have a comment for this? Why 0.25?

@aballman aballman merged commit 34a8f56 into master Sep 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P/High Priority: High S/Review Status: Please review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants