The page has been translated by Gen AI.

Managing Workloads

The workload is an application that runs on Kubernetes Engine. After creating a namespace, you can add or delete workloads. Workloads are created and then managed for each item such as Deployment, Pod, StatefulSet, DaemonSet, Job, and CronJob.

Reference

Deployments, Pods, StatefulSets, DaemonSets, Jobs, and CronJobs are set to the cluster (namespace) selected when creating the service by default. Even if you select a different item in the list, the default cluster (namespace) setting is retained.

  • To select a different cluster (namespace), click the list at the top left of the list page. * Select the cluster and namespace to modify from the list, and click the View button. * You can view the services created in the selected cluster/namespace.

Managing Deployments

A Deployment is a resource that provides updates for Pods and ReplicaSets (ReplicaSet). You can create a deployment in the workload, view its details, or delete it.

Create Deployment

To create a deployment, follow the steps below.

  1. Click the All Services > Container > Kubernetes Engine menu. 1. Go to the Service Home page of Kubernetes Engine.
  2. On the Service Home page, click Deployment under the Workload menu. 2. Go to the Deployment List page.
  3. Deployment List page, after selecting the cluster and namespace from the list in the upper left, click Create Object.
  4. In the Object Creation Popup, enter the object information and click the Create button.
    • The following is an example .yaml file showing the required fields and object Spec for creating a Deployment. * (application/deployment.yaml)
      Color mode
       apiVersion: apps/v1
       kind: Deployment
       metadata:
         name: nginx-deployment
       spec:
         selector:
            matchLabels:
               app: nginx
         replicas: 2 # tells deployment to run 2 pods matching the template
         template:
           metadata:
              labels:
                 app: nginx
           spec:
              containers:
              - name: nginx
                image: nginx:1.14.2
                ports:
                - containerPort: 80
       apiVersion: apps/v1
       kind: Deployment
       metadata:
         name: nginx-deployment
       spec:
         selector:
            matchLabels:
               app: nginx
         replicas: 2 # tells deployment to run 2 pods matching the template
         template:
           metadata:
              labels:
                 app: nginx
           spec:
              containers:
              - name: nginx
                image: nginx:1.14.2
                ports:
                - containerPort: 80
      Code block. Required fields and object Spec for deployment creation
Reference
For detailed information on the concept of Deployments and object creation, please refer to the 쿠버네티스 공식 문서 > 디플로이먼트.

Check deployment detailed information

To view deployment details, follow these steps.

  1. Click the All Services > Container > Kubernetes Engine menu. 1. Go to the Service Home page of Kubernetes Engine.
  2. On the Service Home page, click Deployment under the Workload menu. 2. Navigate to the Deployment List page.
  3. Deployment List page, select the cluster and namespace from the list at the top left, then click Search.
  4. Deployment List page, select the item you want to view detailed information for. 4. Navigate to the Deployment Details page.
    • If you select System Object Display at the top of the list, all items except the Kubernetes object entries will be shown.
  5. Click each tab to view the service information.
    Category
    Detailed description
    Delete DeploymentDelete the deployment
    Detailed InformationDetailed deployment information can be viewed
    YAMLThe deployment’s resource file can be edited in the YAML editor
    • Edit button, modify the resource, then click the Done button to apply the changes
    • When editing content, click the Diff button to view the changes
    eventCheck events that occurred within the deployment
    PodCheck the pod information of the deployment
    • Pod(파드) is the smallest compute unit that can be created, managed, and deployed in Kubernetes Engine
    Account informationCheck basic information about the Account, such as its name, location, and creation date/time.
    Metadata InformationCheck the deployment’s metadata information
    Object InformationCheck the deployment’s object information
    Table. Deployment detailed information items

Delete Deployment

To delete the deployment, follow these steps.

  1. Click the All Services > Container > Kubernetes Engine menu. 1. Go to the Service Home page of Kubernetes Engine.
  2. On the Service Home page, click Deployment under the Workload menu. 2. Go to the Deployment List page.
  3. Deployment List page, select the cluster and namespace from the list at the top left, then click View.
  4. Select the item you want to delete on the Deployment List page. 4. Go to the Deployment Details page.
  5. Click Delete Deployment on the Deployment Details page.
  6. When the notification dialog appears, click the OK button.
Caution
On the deployment list page, after selecting the item you want to delete, click Delete to remove the selected deployment.

Managing Pods

A Pod is the smallest compute unit in Kubernetes that can be created, managed, and deployed, representing a group of one or more containers. You can create pods in a workload, view detailed information, or delete them.

Create Pod

To create a pod, follow these steps.

  1. All Services > Container > Kubernetes Engine Click the menu. 1. Go to the Service Home page of Kubernetes Engine.
  2. On the Service Home page, click Pod under the Workload menu. 2. Go to the Pod List page.
  3. On the Pod List page, select the cluster and namespace from the list at the top left, then click Create Object.
  4. In the Object Creation Popup, enter the object information and click the Create button.
Reference
For detailed information on the concept of pods and object creation, refer to the 쿠버네티스 공식 문서 > 파드.

Check pod details

To view detailed pod information, follow these steps.

  1. Click the All Services > Container > Kubernetes Engine menu. 1. Go to the Service Home page of Kubernetes Engine.
  2. On the Service Home page, click Pod under the Workload menu. 2. Navigate to the Pod List page.
  3. On the Pod List page, select the cluster and namespace from the list at the top left, then click Search.
  4. Select the item whose detailed information you want to view on the Pod List page. 4. Navigate to the Pod Details page.
    • If you select System Object Display at the top of the list, all items except the Kubernetes object entries will be shown.
  5. Click each tab to view the service information.
    Category
    Detailed description
    Status displayDisplay the current status of the pod
    Delete podDelete the pod
    Detailed InformationCan view detailed pod information
    YAMLThe pod’s resource file can be edited in the YAML editor
    • Click the Edit button, modify the resource, then click the Done button to apply the changes
    • When editing content, click the Diff button to view the changed content
    eventCheck events that occurred within the pod
    logSelect a container to view the pod’s container information.
    Account informationCheck basic information about the Account, such as its name, location, and creation date/time.
    Metadata InformationCheck the pod’s metadata information
    Object InformationCheck the pod’s object information
    Initialization Container InformationCheck the pod’s init container information
    Container InformationCheck the pod’s container information
    Table. Pod detailed information items

Delete Pod

To delete a pod, follow these steps.

  1. Click the All Services > Container > Kubernetes Engine menu. 1. Go to the Service Home page of Kubernetes Engine.
  2. On the Service Home page, click Pod under the Workload menu. 2. Go to the Pod List page.
  3. On the Pod List page, select the cluster and namespace from the list in the upper left, then click Search.
  4. On the Pod List page, select the item you want to delete. 4. Go to the Pod Details page.
  5. On the Pod Details page, click Delete Pod.
  6. Notification dialog appears, click the Confirm button.
On the pod list page, after selecting the item you want to delete, click Delete to delete the selected pod.

Managing StatefulSets

A StatefulSet is a workload API object used to manage an application’s stateful components. You can create a StatefulSet in the workload, view its details, or delete it.

Create a StatefulSet

To create a StatefulSet, follow the steps below.

  1. Click the All Services > Container > Kubernetes Engine menu. 1. Navigate to the Service Home page of Kubernetes Engine.
  2. On the Service Home page, click StatefulSet under the Workload menu. 2. Navigate to the StatefulSet list page.
  3. On the StatefulSet List page, select the cluster and namespace from the top‑left list, then click Create Object.
  4. Enter the object information in the Object Creation Popup and click the Create button.
Reference
For detailed information on the StatefulSet concept and object creation, see the 쿠버네티스 공식 문서 > 스테이트풀셋.

Check detailed information of StatefulSet

To view detailed information about a StatefulSet, follow these steps.

  1. Click the All Services > Container > Kubernetes Engine menu. 1. Navigate to the Service Home page of Kubernetes Engine.
  2. On the Service Home page, click StatefulSet under the Workload menu. 2. StatefulSet List page is accessed.
  3. StatefulSet List page, select the cluster and namespace from the list at the top left, then click Search.
  4. StatefulSet List page, select the item you want to view detailed information for. 4. Navigate to the StatefulSet Details page.
    • If you select System Object Display at the top of the list, all items except the Kubernetes object entries will be shown.
  5. Click each tab to view the service information.
    Category
    Detailed description
    Delete StatefulSetDelete the StatefulSet
    Detailed InformationDetailed information of the StatefulSet can be viewed
    YAMLThe resource file of a StatefulSet can be edited in the YAML editor
    • Edit button click and after modifying the resource, click the Done button to apply the changes
    • When editing content, click the Diff button to view the changes
    eventCheck events that occurred within the StatefulSet
    PodCheck the pod information of the StatefulSet
    Account informationCheck basic information about the Account, such as its name, location, and creation date/time.
    Metadata InformationCheck the metadata information of the StatefulSet
    Object InformationCheck the object information of the StatefulSet
    Table. StatefulSet detailed information items

Delete StatefulSet

To delete a StatefulSet, follow these steps.

  1. Click the All Services > Container > Kubernetes Engine menu. 1. Go to the Service Home page of Kubernetes Engine.
  2. On the Service Home page, click StatefulSet under the Workload menu. 2. Go to the StatefulSet List page.
  3. StatefulSet list page, select the cluster and namespace from the list at the top left, then click Search.
  4. Select the items you want to delete on the StatefulSet list page. 4. StatefulSet Details navigate to the page.
  5. On the StatefulSet details page, click Delete StatefulSet.
  6. Notification dialog appears, click the Confirm button.
Caution
On the StatefulSet list page, after selecting the item you want to delete, click Delete to remove the selected StatefulSet.

Managing DaemonSets

A DaemonSet is a resource that ensures a copy of a pod runs on every node or on a subset of nodes. You can create a DaemonSet in the workload, view its details, or delete it.

Create DaemonSet

To create a DaemonSet, follow the steps below.

  1. Click the All Services > Container > Kubernetes Engine menu. 1. Navigate to the Service Home page of Kubernetes Engine.
  2. On the Service Home page, click DaemonSet under the Workloads menu. 2. Navigate to the DaemonSet List page.
  3. DaemonSet List page, after selecting the cluster and namespace from the list at the top left, click Create Object.
  4. In the Object Creation Popup, enter the object information and click the Create button.
Reference
For detailed information on the concept of DaemonSets and object creation, refer to the 쿠버네티스 공식 문서 > 데몬셋.

Check DaemonSet detailed information

Follow these steps to view the detailed information of a DaemonSet.

  1. Click the All Services > Container > Kubernetes Engine menu. 1. Go to the Service Home page of Kubernetes Engine.
  2. On the Service Home page, click DaemonSet under the Workloads menu. 2. Go to the DaemonSet List page.
  3. On the DaemonSet List page, select the cluster and namespace from the list in the upper left, then click Search.
  4. On the DaemonSet list page, select the item you want to view detailed information for. 4. Navigate to the DaemonSet Details page.
    • If you select System Object Display at the top of the list, all items except the Kubernetes object entries will be shown.
  5. Click each tab to view the service information.
    Category
    Detailed description
    Delete DaemonSetDelete the DaemonSet
    Detailed InformationCan view detailed DaemonSet information
    YAMLThe DaemonSet resource file can be edited in the YAML editor
    • Click the Edit button, modify the resource, then click the Done button to apply the changes
    • When editing content, click the Diff button to view the changes
    eventCheck events that occurred within the DaemonSet
    PodCheck the DaemonSet pod information
    Account informationCheck basic information about the Account, such as its name, location, and creation date/time.
    Metadata InformationCheck the DaemonSet’s metadata information.
    Object InformationCheck the DaemonSet object information
    Table. DaemonSet detailed information items

Delete DaemonSet

To delete a DaemonSet, follow the steps below.

  1. Click the All Services > Container > Kubernetes Engine menu. 1. Go to the Service Home page of Kubernetes Engine.
  2. On the Service Home page, click DaemonSet under the Workloads menu. 2. Navigate to the DaemonSet List page.
  3. On the DaemonSet List page, select the cluster and namespace from the list at the top left, then click View.
  4. Select the items you want to delete on the DaemonSet list page. 4. Go to the DaemonSet Details page.
  5. Click Delete DaemonSet on the DaemonSet Details page.
  6. Notification dialog appears, click the Confirm button.
---
After selecting the item to delete on the DaemonSet list page, click Delete to delete the selected DaemonSet.

Job Management

It refers to a resource that creates one or more pods and continues to run pods until the specified number of pods have successfully terminated. You can create a job in the workload, view its details, or delete it.

Create Job

Follow these steps to create a job.

  1. Click the All Services > Container > Kubernetes Engine menu. 1. Go to the Service Home page of Kubernetes Engine.
  2. On the Service Home page, click Job under the Workload menu. 2. Go to the Job List page.
  3. On the Job List page, after selecting the cluster and namespace from the top‑left list, click Create Object.
  4. In the Object Creation Popup, enter the object information and click the Create button.
Reference
For detailed information on the concept of jobs and object creation, refer to the 쿠버네티스 공식 문서 > 잡.

Check job details

To view job details, follow these steps.

  1. Click the All Services > Container > Kubernetes Engine menu. 1. Navigate to the Service Home page of Kubernetes Engine.
  2. On the Service Home page, click Job under the Workload menu. 2. Go to the Job List page.
  3. On the Job List page, select the cluster and namespace from the list at the top left, then click Search.
  4. Select the item you want to view detailed information for on the Job List page. 4. Job Details page is opened.
    • If you select Show system objects at the top of the list, the remaining items, excluding the Kubernetes object entries, will be displayed.
  5. Click each tab to view the service information.
    Category
    Detailed description
    Delete jobDelete job
    Detailed InformationJob detailed information can be viewed
    YAMLYou can edit the job’s resource file in the YAML editor
    • Click the Edit button, modify the resource, then click the Done button to apply the changes
    • When editing content, you can click the Diff button to view the changed content
    eventCheck events that occurred within the job
    PodCheck the job’s pod information
    Account informationCheck basic information about the Account, such as its name, location, and creation date/time.
    Metadata InformationCheck the job’s metadata information
    Object InformationCheck job object information
    Table. Job detailed information items

Delete job

To delete a job, follow these steps.

  1. Click the All Services > Container > Kubernetes Engine menu. 1. Navigate to the Service Home page of Kubernetes Engine.
  2. On the Service Home page, click Job under the Workload menu. 2. Go to the Job List page.
  3. On the Job List page, select the cluster and namespace from the list in the upper left, then click Search.
  4. Job List Select the items you want to delete on the page. 4. Go to the Job Details page.
  5. On the Job Details page, click Delete Job.
  6. Notification dialog appears, click the Confirm button.
On the job list page, after selecting the item you want to delete, click Delete to delete the selected job.

Managing Cron Jobs

A cron job is a resource that periodically runs a job (Job) according to a schedule written in cron format. It can be used when executing repetitive tasks at regular intervals, such as backups and report generation. You can create a cron job in the workload, view its details, or delete it.

Creating a Cron Job

To create a cron job, follow these steps.

  1. Click the All Services > Container > Kubernetes Engine menu. 1. Navigate to the Service Home page of Kubernetes Engine.
  2. On the Service Home page, click CronJob under the Workload menu. 2. Cron Job List Navigate to the page.
  3. On the CronJob List page, select the cluster and namespace from the list in the upper‑left corner, then click Create Object.
  4. In the Object Creation Popup, enter the object information and click the Confirm button.
Reference
For detailed information on the concept of CronJobs and object creation, refer to 쿠버네티스 공식 문서 > 크론잡.

Check detailed information of cron job

To view detailed information about the cron job, follow these steps.

  1. All Services > Container > Kubernetes Engine menu, click it. 1. Go to the Service Home page of Kubernetes Engine.
  2. On the Service Home page, click CronJob under the Workload menu. 2. Go to the Cron Job List page.
  3. On the CronJob List page, select the cluster and namespace from the list at the top left, then click View.
  4. Select the item you want to view detailed information for on the Cron Job List page. 4. Navigate to the Cron Job Details page.
    • If you select System Object Display at the top of the list, all items except the Kubernetes object entries will be shown.
  5. Click each tab to view the service information.
    Category
    Detailed description
    Delete cron jobDelete the cron job
    Detailed InformationView detailed information of cron jobs
    YAMLThe cron job’s resource file can be edited in the YAML editor
    • Click the Edit button, modify the resource, then click the Done button to apply the changes
    • When editing content, you can click the Diff button to view the changes
    eventCheck events that occurred within the cron job
    JobCheck the cron job’s job information. Selecting a job item moves to the job detail page.
    Account informationCheck basic information about the Account, such as its name, location, and creation date/time.
    Metadata InformationCheck the metadata information of the cron job
    Object InformationCheck the object information of the cron job
    Table. Cron job detailed information items

Delete cron job

To delete a cron job, follow these steps.

  1. Click the All Services > Container > Kubernetes Engine menu. 1. Go to the Service Home page of Kubernetes Engine.
  2. On the Service Home page, click CronJob under the Workload menu. 2. Go to the Cron Job List page.
  3. On the CronJob List page, select the cluster and namespace from the list at the top left, then click View.
  4. Select the items you want to delete on the Cron Job List page. 4. Go to the Cron Job Details page.
  5. On the Cron Job Details page, click Delete Cron Job.
  6. Notification dialog appears, click the Confirm button.
Caution
On the cron job list page, after selecting the item you want to delete, click Delete to remove the selected cron job.
Managing Namespaces
Manage services and ingresses