Skip to content

Update install-with-keadm.md for KubeEdge v1.21#732

Closed
sachin21212121 wants to merge 3 commits intokubeedge:masterfrom
sachin21212121:docs/update-keadm-v1.21
Closed

Update install-with-keadm.md for KubeEdge v1.21#732
sachin21212121 wants to merge 3 commits intokubeedge:masterfrom
sachin21212121:docs/update-keadm-v1.21

Conversation

@sachin21212121
Copy link

This PR updates the install-with-keadm.md documentation based on feedback from PR #725.

Changes include:

  1. Updated instructions for KubeEdge v1.21.

  2. Fixed all broken links.

  3. Removed redundant content and excessive blank lines.

  4. Corrected code block language formatting.

  5. Added “Deprecated Commands” sections for clarity.

  6. Simplified and clarified the introduction and prerequisites.

…links and metrics-server YAML

Signed-off-by: sachin21212121 <jhasachin0115@gmail.com>
@kubeedge-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
To complete the pull request process, please assign kevin-wangzefeng after the PR has been reviewed.
You can assign the PR to them by writing /assign @kevin-wangzefeng in a comment when ready.

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
Copy link

Summary of Changes

Hello @sachin21212121, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request focuses on a comprehensive update to the install-with-keadm.md documentation. The primary goal is to align the installation guide with KubeEdge v1.21, ensuring that users have access to the most current and accurate information. The changes also address previous feedback by enhancing clarity, removing outdated content, and improving the overall structure and presentation of the installation steps.

Highlights

  • KubeEdge v1.21 Update: The documentation has been thoroughly updated to reflect the latest instructions and commands for KubeEdge version 1.21.
  • Documentation Clarity and Accuracy: Broken links have been fixed, redundant content and excessive blank lines removed, and code block language formatting corrected to improve overall readability and accuracy.
  • Deprecated Commands: New sections for 'Deprecated Commands' have been added for both cloud and edge setup, providing clearer guidance on older methods.
  • Simplified Prerequisites and Introduction: The introductory text and prerequisites have been streamlined for better understanding and ease of use.
  • Metrics-server Setup Refinement: The instructions for supporting Metrics-server in the cloud have been significantly condensed and clarified, removing verbose explanations and consolidating steps.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@kubeedge-bot kubeedge-bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Sep 26, 2025
Copy link

@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 provides a significant improvement to the install-with-keadm.md documentation by updating it for KubeEdge v1.21 and refactoring it for better clarity and conciseness. The new structure is much easier to follow. I've identified a few critical issues, including incorrect command syntax within code blocks and a broken link, which will prevent users from successfully following the instructions. After addressing these points, the documentation will be in great shape.

docker run --rm kubeedge/installation-package:v1.17.0 cat /usr/local/bin/keadm > /usr/local/bin/keadm && chmod +x /usr/local/bin/keadm
```
```bash
wget [https://github.com/kubeedge/kubeedge/releases/download/v1.21.0/keadm-v1.21.0-linux-amd64.tar.gz](https://github.com/kubeedge/kubeedge/releases/download/v1.21.0/keadm-v1.21.0-linux-amd64.tar.gz)

Choose a reason for hiding this comment

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

high

The wget command in this code block includes Markdown link syntax [text](url), which is not valid for a shell command. This will cause the command to fail if a user copies and pastes it. The URL should be passed directly to wget.

Suggested change
wget [https://github.com/kubeedge/kubeedge/releases/download/v1.21.0/keadm-v1.21.0-linux-amd64.tar.gz](https://github.com/kubeedge/kubeedge/releases/download/v1.21.0/keadm-v1.21.0-linux-amd64.tar.gz)
wget https://github.com/kubeedge/kubeedge/releases/download/v1.21.0/keadm-v1.21.0-linux-amd64.tar.gz

# keadm gettoken
27a37ef16159f7d3be8fae95d588b79b3adaaf92727b72659eb89758c66ffda2.eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE1OTAyMTYwNzd9.JBj8LLYWXwbbvHKffJBpPd5CyxqapRQYDIXtFZErgYE
```
Refer to [Enable Kubectl logs/exec documentation](https://www.google.com/search?q=../advanced/debug.md).

Choose a reason for hiding this comment

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

high

The link for "Enable Kubectl logs/exec documentation" incorrectly points to a Google search query. This link should point to the actual documentation page to be useful for the user. The previous relative link ../advanced/debug.md was correct and would be resolved by the documentation generator.

Suggested change
Refer to [Enable Kubectl logs/exec documentation](https://www.google.com/search?q=../advanced/debug.md).
Refer to [Enable Kubectl logs/exec documentation](../advanced/debug.md).

```shell
keadm join --cloudcore-ipport="THE-EXPOSED-IP":10000 --token=27a37ef16159f7d3be8fae95d588b79b3adaaf92727b72659eb89758c66ffda2.eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE1OTAyMTYwNzd9.JBj8LLYWXwbbvHKffJBpPd5CyxqapRQYDIXtFZErgYE --kubeedge-version=v1.12.1
```bash
git clone [https://github.com/kubernetes-sigs/metrics-server.git](https://github.com/kubernetes-sigs/metrics-server.git)

Choose a reason for hiding this comment

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

high

The git clone command in this code block includes Markdown link syntax [text](url), which is invalid in a shell command. This will cause the command to fail if copied and pasted. The repository URL should be provided directly to the git clone command.

Suggested change
git clone [https://github.com/kubernetes-sigs/metrics-server.git](https://github.com/kubernetes-sigs/metrics-server.git)
git clone https://github.com/kubernetes-sigs/metrics-server.git

Comment on lines +239 to +240
```
```

Choose a reason for hiding this comment

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

medium

There is an empty code block at the end of the file. This appears to be a leftover from editing and should be removed to improve the document's cleanliness.

@sachin21212121 sachin21212121 deleted the docs/update-keadm-v1.21 branch September 26, 2025 09:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants