This is the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

Workload

    A workload is an application that runs on Kubernetes, and users can add workloads to the DevOps Console for management.

    The workload types that can be managed from the DevOps Console are Deployment, StatefulSet, and DaemonSet.

    Getting Started

    To begin using the workload, follow these steps.

    1. On the Main page, click the Project card. You will be taken to the Project Dashboard page.
    2. Click the Build/Deploy > Kubernetes Deploy menu in the left menu. You will be taken to the Kubernetes Deploy page.
    3. On the Kubernetes Deployment page, click the workload name.
      ItemExplanation
      Workload typeDisplays the workload type.
      • Deployment
      • StatefulSet
      • DaemonSet
      NameDisplays the workload name. Click to view detailed information.
      ChartDisplays the Helm chart information used for deployment.
      Cluster/NamespaceDisplays the deployed cluster/namespace.
      Pod statusDisplays the current status of the Pod.
      Deployment resultDisplays the deployment execution result.
      Deployment timeDisplays the deployment execution time.
      RefreshRefresh the current items. The items that will be updated are the Pod status, deployment result, and deployment time.
      DeleteDelete the current item.
      Table. Workload screen items

    Add workload

    To add a workload, follow the steps below.

    1. On the Main page, click the Project card. You will be taken to the Project Dashboard page.
    2. Click the Build/Deploy > Kubernetes Deploy menu in the left menu. You will be taken to the Kubernetes Deploy page.
    3. On the Kubernetes deployment page, click the Add workload menu. The Add workload popup opens.
    4. Add Workload Enter the information in the popup window and click the Save button.
    5. In the confirmation popup, click the Confirm button to complete adding the workload.
      Item
      Explanation
      Query targetOnly 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 projectShows the workload already registered in the project.
      • Workloads already registered in the project cannot be added.
      Table. Additional Workload Input Items

    Modify 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.

    1. On the Deployment Details page, click the Edit Credentials icon to the right of K8S Cluster/Namespace. The Edit Credentials popup will open.
    2. Authentication information is fixed to the logged-in user’s account. Click the Save button to edit.
    3. In the confirmation popup, click the Confirm button.
    4. K8S authentication information will be changed to the logged-in user.

    Rollback Workload

    To roll back the workload to a previous image, follow these steps.

    1. On the Main page, click the Project card. You will be taken to the Project Dashboard page.
    2. In the left menu, click the Build/Deploy > Kubernetes Deployment menu. You will be taken to the Kubernetes Deployment page.
    3. Kubernetes deployment page, click the workload name to roll back. You will be taken to the Workload details page.
    4. Click the Details tab on the Workload Details page.
    5. In the Details tab list, click the Rollback button in the row that contains the image you want to roll back. The Rollback popup window opens.
    6. Rollback popup window, click the desired button to complete the rollback.
      • Recreate
      • Rolling Update

    Add recipient to deployment results

    To add a distribution result recipient, follow these steps.

    1. Click the Deployment Result Recipients tab on the Workload Details page.
    2. Click the Add button on the Distribution Result Recipients tab. The Add Distribution Result Recipients popup window opens.
    3. Add Distribution Result Recipients In the popup window, select the target and click the Confirm button to complete adding distribution result recipients.
      • Search button or click an entry in the list to add the recipient to the lower part of the popup.
      • Added recipients can be removed by clicking the X icon on the right.

    Delete workload

    To delete the workload, follow these steps.

    1. On the Kubernetes deployment page, click the X icon of the workload you want to delete.
    2. In the confirmation popup, click the Confirm button to complete the deletion.
      Reference
      Workloads are not deleted in the actual cluster.
      If you want to delete in the actual cluster, delete it using the same method you used to initially deploy the workload.