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

Unplanned Maintenance Signals #3060

Merged
merged 22 commits into from
Aug 25, 2023

Conversation

niontive
Copy link
Collaborator

@niontive niontive commented Jul 25, 2023

Which issue this PR addresses:

Fixes https://issues.redhat.com/browse/ARO-1933

What this PR does / why we need it:

For resource health check, we have to emit a metric when we're doing unplanned maintenance on a cluster. This code changes accomplishes this by:

  1. Adding a maintenance signal middleware. For now, this just emits the "unplanned maintenance" signal.
  2. Using that middleware for write admin operations (ex: start VM).

Test plan for issue:

  • Unit tests
  • INT test

Is there any documentation that needs to be updated for this PR?

No - everything is automated

pkg/frontend/middleware/maintenance.go Show resolved Hide resolved
pkg/frontend/frontend.go Outdated Show resolved Hide resolved
@s-amann
Copy link
Contributor

s-amann commented Aug 9, 2023

/azp run e2e

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@niontive niontive added the next-release To be included in the next RP release rollout label Aug 14, 2023
s-amann
s-amann previously approved these changes Aug 17, 2023
cadenmarchese
cadenmarchese previously approved these changes Aug 17, 2023
jhoreman
jhoreman previously approved these changes Aug 21, 2023
@github-actions github-actions bot added the needs-rebase branch needs a rebase label Aug 22, 2023
@github-actions
Copy link

Please rebase pull request.

@niontive niontive dismissed stale reviews from jhoreman, cadenmarchese, and s-amann via e7e16d6 August 23, 2023 21:16
@github-actions github-actions bot removed the needs-rebase branch needs a rebase label Aug 23, 2023
@niontive
Copy link
Collaborator Author

Rebased with master due to merge conflict.

@cadenmarchese cadenmarchese merged commit 01cf99f into Azure:master Aug 25, 2023
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
go Pull requests that update Go code next-release To be included in the next RP release rollout ready-for-review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants