This section describes how to create a workload template.

You can create a workload template directly, or create a template based on an existing workload.

Prerequisites

You need to join a project and have the Application Workload Management permission in the project. For more information, see Project Members and Project Roles.

Steps

  1. Log in to the KubeSphere web console with a user who has Application Workload Management permissions and enter your workspace.

  2. Click Application Workloads > Workload Templates in the left navigation pane.

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

  4. Click Create on the page.

    Select a workload type, such as Deployment, StatefulSet, or DaemonSet.

  5. The subsequent steps are the same as creating a workload. Please refer to Create a Workload.