This section describes how to view Kubernetes resources in a project through a directory tree format.

Prerequisites

  • The DevOps extension must be installed and enabled on the KubeSphere platform.

  • A workspace, a DevOps project, and a user (e.g., project-regular) have been created. The user has been invited to the DevOps project and granted the operator role. Please refer to Invite a User to a DevOps Project.

Steps

  1. Log in to the KubeSphere console as the project-regular user and enter your workspace.

  2. Click  DevOps > Resource Management in the left navigation pane.

  3. Select a DevOps project from the drop-down list in the upper left corner of the page.

  4. Click to search for resource files, or click a directory name to view the files within that directory in the right pane.

    • Click the triangle right to the left of a directory to expand that single directory.

    • Click the fold to the right of All Resources to collapse all directories. Click refresh new to refresh the directories.

  5. In the right pane, click a file within a directory to view it.

    • Click the collapse1 at the top to collapse the directory tree area. Click expand1 again to expand the directory tree area.

    • Click the download light in the top right corner to download the current resource file.