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

Add Scale Down Delay to BG #57

Merged
merged 1 commit into from
Apr 25, 2019
Merged

Add Scale Down Delay to BG #57

merged 1 commit into from
Apr 25, 2019

Conversation

dthomson25
Copy link
Member

No description provided.

@codecov-io
Copy link

codecov-io commented Apr 23, 2019

Codecov Report

Merging #57 into master will increase coverage by 1.1%.
The diff coverage is 96.22%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master      #57     +/-   ##
=========================================
+ Coverage   77.11%   78.22%   +1.1%     
=========================================
  Files          14       14             
  Lines        1595     1621     +26     
=========================================
+ Hits         1230     1268     +38     
+ Misses        278      266     -12     
  Partials       87       87
Impacted Files Coverage Δ
utils/conditions/conditions.go 89.11% <ø> (ø) ⬆️
utils/defaults/defaults.go 100% <100%> (ø) ⬆️
controller/pause.go 100% <100%> (ø) ⬆️
controller/sync.go 73.76% <100%> (+1.76%) ⬆️
controller/canary.go 82.6% <100%> (+1.29%) ⬆️
controller/bluegreen.go 81.33% <93.93%> (+6.53%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update adfd6c6...5e683ff. Read the comment docs.

Copy link
Contributor

@alexmt alexmt left a comment

Choose a reason for hiding this comment

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

LGTM. Added one comment

// +optional
ScaleDownDelay *int32 `json:"scaleDownDelay,omitempty"`
Copy link
Contributor

Choose a reason for hiding this comment

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

I would rename it to ScaleDownDelaySeconds for clarity ( other k8s resource field follows that conversion too e.g. Deployment ProgressDeadlineSeconds, MinReadySeconds )

Copy link
Member Author

Choose a reason for hiding this comment

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

👍

@dthomson25 dthomson25 merged commit ce5920c into master Apr 25, 2019
@dthomson25 dthomson25 deleted the scaleDownDelay branch April 25, 2019 17:23
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.

3 participants