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

Workloads

This section describes how to manage workloads.

In KubeSphere, applications run in pods. To ensure business continuity when a single pod fails, it is usually necessary to create multiple pod replicas for an application. Workloads are resources used to manage pod replicas, responsible for managing multiple pod replicas of an application, and mainly provide the following functions:

  • Automatically scale the number of pod replicas based on user-defined conditions.

  • Automatically update pods based on the update strategy specified by the user.

  • Roll back pods to a previous version.

Multi-cluster projects support the following workload types:

  • Deployment: Used to manage stateless applications. Deployments manage multiple pod replicas that share a volume. When a pod replica is recreated, the new pod replica has a different name from the old one.

  • StatefulSet: Used to manage stateful applications. StatefulSets manage multiple pod replicas that can use independent volumes. Each pod replica has a fixed sequence number, and when a pod replica is recreated, the new pod replica has the same name as the old one.

Create Workloads

Learn how to create a workload.

View Workload List

Learn how to view the workload list.

View Workload Details

Learn how to view workload details.

Edit Workload Information

Learn how to edit workload information.

Adjust Number of Pod Replicas

Learn how to adjust the number of pod replicas.

Stop Workloads

Learn how to stop a workload.

Edit Workload Settings

Learn how to edit workload settings.

Delete Workloads

Learn how to delete a workload.