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

Bug 1861642: Add maxNodeProvisionTime for baremetal #158

Merged
merged 2 commits into from Aug 12, 2020

Conversation

hardys
Copy link
Contributor

@hardys hardys commented Jul 31, 2020

In baremetal environments it can easily take longer than the CA
default of 15mins for the node to become active after a scale-out
action.

The CA supports --max-node-provision-time[1] so adding support to
enable configuration of that value should allow tuning of the
time such that it's more suited to baremetal.

[1] https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/FAQ.md#what-are-the-parameters-to-ca

@openshift-ci-robot
Copy link
Contributor

@hardys: This pull request references Bugzilla bug 1861642, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target release (4.6.0) matches configured target release for branch (4.6.0)
  • bug is in the state ASSIGNED, which is one of the valid states (NEW, ASSIGNED, ON_DEV, POST, POST)

In response to this:

Bug 1861642: Add maxNodeProvisionTime for baremetal

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@openshift-ci-robot openshift-ci-robot added bugzilla/severity-medium Referenced Bugzilla bug's severity is medium for the branch this PR is targeting. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. labels Jul 31, 2020
@hardys
Copy link
Contributor Author

hardys commented Jul 31, 2020

I've tested this locally to confirm no regressions, but I can't see a way to get the new CRD definition - I guess the CVO has an old copy, any tips on how to work around that for local testing?

Copy link
Contributor

@elmiko elmiko left a comment

Choose a reason for hiding this comment

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

this looks mostly reasonable to me, i have a couple questions.

sadly, i do not have advice on how to solve crd chicken/egg issue =(

install/01_clusterautoscaler.crd.yaml Outdated Show resolved Hide resolved
@elmiko
Copy link
Contributor

elmiko commented Jul 31, 2020

@enxebre @JoelSpeed ptal

@elmiko
Copy link
Contributor

elmiko commented Jul 31, 2020

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Jul 31, 2020
pkg/controller/clusterautoscaler/clusterautoscaler.go Outdated Show resolved Hide resolved
install/01_clusterautoscaler.crd.yaml Outdated Show resolved Hide resolved
install/01_clusterautoscaler.crd.yaml Outdated Show resolved Hide resolved
install/02_machineautoscaler.crd.yaml Outdated Show resolved Hide resolved
@openshift-ci-robot openshift-ci-robot removed the lgtm Indicates that a PR is ready to be merged. label Aug 3, 2020
@hardys
Copy link
Contributor Author

hardys commented Aug 3, 2020

/test e2e-aws-operator

@JoelSpeed
Copy link
Contributor

I'm happy to approve this once the format is updated, apologies, literally found out there's a small bug in it earlier today 😅

In baremetal environments it can easily take longer than the CA
default of 15mins for the node to become active after a scale-out
action.

The CA supports --max-node-provision-time[1] so adding support to
enable configuration of that value should allow tuning of the
time such that it's more suited to baremetal.

Accepted review suggestion to fix bug in regex
Co-authored-by: Joel Speed <Joel.speed@hotmail.co.uk>

[1] https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/FAQ.md#what-are-the-parameters-to-ca
@hardys
Copy link
Contributor Author

hardys commented Aug 5, 2020

/test e2e-aws-operator

Add review suggestion

Co-authored-by: Joel Speed <Joel.speed@hotmail.co.uk>
@JoelSpeed
Copy link
Contributor

/approve

@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: JoelSpeed

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

The pull request process is described here

Needs approval from an approver in each of these files:

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

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 5, 2020
@hardys
Copy link
Contributor Author

hardys commented Aug 5, 2020

/retest

1 similar comment
@hardys
Copy link
Contributor Author

hardys commented Aug 6, 2020

/retest

@hardys
Copy link
Contributor Author

hardys commented Aug 6, 2020

/test e2e-aws

@hardys
Copy link
Contributor Author

hardys commented Aug 7, 2020

/test e2e-aws

@hardys
Copy link
Contributor Author

hardys commented Aug 12, 2020

@elmiko - please could you revisit this when you get a moment - thanks! :)

Copy link
Contributor

@elmiko elmiko left a comment

Choose a reason for hiding this comment

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

thanks @hardys !
/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Aug 12, 2020
@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

3 similar comments
@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-merge-robot openshift-merge-robot merged commit 472ecfc into openshift:master Aug 12, 2020
@openshift-ci-robot
Copy link
Contributor

@hardys: All pull requests linked via external trackers have merged: openshift/cluster-autoscaler-operator#158. Bugzilla bug 1861642 has been moved to the MODIFIED state.

In response to this:

Bug 1861642: Add maxNodeProvisionTime for baremetal

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. bugzilla/severity-medium Referenced Bugzilla bug's severity is medium for the branch this PR is targeting. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants