Skip to content

docs(bare-metal): document the AIT-70186 baremetal lifecycle#97

Open
wgkingk wants to merge 7 commits into
masterfrom
docs/baremetal-provider-lifecycle
Open

docs(bare-metal): document the AIT-70186 baremetal lifecycle#97
wgkingk wants to merge 7 commits into
masterfrom
docs/baremetal-provider-lifecycle

Conversation

@wgkingk
Copy link
Copy Markdown
Contributor

@wgkingk wgkingk commented May 25, 2026

Replace the "Planned" stubs with a full provider documentation set built from the cluster-api-provider-baremetal qa/AIT-70186-baremetal-lifecycle branch: pool/plan model, install flow, YAML cluster creation (with the hardened KubeadmControlPlane appendix), node management, Kubernetes upgrade via replacement, and per-CRD API pages. Flip every provider index from "📋 Planned" to "✅ Available (YAML only)" so the new pages are discoverable.

Summary by CodeRabbit

  • Documentation
    • Bare Metal provider now fully available (YAML-only) with a comprehensive provider overview and concepts
    • Added installation, cluster creation, node management, and upgrade guides with step-by-step workflows, verification, and troubleshooting
    • Added API reference and CRD documentation for BaremetalCluster, BaremetalMachine, BaremetalMachineTemplate, MachineInventoryPool, MachineInventory, MachineRegistration, SeedImage
    • Updated docs navigation and indexes to surface Bare Metal content

Review Change Stack

Replace the "Planned" stubs with a full provider documentation set built
from the cluster-api-provider-baremetal `qa/AIT-70186-baremetal-lifecycle`
branch: pool/plan model, install flow, YAML cluster creation (with the
hardened KubeadmControlPlane appendix), node management, Kubernetes
upgrade via replacement, and per-CRD API pages. Flip every provider
index from "📋 Planned" to "✅ Available (YAML only)" so the new pages
are discoverable.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 25, 2026

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review

Walkthrough

This PR replaces "Planned" placeholders with full bare-metal documentation: provider overview, API reference pages, CRD manifests, installation, cluster creation, worker node management, and Kubernetes upgrade procedures.

Changes

Bare Metal Provider Documentation Suite

Layer / File(s) Summary
Provider Overview and Architecture
docs/en/overview/providers/bare-metal.mdx, docs/en/overview/providers/index.mdx
Comprehensive provider overview replaces placeholder with documented architecture (elemental-operator + cluster-api-provider-baremetal), workflow model (host install + plan-driven upgrade), key features, concepts, API resources, Kubernetes version support, and operational requirements. Provider index updated to reflect Available (YAML only) status and control-plane load-balancer mechanism.
API Reference Pages
docs/en/apis/providers/bare-metal/*
CRD reference pages added for BaremetalCluster, BaremetalMachine, BaremetalMachineTemplate, MachineInventoryPool, MachineInventory, MachineRegistration, and SeedImage with K8sCrd component renders. APIs index provides overview table of custom resources and related upstream Cluster API dependencies.
CRD Manifests
docs/shared/crds/providers/bare-metal/*
Added OpenAPI v3 CRD manifests for machineinventories.elemental.cattle.io, machineregistrations.elemental.cattle.io, seedimages.elemental.cattle.io, baremetalclusters.infrastructure.cluster.x-k8s.io, baremetalmachines.infrastructure.cluster.x-k8s.io, baremetalmachinetemplates.infrastructure.cluster.x-k8s.io, and machineinventorypools.infrastructure.cluster.x-k8s.io.
Installation and Setup
docs/en/install/bare-metal.mdx, docs/en/install/index.mdx
Complete installation guide replaces placeholder with prerequisites, plugin download/upload references, umbrella chart configuration options, CRD and elemental-image-catalog verification steps, and next-step links to cluster creation.
Cluster Provisioning Workflow
docs/en/create-cluster/bare-metal.mdx, docs/en/create-cluster/index.mdx
End-to-end cluster creation guide replaces placeholder with prerequisite overview, placeholder values reference table, five-step workflow (host registration/SeedImage, MachineInventoryPool creation, control-plane resources), detailed YAML examples, verification checks, common failure-mode troubleshooting, and KubeadmControlPlane template appendix.
Worker Node Operations and Scaling
docs/en/manage-nodes/bare-metal.mdx, docs/en/manage-nodes/index.mdx
Worker management guide replaces placeholder with prerequisites, resource overview, deployment procedure, scaling operations (up/down, removal modes), node recovery/replacement, BaremetalMachineTemplate swapping, bootstrap template rollouts, observability annotations, common failure modes, and next-step links.
Kubernetes Upgrade Procedures
docs/en/upgrade-cluster/bare-metal.mdx, docs/en/upgrade-cluster/index.mdx
Phase 2 upgrade guide replaces placeholder with upgrade mechanics (clean → reprovision), prerequisites (reachability, node health, catalog presence), image catalog update methods (chart override or ConfigMap patch), control-plane and worker upgrade sequences, cross-version staging, verification and troubleshooting tables, and resource links.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Suggested reviewers

  • chinameok

Poem

I'm a rabbit in docs, nibbling text with cheer, 🐇
From "Planned" to "Ready" the pages now appear,
Install to upgrade, each step in its place—
I boxed up the guides with a hop and a pace. ✨

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly summarizes the main change: documenting the baremetal lifecycle with reference to the tracking issue AIT-70186.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docs/baremetal-provider-lifecycle

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@docs/en/upgrade-cluster/bare-metal.mdx`:
- Line 44: The sentence stating that old and new nodes “coexist briefly” is
inconsistent with the documented delete-then-add replacement using maxSurge=0;
update the sentence referencing MachineInventory / clean plan / Machine to state
that the inventory released by a clean plan may not be the same one re-allocated
and that replacements are performed as delete-then-add (no overlap) when
maxSurge=0, so pool capacity sizing should not assume simultaneous coexistence
of old and new nodes during rollout.
🪄 Autofix (Beta)

✅ Autofix completed


ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 0c65ce88-4750-4297-a1de-da3b4bce953c

📥 Commits

Reviewing files that changed from the base of the PR and between 3061de6 and 3e86975.

📒 Files selected for processing (15)
  • docs/en/apis/providers/bare-metal/baremetalcluster.mdx
  • docs/en/apis/providers/bare-metal/baremetalmachine.mdx
  • docs/en/apis/providers/bare-metal/baremetalmachinetemplate.mdx
  • docs/en/apis/providers/bare-metal/index.mdx
  • docs/en/apis/providers/bare-metal/machineinventorypool.mdx
  • docs/en/create-cluster/bare-metal.mdx
  • docs/en/create-cluster/index.mdx
  • docs/en/install/bare-metal.mdx
  • docs/en/install/index.mdx
  • docs/en/manage-nodes/bare-metal.mdx
  • docs/en/manage-nodes/index.mdx
  • docs/en/overview/providers/bare-metal.mdx
  • docs/en/overview/providers/index.mdx
  • docs/en/upgrade-cluster/bare-metal.mdx
  • docs/en/upgrade-cluster/index.mdx

Comment thread docs/en/upgrade-cluster/bare-metal.mdx Outdated
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented May 25, 2026

Deploying alauda-immutable-infra with  Cloudflare Pages  Cloudflare Pages

Latest commit: 45d5bab
Status: ✅  Deploy successful!
Preview URL: https://1a62d24c.alauda-immutable-infra.pages.dev
Branch Preview URL: https://docs-baremetal-provider-life.alauda-immutable-infra.pages.dev

View logs

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 25, 2026

Note

Autofix is a beta feature. Expect some limitations and changes as we gather feedback and continue to improve it.

Fixes Applied Successfully

Fixed 1 file(s) based on 1 unresolved review comment.

Files modified:

  • docs/en/upgrade-cluster/bare-metal.mdx

Commit: 2e19e62214772628525f64c047bc76560fa2ec6b

The changes have been pushed to the docs/baremetal-provider-lifecycle branch.

Time taken: 2m 33s

coderabbitai Bot and others added 2 commits May 25, 2026 06:01
Fixed 1 file(s) based on 1 unresolved review comment.

Co-authored-by: CodeRabbit <noreply@coderabbit.ai>
The 4 provider API pages referenced <K8sCrd> by name but the matching
CustomResourceDefinition YAMLs were never copied into
docs/shared/crds/providers/bare-metal/, so the schemas rendered empty.

- Add all 7 CRD sources (4 infrastructure.cluster.x-k8s.io + 3
  elemental.cattle.io), Helm-wrapper-stripped, validated as parseable.
- Add MachineRegistration / SeedImage / MachineInventory API pages so the
  elemental resources operators must author/inspect are documented, not
  just listed.
- Restructure the API index into Provider / Elemental / upstream CAPI
  sections with links to every page.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In
`@docs/shared/crds/providers/bare-metal/elemental.cattle.io_machineinventories.yaml`:
- Around line 215-221: Fix the typo in the tpmHash field description: locate the
description for the tpmHash property (symbol "tpmHash") and change the word
"identifiy" to "identify" so the sentence reads "using TPM2 to identify nodes.";
keep rest of the text unchanged.
🪄 Autofix (Beta)

✅ Autofix completed


ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 108c139b-71af-4ce3-a05c-3e39eccaaae3

📥 Commits

Reviewing files that changed from the base of the PR and between 2e19e62 and 2a1d1ce.

📒 Files selected for processing (11)
  • docs/en/apis/providers/bare-metal/index.mdx
  • docs/en/apis/providers/bare-metal/machineinventory.mdx
  • docs/en/apis/providers/bare-metal/machineregistration.mdx
  • docs/en/apis/providers/bare-metal/seedimage.mdx
  • docs/shared/crds/providers/bare-metal/elemental.cattle.io_machineinventories.yaml
  • docs/shared/crds/providers/bare-metal/elemental.cattle.io_machineregistrations.yaml
  • docs/shared/crds/providers/bare-metal/elemental.cattle.io_seedimages.yaml
  • docs/shared/crds/providers/bare-metal/infrastructure.cluster.x-k8s.io_baremetalclusters.yaml
  • docs/shared/crds/providers/bare-metal/infrastructure.cluster.x-k8s.io_baremetalmachines.yaml
  • docs/shared/crds/providers/bare-metal/infrastructure.cluster.x-k8s.io_baremetalmachinetemplates.yaml
  • docs/shared/crds/providers/bare-metal/infrastructure.cluster.x-k8s.io_machineinventorypools.yaml
✅ Files skipped from review due to trivial changes (5)
  • docs/en/apis/providers/bare-metal/machineinventory.mdx
  • docs/en/apis/providers/bare-metal/seedimage.mdx
  • docs/shared/crds/providers/bare-metal/elemental.cattle.io_machineregistrations.yaml
  • docs/en/apis/providers/bare-metal/machineregistration.mdx
  • docs/shared/crds/providers/bare-metal/infrastructure.cluster.x-k8s.io_baremetalclusters.yaml

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 25, 2026

Note

Autofix is a beta feature. Expect some limitations and changes as we gather feedback and continue to improve it.

Fixes Applied Successfully

Fixed 1 file(s) based on 1 unresolved review comment.

Files modified:

  • docs/shared/crds/providers/bare-metal/elemental.cattle.io_machineinventories.yaml

Commit: 9322e864cbb7d52eb83aa73d80de03090acc03e9

The changes have been pushed to the docs/baremetal-provider-lifecycle branch.

Time taken: 2m 5s

Fixed 1 file(s) based on 1 unresolved review comment.

Co-authored-by: CodeRabbit <noreply@coderabbit.ai>
Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
docs/shared/crds/providers/bare-metal/elemental.cattle.io_machineinventories.yaml (1)

112-113: ⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Description says "list" but schema defines a map.

The description states "IPAddressPools is a list of IPAddressPool," but the schema uses additionalProperties (lines 89-114), which defines a map, not an array. Consider updating the description to match, e.g., "IPAddressPools is a map of IPAddressPool objects associated to this machine."

📝 Proposed fix
-                description: IPAddressPools is a list of IPAddressPool associated
-                  to this machine.
+                description: IPAddressPools is a map of IPAddressPool objects associated
+                  to this machine.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In
`@docs/shared/crds/providers/bare-metal/elemental.cattle.io_machineinventories.yaml`
around lines 112 - 113, The description for the IPAddressPools field is
inconsistent with the schema: the schema for IPAddressPools uses
additionalProperties (a map) but the description says "list"; update the
description for IPAddressPools to reflect a map structure (e.g., "IPAddressPools
is a map of IPAddressPool objects associated to this machine") so it matches the
schema definition (see IPAddressPools and the additionalProperties block).
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Outside diff comments:
In
`@docs/shared/crds/providers/bare-metal/elemental.cattle.io_machineinventories.yaml`:
- Around line 112-113: The description for the IPAddressPools field is
inconsistent with the schema: the schema for IPAddressPools uses
additionalProperties (a map) but the description says "list"; update the
description for IPAddressPools to reflect a map structure (e.g., "IPAddressPools
is a map of IPAddressPool objects associated to this machine") so it matches the
schema definition (see IPAddressPools and the additionalProperties block).

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 3a0ff657-d3d9-4a10-a38c-160867a6d5dc

📥 Commits

Reviewing files that changed from the base of the PR and between 2a1d1ce and 9322e86.

📒 Files selected for processing (1)
  • docs/shared/crds/providers/bare-metal/elemental.cattle.io_machineinventories.yaml

Comment thread docs/en/install/bare-metal.mdx Outdated
Comment thread docs/en/install/bare-metal.mdx Outdated
Comment thread docs/en/install/bare-metal.mdx Outdated
Comment thread docs/en/create-cluster/bare-metal.mdx Outdated
Comment thread docs/en/create-cluster/bare-metal.mdx Outdated
Comment thread docs/en/create-cluster/bare-metal.mdx Outdated
Comment thread docs/en/create-cluster/bare-metal.mdx Outdated
Comment thread docs/en/manage-nodes/bare-metal.mdx Outdated
Comment thread docs/en/upgrade-cluster/bare-metal.mdx
Comment thread docs/en/upgrade-cluster/bare-metal.mdx Outdated
Address @wgkingk's review comments:
- install: drop internal chart values (platformUrl, registry address/TLS,
  image-catalog values table) so the page stays consistent with the other
  providers and does not expose internal knobs.
- create-cluster: remove the /etc/resolv.conf write_files example (the OS
  manages resolv.conf); reword "used in QA" to production guidance; drop the
  optional cpaas.io/registry-address annotation (the provider falls back to
  the platform registry-credential Secret) and fix the dependent prose;
  remove the single-control-plane layout — bare-metal requires >=3 CP nodes.
- manage-nodes: drop kubeletExtraArgs.cloud-provider=external (no
  cloud-provider on bare-metal).
- upgrade-cluster: clarify the image catalog is normally re-rendered by the
  plugin (operator just verifies); remove the rollback section (bare-metal
  rollback guidance is still "planned" per global/upgrade).

Also apply the open CodeRabbit finding: IPAddressPools description says
"list" but the schema is a map (additionalProperties) -> "map".

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@chinameok
Copy link
Copy Markdown
Collaborator

@wgkingk 8dd8b32 上又过了一遍。apply PR #97 review feedback 已经解决了一批(包括之前 inventoryNames 字段名)。还有 6 个点想跟你过一下(ask level: feedback,不卡合):

视觉 / framing

1. Object hierarchy 图(overview/providers/bare-metal)不清晰

  • ASCII 图的两列 + 箭头方向 + 跨列引用关系对客户读起来不直观,不容易一眼看出"elemental.cattle.io 负责 host 注册 / infra.cluster.x-k8s.io 负责 CAPI 集群"的分工。
  • 建议讨论方向:换成更清晰的可视化方式(mermaid / 单列流程 / 加文字辅助说明),让客户能直接 chunking。

2. Supported Kubernetes Versions 段(overview/providers/bare-metal)位置不对

  • 这段当前写的是 "chart 默认 ship 哪两个版本 + 怎么改 chart values 加新版本" —— 这是代码仓 / chart values 文档的口径,不是客户向产品文档应该回答的问题。
  • 客户向产品文档应该回答"我这个版本支持哪些 K8s",权威源在 acp-docs kubernetes-support-matrix.mdx
  • 建议讨论方向:这段整体是不是移出 overview,换成一行指向 ACP Kubernetes support matrix 的链接?

3. Cluster Creation Workflow 5 步骤图(create-cluster/bare-metal)不清晰

  • 5 步骤的视觉关系需要重做,目前 ASCII 形式客户难直接 follow。
  • 建议讨论方向:换成更直观的 step-by-step 图,或拆成"Step N → 产出 X"的列表形式。

代码 / 文档对账(基于 cluster-api-provider-baremetal qa/AIT-70186 分支 881749a)

4. 🚨 BaremetalMachine.status.providerID 文档与代码 gap(高优先级)

  • 文档:overview/providers/bare-metal.mdx line 118 写 "...sets BaremetalMachine.status.providerID = baremetal:///<inventory-name>"
  • 代码:qa 分支 provider/api/v1beta1/baremetalmachine_types.go:30ProviderID *string \json:"providerID,omitempty"`定义在BaremetalMachineSpec`——是 spec.providerID 不是 status.providerID(CAPI 上游 convention 把它放在 infra machine 的 spec)。
  • 影响:客户照文档 kubectl get baremetalmachine X -o jsonpath='{.status.providerID}' 拿到空字符串,会困惑。
  • 建议讨论方向:文档改成 spec.providerID?还是代码这边有变更计划要把它挪到 status?

5. placeholder 字典覆盖不全

  • "Resolving Placeholder Values" 表声明 16 个 placeholder,但全文实际使用 ~36 个,仍有约 20 个未在表里声明:
    • 基础对象:<machine-name> / <pool-name> / <image> / <repository> / <tag>
    • 升级类:<new-image> / <new-kubernetes-version> / <new-replica-count> / <new-tag> / <new-template-name>
    • 主机标号:<control-plane-host-1/2/3> / <worker-host-1> / <control-plane-inventory-1/2/3> / <worker-inventory-1/2/3>
  • 疑似重复:<vip> 与已声明的 <control-plane-vip> 是否同一个?
  • 建议讨论方向:扩 Placeholder Values 表覆盖全集,或把 <vip> 这类统一到已声明名?

6. frontmatter 不一致

  • install/bare-metal.mdxmanage-nodes/bare-metal.mdx 仍只有 weight: 40,缺 title / author / category / queries
  • 对比 create-cluster/bare-metal / upgrade-cluster/bare-metal / overview/providers/bare-metal 三页都完整。
  • 影响:可能被 yarn lint 拦下,至少破坏一致性 + 影响站点搜索 / 索引。
  • 建议讨论方向:补两页 frontmatter 与其他三页对齐。

1-3 是 PM 视角(视觉 / 客户向 framing);4-6 是 AI 跑静态扫描 + 跨仓 schema 对账抓的。二版改完 yarn lint 过我就合。

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

🧹 Nitpick comments (1)
docs/en/install/bare-metal.mdx (1)

29-29: ⚡ Quick win

Consider using consistent terminology for the baremetal manager component.

Line 29 uses the technical subchart name cluster-api-provider-baremetal-manager while line 42 refers to it as "bare-metal provider manager". For clarity and to help users correlate what gets installed, consider using the same term in both places.

📝 Suggested consistency fix

Option 1: Use the technical name consistently:

-The umbrella chart installs both the bare-metal provider manager and `elemental-operator` in one step. The image catalog ConfigMap is created by the chart — you do not need to apply it separately when creating a workload cluster.
+The umbrella chart installs both the `cluster-api-provider-baremetal-manager` and `elemental-operator` in one step. The image catalog ConfigMap is created by the chart — you do not need to apply it separately.

Option 2: Use descriptive names consistently:

-2. **Alauda Container Platform Bare Metal Infrastructure Provider** (umbrella chart that ships the `cluster-api-provider-baremetal-manager` and `elemental-operator` subcharts together)
+2. **Alauda Container Platform Bare Metal Infrastructure Provider** (umbrella chart that ships the bare-metal provider manager and elemental operator subcharts together)

Also applies to: 42-42

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@docs/en/install/bare-metal.mdx` at line 29, Pick a single term and make it
consistent: replace either the technical subchart name
cluster-api-provider-baremetal-manager everywhere (including the sentence that
currently says "bare-metal provider manager") or replace the technical name with
the descriptive phrase "bare-metal provider manager" everywhere; update both
occurrences where the component is referenced so users can clearly correlate
what gets installed and ensure any adjacent mentions (bullets/descriptions) and
links still match the chosen term.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Nitpick comments:
In `@docs/en/install/bare-metal.mdx`:
- Line 29: Pick a single term and make it consistent: replace either the
technical subchart name cluster-api-provider-baremetal-manager everywhere
(including the sentence that currently says "bare-metal provider manager") or
replace the technical name with the descriptive phrase "bare-metal provider
manager" everywhere; update both occurrences where the component is referenced
so users can clearly correlate what gets installed and ensure any adjacent
mentions (bullets/descriptions) and links still match the chosen term.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: e7b5fcfc-958a-4400-81ac-65c7dcfdaf0a

📥 Commits

Reviewing files that changed from the base of the PR and between 9322e86 and 5361f5d.

📒 Files selected for processing (6)
  • docs/en/create-cluster/bare-metal.mdx
  • docs/en/install/bare-metal.mdx
  • docs/en/manage-nodes/bare-metal.mdx
  • docs/en/overview/providers/bare-metal.mdx
  • docs/en/upgrade-cluster/bare-metal.mdx
  • docs/shared/crds/providers/bare-metal/elemental.cattle.io_machineinventories.yaml
✅ Files skipped from review due to trivial changes (1)
  • docs/en/manage-nodes/bare-metal.mdx
🚧 Files skipped from review as they are similar to previous changes (3)
  • docs/shared/crds/providers/bare-metal/elemental.cattle.io_machineinventories.yaml
  • docs/en/overview/providers/bare-metal.mdx
  • docs/en/create-cluster/bare-metal.mdx

@wgkingk
Copy link
Copy Markdown
Contributor Author

wgkingk commented May 27, 2026

@chinameok 已按这轮 feedback 更新并推到 PR 分支:

  • 已把 BaremetalMachine.status.providerID 修正为代码实际使用的 BaremetalMachine.spec.providerID
  • 已把 object hierarchy 和 cluster creation workflow 从 ASCII 图调整为更容易阅读的表格。
  • 已把 Supported Kubernetes Versions 改为产品支持矩阵口径,catalog 细节保留在安装/升级文档。
  • 已补齐 placeholder 表,覆盖 inventory、host、machine、replica、template、upgrade 相关 placeholder,并统一 <vip><control-plane-vip>
  • 已补齐 install/bare-metal.mdxmanage-nodes/bare-metal.mdx 的 frontmatter。
  • PR 内本轮文档署名已统一为 gangwang@alauda.io

验证:git diff --check 通过;目标文件 ./node_modules/.bin/doom lint docs --no-cspell --glob ... 通过。完整 doom lint 仍受现有 cspell config fetch failed 影响,这个和本次改动无关。

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants