-
Notifications
You must be signed in to change notification settings - Fork 47
Rolling restart Admin API #1026
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
Rolling restart Admin API #1026
Conversation
PR Change SummaryUpdated the Rolling Restart and Update Redpanda documentation to include new Admin API endpoints for health probes.
Modified Files
How can I customize these reviews?Check out the Hyperlint AI Reviewer docs for more information on how to customize the review. If you just want to ignore it on this PR, you can add the Note specifically for link checks, we only check the first 30 links in a file and we cache the results for several hours (for instance, if you just added a page, you might experience this). Our recommendation is to add What is Hyperlint?Hyperlint is an AI agent that helps you write, edit, and maintain your documentation. Learn more about the Hyperlint AI reviewer and the checks that we can run on your documentation. |
✅ Deploy Preview for redpanda-docs-preview ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
| ---- | ||
| // Returns the load already reclaimed by broker, as a percentage of in-sync replicas | ||
| { | ||
| "load_reclaimed_pc": 66 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is really nice @bashtanov ! Seems this will help a lot in building a smoother automated restart/upgrade automation @chrisseto @mmaslankaprv
| == New health probes for broker restarts and upgrades | ||
|
|
||
| The Redpanda Admin API now includes new health probes to help you ensure safe broker restarts and upgrades. The xref:api:ROOT:admin-api.adoc#get-/v1/broker/pre_restart_probe[`pre_restart_probe`] endpoint identifies potential risks if a broker is restarted, and xref:api:ROOT:admin-api.adoc#get-/v1/broker/post_restart_probe[`post_restart_probe`] indicates how much of its workloads a broker has reclaimed after the restart. See also: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kbatuigas please check these links. Is the API just not updated yet?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
never mind: I see https://github.com/redpanda-data/docs/pull/1019/files
micheleRP
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
This pull request updates the Rolling Restart and Update Redpanda pages to include new Admin API endpoints. Related Admin API Reference update: #1019
Documentation updates:
modules/get-started/pages/whats-new.adoc: Added new health probespre_restart_probeandpost_restart_probeto What's New.modules/upgrade/partials/rolling-upgrades/enable-maintenance-mode.adoc: Added example usage and output for thepre_restart_probeendpoint to perform additional checks before restarting a broker.modules/upgrade/partials/rolling-upgrades/post-upgrade-tasks.adoc: Added example usage and output for thepost_restart_probeendpoint to check broker workload recovery after a restart.Description
Resolves https://redpandadata.atlassian.net/browse/
Review deadline: 27 March
Page previews
What's New
Perform a Rolling Restart
Upgrade Redpanda in Linux
Checks