Skip to content
This repository was archived by the owner on Oct 24, 2023. It is now read-only.

fix: standardize upgrade cordon-drain timeout#298

Closed
jackfrancis wants to merge 2 commits intoAzure:masterfrom
jackfrancis:cordon-drain-timeout
Closed

fix: standardize upgrade cordon-drain timeout#298
jackfrancis wants to merge 2 commits intoAzure:masterfrom
jackfrancis:cordon-drain-timeout

Conversation

@jackfrancis
Copy link
Member

@jackfrancis jackfrancis commented Jan 11, 2019

Reason for Change:

Enable future maintenance of cordon/drain timeout by making it a discrete const.

Issue Fixed:

Requirements:

Notes:

retry = time.Second * 5
interval = time.Second * 1
retry = time.Second * 5
cordonDrainTimeout = time.Minute * 10
Copy link
Contributor

Choose a reason for hiding this comment

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

why 10 minutes? if scale is 1 hour

Copy link
Member Author

Choose a reason for hiding this comment

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

This is just a placeholder to demonstrate the surface area that needs changing. No concrete requirement yet.

@codecov
Copy link

codecov bot commented Jan 11, 2019

Codecov Report

Merging #298 into master will not change coverage.
The diff coverage is 50%.

@@           Coverage Diff           @@
##           master     #298   +/-   ##
=======================================
  Coverage   53.22%   53.22%           
=======================================
  Files          95       95           
  Lines       14224    14224           
=======================================
  Hits         7571     7571           
  Misses       5988     5988           
  Partials      665      665

@CecileRobertMichon
Copy link
Contributor

any blockers for moving this forward?

@jackfrancis
Copy link
Member Author

@CecileRobertMichon I reverted the functional change from 1 minute to 10 minutes. Now the scope of this PR is just to move the timeout value to be more maintainable as a discrete const.

Copy link
Contributor

@CecileRobertMichon CecileRobertMichon left a comment

Choose a reason for hiding this comment

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

lgtm as-is but do we not want to increase the timeout? 1 minute seems to be too short for some VMSS upgrades

@jackfrancis
Copy link
Member Author

I think we want to have definitive repro cases where increasing the timeout causes a demonstrable improvement (with no tradeoffs).

Copy link
Contributor

@CecileRobertMichon CecileRobertMichon left a comment

Choose a reason for hiding this comment

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

/lgtm

@acs-bot
Copy link

acs-bot commented Jan 23, 2019

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: CecileRobertMichon, jackfrancis

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:
  • OWNERS [CecileRobertMichon,jackfrancis]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@jackfrancis jackfrancis deleted the cordon-drain-timeout branch February 20, 2019 19:04
@jackfrancis jackfrancis restored the cordon-drain-timeout branch April 3, 2019 16:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants