Skip to content

refactor: reorganize install documentation structure#719

Closed
youyongsong wants to merge 1 commit into
masterfrom
refactor-install-section
Closed

refactor: reorganize install documentation structure#719
youyongsong wants to merge 1 commit into
masterfrom
refactor-install-section

Conversation

@youyongsong
Copy link
Copy Markdown
Collaborator

@youyongsong youyongsong commented Apr 30, 2026

  • Add planning.mdx for pre-installation planning guidance
  • Add validation.mdx for post-installation validation steps
  • Add next_steps.mdx for post-installation next steps
  • Update install section weights and navigation
  • Fix internal links to use relative paths
  • Update llms.txt to reflect new structure

Summary by CodeRabbit

  • Documentation
    • Restructured install flow: Plan → Prepare → Download → Installing → Validate → Next Steps
    • Added Planning guide for deployment architecture and install-time decisions
    • Added Validation page with post-install readiness checks and troubleshooting commands
    • Added Next Steps page with prioritized post-install tasks and Product Docs plugin install steps
    • Clarified install scope, download/Customer Portal guidance, and node preparation notes

@youyongsong youyongsong requested a review from chinameok April 30, 2026 04:13
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Apr 30, 2026

Walkthrough

Restructures the ACP Core installation docs: adds planning, validation, and next-steps pages; reorganizes overview, installing, and download content; updates index/metadata and llms routing; and standardizes product naming in node preprocessing.

Changes

Cohort / File(s) Summary
New Pages
docs/en/install/planning.mdx, docs/en/install/validation.mdx, docs/en/install/next_steps.mdx
Adds planning checklist, post-install validation steps, and a consolidated next-steps/post-install tasks page (including Product Docs plugin install instructions).
Overview & Installing
docs/en/install/overview.mdx, docs/en/install/installing.mdx
Rewrites installation scope and workflow; shifts verification steps out of installing.mdx and links to the new validation/next-steps pages.
Index & Metadata
docs/en/install/index.mdx, docs/en/install/global_dr.mdx, llms.txt
Removes intro text from index, updates global_dr.mdx front-matter weight (40→60), and updates llms.txt to reflect new install flow entries.
Prepare / Download / Node Preprocessing
docs/en/install/prepare/download.mdx, docs/en/install/prepare/node_preprocessing.mdx
Renames H1 to "Download", adds Customer Portal section, reworks package architecture guidance, and replaces explicit "ACP" references with <Term name="productShort" />.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

Suggested reviewers

  • chinameok
  • timonwong

Poem

🥕 I hopped through docs with tidy bites,
Planning maps and validation lights.
Next steps stitched, downloads in view,
Global cluster’s guide — neat and true.
A rabbit cheers: docs polished anew! 🐰

🚥 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 PR title accurately describes the main objective: reorganizing the install documentation structure with new pages (planning, validation, next_steps) and updated navigation.
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 refactor-install-section

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
Review rate limit: 0/1 reviews remaining, refill in 60 minutes.

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 the current code and only fix it if needed.

Inline comments:
In `@docs/en/install/validation.mdx`:
- Around line 24-25: Update the heading text to match the kubectl command:
replace "Check if there are any failed Charts" with wording that references the
actual resource being queried (e.g., "Check if there are any failed AppReleases"
or "Check for failed apprelease resources") so the label aligns with the command
`kubectl get apprelease --all-namespaces`.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 5c637a32-d7f7-49f4-ad34-259a2ec810dc

📥 Commits

Reviewing files that changed from the base of the PR and between 4a7b8ad and 1f3416f.

📒 Files selected for processing (9)
  • docs/en/install/global_dr.mdx
  • docs/en/install/index.mdx
  • docs/en/install/installing.mdx
  • docs/en/install/next_steps.mdx
  • docs/en/install/overview.mdx
  • docs/en/install/planning.mdx
  • docs/en/install/prepare/download.mdx
  • docs/en/install/validation.mdx
  • llms.txt
💤 Files with no reviewable changes (1)
  • docs/en/install/index.mdx

Comment thread docs/en/install/validation.mdx
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Apr 30, 2026

Deploying alauda-container-platform with  Cloudflare Pages  Cloudflare Pages

Latest commit: 9cd4096
Status: ✅  Deploy successful!
Preview URL: https://62956fd9.alauda-container-platform.pages.dev
Branch Preview URL: https://refactor-install-section.alauda-container-platform.pages.dev

View logs

- Add planning.mdx for pre-installation planning guidance
- Add validation.mdx for post-installation validation steps
- Add next_steps.mdx for post-installation next steps
- Update install section weights and navigation
- Fix internal links to use relative paths
- Update llms.txt to reflect new structure

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@youyongsong youyongsong force-pushed the refactor-install-section branch from 1f3416f to 9cd4096 Compare April 30, 2026 09:46
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 the current code and only fix it if needed.

Inline comments:
In `@llms.txt`:
- Around line 313-323: The install index (llms.txt) is missing the prepare
landing page referenced by overview.mdx; add an entry for
docs/en/install/prepare/index.mdx into the "install" list alongside the existing
prepare subpages so the new install flow (overview.mdx → ./prepare/index.mdx) is
discoverable end-to-end. Ensure the new line follows the same format as other
entries and appears before the prepare/* subpage lines so readers see the
landing page first.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 3567c29f-b810-4def-a510-19e33a8fded2

📥 Commits

Reviewing files that changed from the base of the PR and between 1f3416f and 9cd4096.

📒 Files selected for processing (10)
  • docs/en/install/global_dr.mdx
  • docs/en/install/index.mdx
  • docs/en/install/installing.mdx
  • docs/en/install/next_steps.mdx
  • docs/en/install/overview.mdx
  • docs/en/install/planning.mdx
  • docs/en/install/prepare/download.mdx
  • docs/en/install/prepare/node_preprocessing.mdx
  • docs/en/install/validation.mdx
  • llms.txt
💤 Files with no reviewable changes (1)
  • docs/en/install/index.mdx
✅ Files skipped from review due to trivial changes (6)
  • docs/en/install/global_dr.mdx
  • docs/en/install/prepare/node_preprocessing.mdx
  • docs/en/install/next_steps.mdx
  • docs/en/install/validation.mdx
  • docs/en/install/prepare/download.mdx
  • docs/en/install/planning.mdx
🚧 Files skipped from review as they are similar to previous changes (1)
  • docs/en/install/installing.mdx

Comment thread llms.txt
Comment on lines 313 to +323
## install

- [docs/en/install/global_dr.mdx](docs/en/install/global_dr.mdx): Global cluster disaster recovery guide for ACP using primary and standby global clusters with real-time etcd synchronization. It covers supported failure scenarios, excluded namespaces and data limitations, DNS and VIP planning, primary and standby installation requirements, encryption key copying, etcd Synchronizer plugin configuration, sync verification, failover steps, service restarts, package upload considerations, and routine consistency checks.
- [docs/en/install/installing.mdx](docs/en/install/installing.mdx): Step-by-step guide for installing the ACP `global` cluster from the Core Package. It covers extracting the installer, starting `setup.sh` with optional IPv6 mode, configuring installation parameters in the web UI, verifying app releases and Pods with `kubectl`, installing the Product Docs plugin, detailed parameter guidance for Kubernetes version, endpoints, certificates, image registry, networking, nodes, and cleanup of the installer container.
- [docs/en/install/overview.mdx](docs/en/install/overview.mdx): Overview of ACP Core installation, defining installation as deployment of the `global` cluster before creating or importing workload clusters and installing extensions. It explains preparation, execution, and verification stages, and introduces the Alauda Customer Portal as the official source for downloads, documentation, support, marketplace packages, and license management.
- [docs/en/install/installing.mdx](docs/en/install/installing.mdx): Installing guide for ACP Core and the ACP `global` cluster from the Core Package. It covers extracting the installer, starting `setup.sh` with optional IPv6 mode, configuring installation parameters in the web UI, linking to ACP Core validation, detailed parameter guidance for Kubernetes version, endpoints, certificates, image registry, networking, nodes, and cleanup of the installer container.
- [docs/en/install/next_steps.mdx](docs/en/install/next_steps.mdx): Next steps after ACP Core validation. It directs users to Product Docs plugin installation, Global Cluster Disaster Recovery, workload cluster onboarding, Extensions, identity and access setup, storage, networking, registry access, backup, upgrade, and observability documentation, and includes the Product Docs plugin installation steps.
- [docs/en/install/overview.mdx](docs/en/install/overview.mdx): Overview of ACP Core installation, defining installation as deployment of the `global` cluster and separating ACP Core from workload clusters, imported clusters, Extensions Packages, Operators, and Cluster Plugins. It provides the install route map across planning, preparation, download, installation, validation, and post-install tasks.
- [docs/en/install/planning.mdx](docs/en/install/planning.mdx): Planning guide for ACP Core installation. It compares Multi-Cluster, Single Cluster, and Single Node deployment architectures; lists install-time decisions such as package architecture, IP family, endpoints, load balancing, certificates, image repository, nodes, and Global DR; and links to read-before-install source pages.
- [docs/en/install/prepare/download.mdx](docs/en/install/prepare/download.mdx): Preparation guide for downloading the ACP Core Package from the Alauda Customer Portal. It explains architecture choices for x86, ARM, and hybrid packages, the requirement to install Core before extension packages in ACP v4.1 and later, and the process for migrating a single-architecture installation to hybrid by syncing images and removing the `cpaas.io/node-arch-constraint` label if present.
- [docs/en/install/prepare/node_preprocessing.mdx](docs/en/install/prepare/node_preprocessing.mdx): Node preprocessing checklist for ACP global cluster installation. It lists supported OS and kernel versions, CPU architecture notes, the `init.sh` quick configuration script, required checks for grub parameters, kernel modules, SELinux, swap, SSH, DNS, routes, ports, packages, temporary mounts, conflicting container or Kubernetes software, filesystem cleanup, cross-node connectivity, unique hostnames, and clock synchronization.
- [docs/en/install/prepare/prerequisites.mdx](docs/en/install/prepare/prerequisites.mdx): Prerequisites and resource planning guide for installing an ACP global cluster. It covers deployment architectures for multi-cluster, single-cluster, and single-node setups, minimum CPU and memory guidance including ARM sizing notes, required VIPs, external IPs, domain names, certificates, bandwidth, latency, network segments, and load balancer forwarding rules for ports such as 443, 6443, 11443, and optionally 2379.
- [docs/en/install/validation.mdx](docs/en/install/validation.mdx): ACP Core installation validation guide. It covers Web UI access validation, `kubectl` checks for failed app releases, Pod health checks, expected successful states, and the next step after validation.
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.

⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Add the prepare landing page to the install index.

docs/en/install/overview.mdx now routes step 2 through ./prepare/index.mdx, but llms.txt only lists the prep subpages. Adding the landing page keeps the new install flow discoverable end-to-end.

Suggested addition
 ## install
 - [docs/en/install/global_dr.mdx](docs/en/install/global_dr.mdx): Global cluster disaster recovery guide for ACP using primary and standby global clusters with real-time etcd synchronization.
+- [docs/en/install/prepare/index.mdx](docs/en/install/prepare/index.mdx): Install preparation landing page covering prerequisites, node preprocessing, and download guidance.
 - [docs/en/install/installing.mdx](docs/en/install/installing.mdx): Installing guide for ACP Core and the ACP `global` cluster from the Core Package.
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@llms.txt` around lines 313 - 323, The install index (llms.txt) is missing the
prepare landing page referenced by overview.mdx; add an entry for
docs/en/install/prepare/index.mdx into the "install" list alongside the existing
prepare subpages so the new install flow (overview.mdx → ./prepare/index.mdx) is
discoverable end-to-end. Ensure the new line follows the same format as other
entries and appears before the prepare/* subpage lines so readers see the
landing page first.

| Priority | Task | When to use | Continue with |
| --- | --- | --- | --- |
| Recommended immediately | Install the Product Docs plugin. | Install this plugin so in-console help links can open product documentation. | [Install Product Docs Plugin](#install_product_docs_plugin) |
| Conditional | Configure Global Cluster Disaster Recovery. | Use this path when your environment requires primary and standby `global` clusters. | [Global Cluster Disaster Recovery](./global_dr.mdx) |
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.

Global Cluster Disaster Recovery should not be presented as a normal post-install next step. DR planning affects pre-install decisions such as domain names, VIPs, certificates, LoadBalancer rules, image registry choices, package architecture, and Primary/Standby installation parameter consistency. This PR already states in planning.mdx that users should read the DR guide before installing Core, so listing “Configure Global Cluster Disaster Recovery” here after Core validation can mislead users into planning DR too late. Please remove this row from Next Steps, or reword it to cover only post-install DR verification/drill actions for environments where DR was already planned before installation.

@youyongsong
Copy link
Copy Markdown
Collaborator Author

Closing this PR because it is superseded by the combined install + overview refactor branch: refactor-install-overview-sections. A new PR will be opened from that branch.

@youyongsong
Copy link
Copy Markdown
Collaborator Author

Replacement PR: #764

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