< img height="1" width="1" style="display:none;" alt="" src="https://px.ads.linkedin.com/collect/?pid=3131724&fmt=gif" />

Create and Manage DevOps Projects

This section demonstrates how to create and manage DevOps projects.

Prerequisites

  • A workspace and a user (project-admin) have been created. Invite this user to the workspace and assign them the workspace-self-provisioner role. For more information, see Control User Permissions.

  • DevOps must have been installed and enabled.

Create a DevOps Project

  1. Log in to the KubeSphere web console as the project-admin user and navigate to a workspace.

  2. Click DevOps Projects and then click Create.

  3. Enter the basic information for the DevOps project and click OK.

    • Name: A concise name for the DevOps project, e.g., demo-devops.

    • Alias: An alias for the DevOps project.

    • Description: A brief introduction to the DevOps project.

    • Cluster Settings: In the current version, a DevOps project cannot run across multiple clusters simultaneously. If there are multiple clusters, you must choose one cluster to run the DevOps project.

  4. Once the DevOps project is created, it will be displayed in the list on the DevOps Projects page.

View the DevOps Project

Click the newly created DevOps project to navigate to its details page.

In a DevOps project, users can create CI/CD pipelines, credentials, and manage project members and roles. The actions that users can perform in a DevOps project vary based on their permissions.

  • Pipelines

    Pipelines are a collection of plugins that support continuously integrating, testing, and building code. Pipelines combine continuous integration (CI) and continuous delivery (CD) to provide streamlined workflows that automatically deliver your code to any target.

  • Credentials

    DevOps project users with appropriate permissions can configure credentials for pipelines to interact with external environments. After users add credentials in the DevOps project, the project can use these credentials to interact with third-party applications such as GitHub, GitLab, and Docker Hub. For more information, see Credential Management.

  • Members and Roles

    Similar to projects, DevOps projects also need to assign roles to users so that they have different permissions within the DevOps project. Project administrators (e.g., project-admin) are responsible for inviting users and granting them different roles. For more information, see Role and Member Management.

Edit or Delete a DevOps Project

  1. Click Basic Information under DevOps Project Settings to view an overview of the current DevOps project, including the number of project roles and members, project name, and project creator.

  2. Click the Manage button on the right to edit the basic information of this DevOps project or delete the DevOps project.

Receive the latest news, articles and updates from KubeSphere


Thanks for the feedback. If you have a specific question about how to use KubeSphere, ask it on Slack. Open an issue in the GitHub repo if you want to report a problem or suggest an improvement.