Generate Workload Template
This section describes how to generate a template based on an existing workload.
Prerequisites
You need to join a cluster and have the Application Workload Management permission in the cluster. For more information, see Cluster Members and Cluster Roles.
Steps
-
Log in to the KubeSphere web console with a user who has Application Workload Management permissions and enter your cluster.
-
Click Application Workloads > Workloads in the left navigation pane.
-
On the Workloads page, click Deployments, StatefulSets, or DaemonSets to open the workload list.
-
On the right side of the workload you want to operate, click
, then select Generate Template from the dropdown list.
-
In the Generate Template dialog box, enter the template name, select the project to which the template belongs, and then click OK.