The page has been translated by Gen AI.
Workload
A workload is an application that runs on Kubernetes. You can add workloads to the DevOps Console to manage them.
The workload types that can be managed in the DevOps Console are Deployment, StatefulSet, and DaemonSet.
Start the workload
To begin using the workload, follow these steps.
- Click the Project card on the Main page. 1. Navigates to the Project Dashboard page.
- In the left menu, click Build/Deploy > Kubernetes Deploy. 2. Go to the Kubernetes Deployment page.
- On the Kubernetes Deployment page, click the name of the workload.
Item Description Workload Type Indicates the workload type. DeploymentStatefulSetDaemonSet
Name Displays the workload name. Click to view detailed information. Chart Displays the Helm chart information used for the deployment. Cluster/Namespace Displays the deployed cluster/namespace. Pod status Displays the current status of the Pod. Deployment Results Displays the deployment execution results. Deployment time Displays the deployment execution time. Refresh Refreshes the current item. The updated fields are Pod status, deployment result, and deployment time. Delete Deletes the current item. Table. Workload screen items
Add a workload
To add a workload, follow the steps below.
- On the Main page, click the Project card. You will be taken to the Project Dashboard page.
- Click the Build/Deploy > Kubernetes Deploy menu in the left menu. You will be taken to the Kubernetes Deploy page.
- On the Kubernetes deployment page, click the Add workload menu. The Add workload popup opens.
- Add Workload Enter the information in the popup window and click the Save button.
- In the confirmation popup, click the Confirm button to complete adding the workload.Item
Explanation Query target Only workloads deployed with the same Base image as the App template used when the project was first created are displayed. Workload already registered in the project Shows the workload already registered in the project. - Workloads already registered in the project cannot be added.
Table. Additional Workload Input Items
Modifying K8S authentication information
K8S credentials are the authentication information used to verify permission to use a K8S cluster/namespace when performing a deployment in the build pipeline.
To modify the K8S credentials, follow these steps.
- On the Deployment Details page, click the Edit Credentials icon to the right of K8S Cluster/Namespace. The Edit Credentials popup will open.
- Authentication information is fixed to the logged-in user’s account. Click the Save button to edit.
- In the confirmation popup, click the Confirm button.
- K8S authentication information will be changed to the logged-in user.
Rolling Back a Workload
To roll back a workload to a previous image, follow these steps.
- Click the Project card on the Main page. 1. Navigates to the Project Dashboard page.
- In the left menu, click Build/Deploy > Kubernetes Deploy. 2. Go to the Kubernetes Deployment page.
- On the Kubernetes Deployment page, click the name of the workload to roll back. 3. Navigates to the Workload Details page.
- Click the Details tab on the Workload Details page.
- Click the Rollback button in the row containing the image you want to roll back in the Details tab list. 5. The Rollback popup window opens.
- Click the desired button in the Rollback popup to complete the rollback.
- Recreate
- Rolling Update
Add recipients to the deployment result
To add recipients to a deployment result, follow these steps.
- Click the Deployment Result Recipients tab on the Workload Details page.
- Click the Add button on the Deployment Result Recipients tab. 2. The Add Recipient to Deployment Result dialog box opens.
- In the Add Distribution Result Recipient dialog box, select the recipient and click the OK button to complete adding the distribution result recipient.
- Click the Search button or a list item to add recipients to the bottom of the popup.
- To remove an added recipient, click the X icon on the right.
Delete a workload
To delete a workload, follow these steps.
- On the Kubernetes Deployment page, click the X icon for the workload you want to delete.
- Click the Confirm button in the confirmation popup to complete the deletion.ReferenceWorkloads are not deleted in an actual cluster.
To delete a workload in an actual cluster, use the same method that was used for its initial deployment.