Skip to content

docs: standardize and improve getting started guide#309

Open
vanshika2720 wants to merge 2 commits into
kmesh-net:mainfrom
vanshika2720:docs/improve-getting-started
Open

docs: standardize and improve getting started guide#309
vanshika2720 wants to merge 2 commits into
kmesh-net:mainfrom
vanshika2720:docs/improve-getting-started

Conversation

@vanshika2720

Copy link
Copy Markdown

[Docs] Standardize and Improve the "Getting Started" Guide

Description

This pull request standardizes and improves the formatting and readability of the Kmesh Quick Start guide (docs/setup/quick-start.md). Previously, the guide presented multiple environment preparation, installation, verification, and uninstallation paths sequentially, which resulted in a lengthy document with repetitive sections.

To improve the developer onboarding experience, this PR introduces Docusaurus <Tabs> to clearly separate instructions based on the user's specific environment and chosen installation method.

Key Changes

  • Cluster Preparation Tabs: Separated Kubernetes cluster setup instructions into kind (Recommended), minikube, and Existing Cluster tabs.
  • Istio Installation Tabs: Grouped Istio control plane setup into Istio Ambient Mode (Recommended) and Istiod Only (Minimal) tabs.
  • Kmesh Installation & Clean Up Sync: Organized Kmesh installation methods (OCI Registry, Local Helm Chart, Helm Archive, YAML Manifests) into tabs. Linked the uninstallation tabs to the same groupId (install-method) so Docusaurus automatically synchronizes the clean-up instructions with the user's selected installation preference.
  • Structured Verification: Converted the 5-step verification process (Core Components, Pod Integration, Service Connectivity, Service Logs, CNI Configuration) into interactive tabs to improve scannability and reduce vertical scrolling.
  • Formatting: Ran Prettier strictly on the modified file to ensure formatting compliance.

Checklist

  • Verified Docusaurus <Tabs> syntax and groupId synchronization.
  • Ran Prettier on modified files only.
  • Ensured no unrelated or unintended changes are present.
  • Added DCO sign-off (Signed-off-by) to all commits.

Copilot AI review requested due to automatic review settings May 17, 2026 10:21
@netlify

netlify Bot commented May 17, 2026

Copy link
Copy Markdown

Deploy Preview for kmesh-net ready!

Name Link
🔨 Latest commit 5fe28de
🔍 Latest deploy log https://app.netlify.com/projects/kmesh-net/deploys/6a09f082f5e3040008258d85
😎 Deploy Preview https://deploy-preview-309--kmesh-net.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@kmesh-bot

Copy link
Copy Markdown
Collaborator

[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 kevin-wangzefeng for approval. For more information see the Kubernetes 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

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

Copy link
Copy Markdown

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 refactors the Kmesh Quick Start guide by introducing Docusaurus tabs to organize cluster preparation, Istio installation, and Kmesh deployment methods. While the structural changes improve readability, the review identifies several critical issues in the documentation logic and command portability. Specifically, the 'Service Connectivity' verification step is logically misplaced as it occurs before the sample applications are deployed. Furthermore, multiple commands rely on hardcoded pod names or JSONPath expressions that would fail in multi-node clusters; these should be updated to use label selectors to ensure the guide is functional for all users.

Comment thread docs/setup/quick-start.md Outdated
Comment thread docs/setup/quick-start.md Outdated
Comment thread docs/setup/quick-start.md Outdated
Comment thread docs/setup/quick-start.md Outdated
Comment thread docs/setup/quick-start.md Outdated

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Copilot AI review requested due to automatic review settings May 17, 2026 10:50

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

- Restructure quick-start guide using Docusaurus Tabs for cluster
  preparation, Istio installation, Kmesh installation, verification,
  and uninstallation sections
- Use label selectors instead of hardcoded pod names for portability
- Fix kubectl logs JSONPath to target first pod in multi-node clusters
- Remove premature connectivity test from verification section
- Separate commands from output into distinct code blocks
- Synchronize install/uninstall tabs via shared groupId

Signed-off-by: vanshika2720 <pahalvanshikaa@gmail.com>
@vanshika2720 vanshika2720 force-pushed the docs/improve-getting-started branch from 9581023 to 942c10e Compare May 17, 2026 10:57
Copilot AI review requested due to automatic review settings May 17, 2026 16:26

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Signed-off-by: vanshika2720 <pahalvanshikaa@gmail.com>
@vanshika2720 vanshika2720 force-pushed the docs/improve-getting-started branch from 94aae0d to 5fe28de Compare May 17, 2026 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants