docs(scheduler): add scheduler user guide for v1.7.x #974#975
Merged
zhongwen666 merged 38 commits intoMay 17, 2026
Conversation
This reverts commit 65a11fd.
StephenRi
approved these changes
May 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
version-1.7.xdocs in English and Simplified Chinese (zh-Hans)ROCK_FORCE_PRIMARY_PODenv var so the scheduler can run on a single node for local dev / testingrock-conf/rock-local.ymlwith a full scheduler configuration example (image cleanup, file cleanup, container cleanup, image pull)Code Changes
docs/versioned_docs/version-1.7.x/User Guides/scheduler.md: new English scheduler guide (working principle, configuration, built-in tasks, custom task development, observability)docs/i18n/zh-Hans/docusaurus-plugin-content-docs/version-1.7.x/User Guides/scheduler.md: Simplified Chinese counterpartrock/env_vars.py: declareROCK_FORCE_PRIMARY_POD(defaultfalse) with lazyos.getenvlookuprock/utils/system.py:is_primary_pod()short-circuits toTruewhenROCK_FORCE_PRIMARY_PODis setrock-conf/rock-local.yml: addschedulerblock with built-in task class examples and parametersRelated Issue
Closes #974