Skip to content

update karmadactl promote doc#996

Open
tessapham wants to merge 2 commits into
karmada-io:mainfrom
tessapham:update-karmadactl-doc
Open

update karmadactl promote doc#996
tessapham wants to merge 2 commits into
karmada-io:mainfrom
tessapham:update-karmadactl-doc

Conversation

@tessapham
Copy link
Copy Markdown
Contributor

What type of PR is this?
/kind documentation

What this PR does / why we need it:
Rewordings.

Which issue(s) this PR fixes:
Fixes #

Special notes for your reviewer:

@karmada-bot karmada-bot added the kind/documentation Categorizes issue or PR as related to documentation. label Apr 14, 2026
@karmada-bot karmada-bot requested a review from Poor12 April 14, 2026 15:30
@karmada-bot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign rainbowmango, samzong for approval. For more information see the Code Review Process.

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

Details 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

@karmada-bot karmada-bot requested a review from samzong April 14, 2026 15:30
@karmada-bot karmada-bot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Apr 14, 2026
Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates documentation for the karmadactl promote command and related migration guides to improve grammar, clarity, and consistency. The review highlights that some of these files are auto-generated, suggesting that changes should be applied to the source code rather than the generated documentation. Additionally, feedback was provided to further refine the technical accuracy of the API server comparison and to ensure proper translation and consistency in the documentation.

Comment thread docs/administrator/migration/promote-legacy-workload.md Outdated
Comment thread docs/reference/karmadactl/karmadactl-commands/karmadactl_promote.md Outdated
Signed-off-by: Tessa Pham <hpham111@bloomberg.net>
@tessapham tessapham force-pushed the update-karmadactl-doc branch from 89fef58 to 811d94a Compare April 14, 2026 16:19
@tessapham
Copy link
Copy Markdown
Contributor Author

karmada-io/karmada#7391 to update the auto-generated description from source.

---

Promote resources from legacy clusters to Karmada control plane
Promote resources from legacy clusters to Karmada control plane.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Hi @tessapham, thank you for the corrections you’ve made!

I have a small point to note: the files under the reference directory are automatically generated from the code in the Karmada repo. For details, you can refer to:
https://karmada.io/docs/developers/document-releasing#update-reference-documentsmanually

Therefore, our usual practice is to modify the code in the Karmada repo first, then sync the changes to the website repo.

I noticed that some changes in karmadactl_promote.md are not covered by karmada-io/karmada#7391, so they will be overwritten in the next automatic synchronization.

It is recommended that you either remove these uncovered changes, or make the modifications in the Karmada repo and then sync them to the website repo.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Sorry, I missed your comment #996 (comment) before, but there are still some uncovered changes from the source. Please take a look.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Thanks @zhzhuang-zju for reviewing – I'll revise this PR! Curious - is there a script to run to sync the changes from the source repo to the website repo?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Yeah, good question! Not yet; we need to manually run the tools to sync.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Hey Tessa, yes, here is the doc for releasing the documentation: https://karmada.io/docs/developers/document-releasing.

By the way, I appreciate your effort on this. Please feel free to open PRs once you have found anything needed.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

is there a script to run to sync the changes from the source repo to the website repo?

I think we’ll have one soon. #1010 will automate the corresponding process.

@zhzhuang-zju
Copy link
Copy Markdown
Contributor

The CI DCO has failed. Please sign it off and squash your commits after making changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/documentation Categorizes issue or PR as related to documentation. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants