Skip to content

Update Troubleshooting Guide with v1.21 and Feedback from #726#729

Closed
sachin21212121 wants to merge 1 commit intokubeedge:masterfrom
sachin21212121:docs/troubleshooting-update
Closed

Update Troubleshooting Guide with v1.21 and Feedback from #726#729
sachin21212121 wants to merge 1 commit intokubeedge:masterfrom
sachin21212121:docs/troubleshooting-update

Conversation

@sachin21212121
Copy link

This PR updates the troubleshooting guide with:

  1. Steps for fixing keadm init download failures.

  2. Correct CRD references for v1.21.0.

  3. Additional troubleshooting for Pending/Terminating pods.

  4. Logging instructions for CloudCore, EdgeCore, and Pods.

  5. Updates based on feedback from Shelley in update troubleshooting guide with CRD links and improved formatting #726
    .

…ting

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 significantly overhauls the KubeEdge troubleshooting documentation. The primary goal is to provide clearer, more up-to-date guidance for users encountering common issues during setup and operation, particularly concerning keadm init failures, pod lifecycle problems, and log retrieval. These changes aim to streamline the debugging process and improve the overall user experience by offering precise steps and relevant version-specific information.

Highlights

  • Updated Troubleshooting Guide: The troubleshooting guide has been significantly updated to address common issues more comprehensively.
  • keadm init Download Failures: New steps have been added to guide users through fixing keadm init download failures, specifically detailing manual downloads for KubeEdge v1.21.0 releases and CRDs.
  • Corrected CRD References: The guide now correctly references v1beta1 CRDs for KubeEdge v1.21.0, replacing older v1alpha versions for device-related CRDs.
  • Pending/Terminating Pods: Enhanced troubleshooting steps are provided for pods stuck in Pending or Terminating states, including checks for node health, pod descriptions, EdgeCore logs, architecture compatibility, and disk space.
  • Logging Instructions: Detailed instructions for viewing logs for CloudCore, EdgeCore, and pods have been added, covering both systemd and manual execution scenarios, as well as direct file access and kubectl logs.
  • Feedback Incorporation: Updates based on feedback from a previous pull request (update troubleshooting guide with CRD links and improved formatting #726) have been integrated to improve clarity and accuracy.
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 much-needed update to the troubleshooting guide, bringing it up to date with KubeEdge v1.21.0. The restructuring of the content and the addition of new troubleshooting steps for pod states and logging significantly improve the document's clarity and usefulness. However, I've identified a critical formatting issue where the entire file has been wrapped in a markdown code block, which will prevent the page from rendering correctly. Additionally, the links for downloading CRD files are incorrect. My review includes suggestions to fix these issues and a minor change to improve structural consistency.

Comment on lines +1 to +2

````markdown

Choose a reason for hiding this comment

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

critical

The file starts with a blank line and a markdown code fence. This is invalid and will cause rendering issues. The YAML frontmatter must be at the very beginning of the file, and the markdown fence is causing the entire document to be treated as a code block. Please remove the blank line and the fence.

Comment on lines +134 to +135
```
```

Choose a reason for hiding this comment

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

critical

These closing markdown fences are unnecessary and likely related to the invalid opening fence at the start of the file. They should be removed to prevent rendering issues.

Comment on lines +30 to +33
- [devices_v1beta1_device.yaml](https://github.com/kubeedge/kubeedge/blob/v1.21.0/build/crds/devices/devices_v1beta1_device.yaml)
- [devices_v1beta1_devicemodel.yaml](https://github.com/kubeedge/kubeedge/blob/v1.21.0/build/crds/devices/devices_v1beta1_devicemodel.yaml)
- [cluster_objectsync_v1alpha1.yaml](https://github.com/kubeedge/kubeedge/blob/v1.21.0/build/crds/reliablesyncs/cluster_objectsync_v1alpha1.yaml)
- [objectsync_v1alpha1.yaml](https://github.com/kubeedge/kubeedge/blob/v1.21.0/build/crds/reliablesyncs/objectsync_v1alpha1.yaml)

Choose a reason for hiding this comment

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

high

The links to the CRD YAML files point to the GitHub HTML view (github.com/.../blob/...) instead of the raw file content. This will prevent users from downloading the files directly using tools like wget or curl. Please update the links to point to the raw content on raw.githubusercontent.com.

Suggested change
- [devices_v1beta1_device.yaml](https://github.com/kubeedge/kubeedge/blob/v1.21.0/build/crds/devices/devices_v1beta1_device.yaml)
- [devices_v1beta1_devicemodel.yaml](https://github.com/kubeedge/kubeedge/blob/v1.21.0/build/crds/devices/devices_v1beta1_devicemodel.yaml)
- [cluster_objectsync_v1alpha1.yaml](https://github.com/kubeedge/kubeedge/blob/v1.21.0/build/crds/reliablesyncs/cluster_objectsync_v1alpha1.yaml)
- [objectsync_v1alpha1.yaml](https://github.com/kubeedge/kubeedge/blob/v1.21.0/build/crds/reliablesyncs/objectsync_v1alpha1.yaml)
- [devices_v1beta1_device.yaml](https://raw.githubusercontent.com/kubeedge/kubeedge/v1.21.0/build/crds/devices/devices_v1beta1_device.yaml)
- [devices_v1beta1_devicemodel.yaml](https://raw.githubusercontent.com/kubeedge/kubeedge/v1.21.0/build/crds/devices/devices_v1beta1_devicemodel.yaml)
- [cluster_objectsync_v1alpha1.yaml](https://raw.githubusercontent.com/kubeedge/kubeedge/v1.21.0/build/crds/reliablesyncs/cluster_objectsync_v1alpha1.yaml)
- [objectsync_v1alpha1.yaml](https://raw.githubusercontent.com/kubeedge/kubeedge/v1.21.0/build/crds/reliablesyncs/objectsync_v1alpha1.yaml)

└── kubeedge-v1.21.0-linux-amd64.tar.gz
````

**Run keadm init with version flag**

Choose a reason for hiding this comment

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

medium

For better document structure and consistency with other sections, this subheading should be a level 4 markdown header (####) instead of bolded text.

Suggested change
**Run keadm init with version flag**
#### Run keadm init with version flag

@sachin21212121 sachin21212121 deleted the docs/troubleshooting-update branch September 26, 2025 07:27
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