Manage Workload
A workload is an application that runs on Kubernetes Engine. You can create a namespace and then add or delete workloads. Workloads are created and managed per deployment, pod, stateful set, daemon set, job, and cron job.
Deployments, Pods, StatefulSets, DaemonSets, Jobs, and CronJobs services are set by default to the cluster (namespace) selected when creating the service. Even if you select other items in the list, the default cluster (namespace) setting is retained.
- To select a different cluster (namespace), click the gear button on the right side of the list. Cluster/Namespace Settings popup, select the cluster and namespace to change and click the Confirm button. You can view the services created in the selected cluster/namespace.
Managing Deployments
A Deployment refers to a resource that provides updates for Pods and ReplicaSets. In workloads, you can create a Deployment and view detailed information or delete it.
Create Deployment
To create a deployment, follow the steps below.
- All Services > Container > Kubernetes Engine Click the menu. Navigate to the Service Home page of Kubernetes Engine.
- Click Deployment under the Workload menu on the Service Home page. You will be taken to the Deployment List page.
- On the Deployment List page, select the cluster and namespace from the top-left gear button, then click Create Object.
- In the Object Creation Popup, enter the object information and click the Confirm button.
- The following is an example
.yamlfile showing the required fields and object Spec for creating a deployment. (application/deployment.yaml)Color modeapiVersion: 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: 80apiVersion: 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: 80Code block. Required fields and object Spec for deployment creation
- The following is an example
Check deployment detailed information
To view the deployment details, follow these steps.
- All Services > Container > Kubernetes Engine Click the menu. Navigate to the Service Home page of Kubernetes Engine.
- From the Service Home page, click Deployment under the Workloads menu. Navigate to the Deployment List page.
- Deployment List page, select the cluster and namespace from the gear button at the top left, then click Confirm.
- Select the item you want to view detailed information for on the Deployment List page. You will be taken to the Deployment Details page.
- If you select Show System Objects at the top of the list, items other than the Kubernetes object entries will be displayed.
- Click each tab to view service information.
Category Detailed descriptionDelete Deployment Delete deployment Detailed Information Can check detailed information of deployment YAML Deployment resource files can be edited in the YAML editor - Click the Edit button, modify the resource, then click the Save button to apply the changes
- When editing content, click the Diff button to view the changed content
Event Check events that occurred within the deployment Pod Check the pod information of the deployment - Pod (pod) is the smallest computing unit that can be created, managed, and deployed in Kubernetes Engine
Account Information Check basic information about the Account such as Account name, location, creation date, etc. Metadata Information Check the metadata information of the deployment Object Information Check the object information of the deployment Table. Deployment detailed information items
Delete Deployment
To delete the deployment, follow these steps.
- All Services > Container > Kubernetes Engine menu. Go to the Service Home page of Kubernetes Engine.
- On the Service Home page, click Deployment under the Workload menu. Navigate to the Deployment List page.
- Deployment List page, select the cluster and namespace from the top left gear button, then click Confirm.
- Select the item you want to delete on the Deployment List page. Go to the Deployment Details page.
- Click Delete Deployment on the Deployment Details page.
- Alert confirmation window appears, click the Confirm button.
Managing Pods
A pod (Pod) is the smallest computing unit that can be created, managed, and deployed in Kubernetes, referring to a group of one or more containers. In a workload, you can create a pod and view detailed information or delete it.
Create a pod
To create a pod, follow the steps below.
- All Services > Container > Kubernetes Engine Click the menu. Navigate to the Service Home page of Kubernetes Engine.
- Service Home page, click Pod under the Workload menu. Navigate to the Pod List page.
- Pod List page, select the cluster and namespace from the Gear button at the top left, then click Create Object.
- In the Object Creation Popup from, enter the object information and click the Confirm button.
Check pod detailed information
To check the detailed pod information, follow the steps below.
- All Services > Container > Kubernetes Engine Click the menu. Navigate to the Service Home page of Kubernetes Engine.
- Click Pod under the Workload menu on the Service Home page. You will be taken to the Pod List page.
- On the Pod List page, select the cluster and namespace from the gear button at the top left, then click Confirm.
- Select the item you want to view detailed information for on the Pod List page. You will be taken to the Pod Details page.
- If you select Show System Objects at the top of the list, items other than the Kubernetes object entries will be displayed.
- Click each tab to view service information.
Category Detailed descriptionStatus Display Displays the current status of the pod Delete Pod Delete pod Detailed Information Can view detailed information of the pod YAML Pod resource files can be edited in the YAML editor - Edit button click and modify the resource, then click the Save button to apply changes
- When editing content, click the Diff button to view the changed content
Event Check events that occurred within the pod Log When you select a container, you can view the container information that the pod has Account information Check basic information about the Account such as Account name, location, creation date and time Metadata Information Check the pod’s metadata information Object Information Check the pod’s object information Init Container Information Check the init container information of the pod Container Information Check the pod’s container information Table. Pod detailed information items
Delete Pod
To delete a pod, follow the steps below.
- All Services > Container > Kubernetes Engine Click the menu. Go to the Service Home page of Kubernetes Engine.
- Click Pod under the Workload menu on the Service Home page. Navigate to the Pod List page.
- On the Pod List page, select the cluster and namespace from the gear button at the top left, then click Confirm.
- Pod List page, select the item you want to delete. Pod Detail page, navigate.
- Click Delete Pod on the Pod Details page.
- Notification Confirmation Window appears, click the Confirm button.
Managing StatefulSet
StatefulSet refers to a workload API object used to manage the stateful aspects of an application. In a workload, you can create a StatefulSet and view detailed information or delete it.
Creating a StatefulSet
To create a StatefulSet, follow the steps below.
- All Services > Container > Kubernetes Engine Click the menu. Navigate to the Service Home page of Kubernetes Engine.
- Click StatefulSet under the Workload menu on the Service Home page. You will be taken to the StatefulSet List page.
- On the StatefulSet List page, select the cluster and namespace from the gear button at the top left, then click Create Object.
- Object Creation Popup에서 enter the object information and click the Confirm button.
Check detailed information of StatefulSet
To view the detailed information of the StatefulSet, follow the steps below.
- All Services > Container > Kubernetes Engine Click the menu. Navigate to the Service Home page of Kubernetes Engine.
- Service Home on the page, click StatefulSet under the Workload menu. Navigate to the StatefulSet List page.
- On the StatefulSet List page, select the cluster and namespace from the gear button at the top left, then click Confirm.
- Select the item you want to view detailed information for on the StatefulSet List page. You will be taken to the StatefulSet Details page.
- If you select Show System Objects at the top of the list, items other than the Kubernetes object entries will be displayed.
- Click each tab to view the service information.
Category Detailed descriptionDelete StatefulSet Delete the StatefulSet Detailed Information Can check detailed information of StatefulSet YAML StatefulSet resource files can be edited in the YAML editor - Click the Edit button, modify the resource, then click the Save button to apply the changes
- When editing content, click the Diff button to view the changed content
Event Check events that occurred within the StatefulSet Pod Check the pod information of the StatefulSet Account Information Check basic information about the Account such as Account name, location, creation date, etc. Metadata Information Check the metadata information of the StatefulSet Object Information Check the object information of the StatefulSet Table. StatefulSet detailed information items
Delete StatefulSet
To delete a StatefulSet, follow the steps below.
- Click the All Services > Container > Kubernetes Engine menu. Navigate to the Service Home page of Kubernetes Engine.
- Service Home page, click StatefulSet under the Workload menu. Navigate to the StatefulSet List page.
- On the StatefulSet List page, select the cluster and namespace from the gear button at the top left, then click Confirm.
- Select the item you want to delete on the StatefulSet List page. Go to the StatefulSet Details page.
- Click Delete StatefulSet on the StatefulSet Details page.
- If the notification confirmation window appears, click the Confirm button.
Managing DaemonSets
DaemonSet refers to a resource that ensures that a copy of a pod runs on all nodes or some nodes. In workloads, you can create a DaemonSet and view detailed information or delete it.
Creating a DaemonSet
To create a DaemonSet, follow the steps below.
- All Services > Container > Kubernetes Engine Click the menu. Navigate to the Service Home page of Kubernetes Engine.
- On the Service Home page, click DaemonSet under the Workload menu. You will be taken to the DaemonSet List page.
- On the DaemonSet List page, select the cluster and namespace from the gear button at the top left, then click Create Object.
- In the Object Creation Popup, enter the object information and click the Confirm button.
Check DaemonSet detailed information
To view the detailed information of the DaemonSet, follow these steps.
- All Services > Container > Kubernetes Engine Click the menu. Navigate to the Service Home page of Kubernetes Engine.
- Click DaemonSet under the Workload menu on the Service Home page. You will be taken to the DaemonSet List page.
- DaemonSet List page, select the cluster and namespace from the gear button at the top left, then click Confirm.
- DaemonSet List page, select the item you want to view detailed information for. It navigates to the DaemonSet Details page.
- If you select Show System Objects at the top of the list, items other than the Kubernetes object entries will be displayed.
- Click each tab to view the service information.
Category Detailed descriptionDaemonSet Delete Delete DaemonSet Detailed Information Can view detailed information of DaemonSet YAML DaemonSet resource files can be edited in the YAML editor - Click the Edit button, modify the resource, then click the Save button to apply changes
- When editing content, click the Diff button to view the changed content
Event Check events that occurred within the DaemonSet Pod Check the pod information of the DaemonSet Account Information Check basic information about the Account such as Account name, location, creation date, etc. Metadata Information Check the metadata information of the DaemonSet Object Information Check the object information of the DaemonSet Table. DaemonSet detailed information items
Delete DaemonSet
To delete a DaemonSet, follow these steps.
- All Services > Container > Kubernetes Engine Click the menu. Navigate to the Service Home page of Kubernetes Engine.
- Click DaemonSet under the Workload menu on the Service Home page. Navigate to the DaemonSet List page.
- DaemonSet List page, select the cluster and namespace from the gear button at the top left, then click Confirm.
- DaemonSet List page, select the item you want to delete. Move to the DaemonSet Details page.
- Click Delete DaemonSet on the DaemonSet Details page.
- If the Alert confirmation window appears, click the Confirm button.
Job Management
A job refers to a resource that creates one or more pods and continues to run pods until the specified number of pods have successfully terminated. In a workload, you can create a job and view detailed information or delete it.
Create Job
To create a job, follow the steps below.
- All Services > Container > Kubernetes Engine menu. Go to the Service Home page of Kubernetes Engine.
- Click Job under the Workload menu on the Service Home page. You will be taken to the Job List page.
- On the Job List page, select the cluster and namespace from the top left gear button, then click Create Object.
- In the Object Creation Popup, enter the object information and click the Confirm button.
Check job details
To view detailed job information, follow the steps below.
- All Services > Container > Kubernetes Engine Click the menu. Navigate to the Service Home page of Kubernetes Engine.
- Click Job under the Workload menu on the Service Home page. Navigate to the Job List page.
- On the Job List page, select the cluster and namespace from the gear button at the top left, then click Confirm.
- On the Job List page, select the item for which you want to view detailed information. You will be taken to the Job Details page.
- Selecting Show system objects at the top of the list will display all items except the Kubernetes object entries.
- Click each tab to view service information.
Category Detailed descriptionJob Delete Delete Job Detailed Information Can view detailed information of the job YAML Job resource file can be edited in the YAML editor - Click the Edit button, modify the resource, then click the Save button to apply changes
- When editing content, click the Diff button to view the changes
Event Check events that occurred within the job Pod Check the pod information of the job Account Information Check basic information about the Account such as Account name, location, creation date, etc. Metadata Information Check the job’s metadata information Object Information Check the job’s object information Table. Job Detailed Information Items
Delete Job
To delete a job, follow the steps below.
- All Services > Container > Kubernetes Engine Click the menu. Go to the Service Home page of Kubernetes Engine.
- Click Job under the Workload menu on the Service Home page. You will be taken to the Job List page.
- Job List page, select the cluster and namespace from the gear button at the top left, then click Confirm.
- Job List page, select the item you want to delete. Go to the Job Details page.
- Click Delete Job on the Job Details page.
- Alert confirmation window appears, click the Confirm button.
Managing Cron Jobs
Cron jobs refer to resources that periodically execute a job according to a schedule written in cron format. They can be used to run repetitive tasks at regular intervals such as backups, report generation, etc. In the workload, you can create a cron job and view or delete its detailed information.
Create Cron Job
To create a cron job, follow these steps.
- All Services > Container > Kubernetes Engine Click the menu. Navigate to the Service Home page of Kubernetes Engine.
- Click CronJob under the Workload menu on the Service Home page. You will be taken to the CronJob List page.
- CronJob List page, select the cluster and namespace from the gear button at the top left, then click Create Object.
- In the Object Creation Popup, enter the object information and click the Confirm button.
Check Cron Job Detailed Information
To check the detailed information of the cron job, follow the steps below.
- All Services > Container > Kubernetes Engine Click the menu. Navigate to the Service Home page of Kubernetes Engine.
- Click Cron Job under the Workload menu on the Service Home page. You will be taken to the Cron Job List page.
- On the CronJob List page, select the cluster and namespace from the top left gear button, then click Confirm.
- Cron Job List page: select the item you want to view detailed information for. You will be taken to the Cron Job Details page.
- If you select Show System Objects at the top of the list, items other than the Kubernetes object entries will be displayed.
- Click each tab to view service information.
Category Detailed descriptionCron job delete Delete cron job Detailed Information Can view detailed information of cron job YAML Cron job resource files can be edited in the YAML editor - Click the Edit button, modify the resource, then click the Save button to apply changes
- When editing content, you can click the Diff button to view the changed content
Event Check events that occurred within the cron job Job Check the job information of the Cron job. Selecting a job item moves to the job detail page Account Information Check basic information about the Account such as Account name, location, creation date, etc. Metadata Information Check the metadata information of the cron job Object Information Check the object information of the cron job Table. Cronjob detailed information items
Delete Cron Job
To delete a cron job, follow these steps.
- All Services > Container > Kubernetes Engine Click the menu. Navigate to the Service Home page of Kubernetes Engine.
- Click Cron Job under the Workload menu on the Service Home page. You will be taken to the Cron Job List page.
- CronJob List page에서 클러스터와 네임스페이스를 왼쪽 상단의 gear 버튼에서 선택 후, Confirm을 클릭하세요.
- Cron Job List page, select the item you want to delete. Navigate to the Cron Job Details page.
- Click Delete Cron Job on the Cron Job Details page.
- If the Notification Confirmation Window appears, click the Confirm button.