You are viewing documentation for KubeSphere version:v3.0.0

KubeSphere v3.0.0 documentation is no longer actively maintained. The version you are currently viewing is a static snapshot. For up-to-date documentation, see the latest version.

DevOps Project Management

This tutorial demonstrates how to create and manage DevOps projects.

Prerequisites

Create a DevOps Project

  1. Log in to the console of KubeSphere as project-admin. Go to DevOps Projects and click Create.

    devops-project-create

  2. Provide the basic information for the DevOps project and click OK.

    create-devops

    • Name: A concise and clear name for this DevOps project, which is convenient for users to identify, such as demo-devops.
    • Alias: The alias name of 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 at the same time. If you have enabled the multi-cluster feature, you must select the cluster where your DevOps project runs.
  3. A DevOps project will appear in the list below after created.

    devops-list

View a DevOps Project

Click the DevOps project just created to go to its detail page. Tenants with different permissions are allowed to perform various tasks in a DevOps project, including creating CI/CD pipelines and credentials, and managing accounts and roles.

devops-detail-page

Pipelines

A pipeline entails a collection of plugins that allow you to constantly and consistently test and build your code. It combines continuous integration (CI) and continuous delivery (CD) to provide streamlined workflows so that your code can be automatically delivered to any target.

Credentials

A DevOps project user with required permissions can configure credentials for pipelines for the interaction with external environments. Once the user adds these credentials in a DevOps project, the credentials can be used by the DevOps project to interact with third-party applications, such as GitHub, GitLab and Docker Hub. For more information, see Credential Management.

Members and roles

Similar to a project, a DevOps project also requires users to be granted different roles before they can work in the DevOps project. Project administrators (for example, project-admin) are responsible for inviting tenants and granting them different roles. For more information, see Role and Member Management.

Edit or Delete a DevOps Project

  1. Click Basic Info under Project Management, and you can see an overview of the current DevOps project, including the number of project roles and members, project name and project creator.

  2. Click Project Management on the right, and you can edit the basic information of the DevOps project or delete it.

    project-basic-info