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.
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.
- Click the All Services > Container > Kubernetes Engine menu. 1. Go to the Service Home page of Kubernetes Engine.
- On the Service Home page, click Deployment under the Workload menu. 2. Go to the Deployment List page.
- Deployment List page, after selecting the cluster and namespace from the list in the upper left, click Create Object.
- In the Object Creation Popup, enter the object information and click the Create 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 deployment details, follow these steps.
- Click the All Services > Container > Kubernetes Engine menu. 1. Go to the Service Home page of Kubernetes Engine.
- On the Service Home page, click Deployment under the Workload menu. 2. Navigate to the Deployment List page.
- Deployment List page, select the cluster and namespace from the list at the top left, then click Search.
- 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.
- Click each tab to view the service information.
Category Detailed descriptionDelete Deployment Delete the deployment Detailed Information Detailed deployment information can be viewed YAML The 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
event Check events that occurred within the deployment Pod Check the pod information of the deployment - Pod(파드) is the smallest compute unit that can be created, managed, and deployed in Kubernetes Engine
Account information Check basic information about the Account, such as its name, location, and creation date/time. Metadata Information Check the deployment’s metadata information Object Information Check the deployment’s object information Table. Deployment detailed information items
Delete Deployment
To delete the deployment, follow these steps.
- Click the All Services > Container > Kubernetes Engine menu. 1. Go to the Service Home page of Kubernetes Engine.
- On the Service Home page, click Deployment under the Workload menu. 2. Go to the Deployment List page.
- Deployment List page, select the cluster and namespace from the list at the top left, then click View.
- Select the item you want to delete on the Deployment List page. 4. Go to the Deployment Details page.
- Click Delete Deployment on the Deployment Details page.
- When the notification dialog appears, click the OK button.
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.
- All Services > Container > Kubernetes Engine Click the menu. 1. Go to the Service Home page of Kubernetes Engine.
- On the Service Home page, click Pod under the Workload menu. 2. Go to the Pod List page.
- On the Pod List page, select the cluster and namespace from the list at the top left, then click Create Object.
- In the Object Creation Popup, enter the object information and click the Create button.
Check pod details
To view detailed pod information, follow these steps.
- Click the All Services > Container > Kubernetes Engine menu. 1. Go to the Service Home page of Kubernetes Engine.
- On the Service Home page, click Pod under the Workload menu. 2. Navigate to the Pod List page.
- On the Pod List page, select the cluster and namespace from the list at the top left, then click Search.
- 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.
- Click each tab to view the service information.
Category Detailed descriptionStatus display Display the current status of the pod Delete pod Delete the pod Detailed Information Can view detailed pod information YAML The 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
event Check events that occurred within the pod log Select a container to view the pod’s container information. Account information Check basic information about the Account, such as its name, location, and creation date/time. Metadata Information Check the pod’s metadata information Object Information Check the pod’s object information Initialization Container Information Check the pod’s init container information Container Information Check the pod’s container information Table. Pod detailed information items
Delete Pod
To delete a pod, follow these steps.
- Click the All Services > Container > Kubernetes Engine menu. 1. Go to the Service Home page of Kubernetes Engine.
- On the Service Home page, click Pod under the Workload menu. 2. Go to the Pod List page.
- On the Pod List page, select the cluster and namespace from the list in the upper left, then click Search.
- On the Pod List page, select the item you want to delete. 4. Go to the Pod Details page.
- On the Pod Details page, click Delete Pod.
- Notification dialog appears, click the Confirm button.
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.
- Click the All Services > Container > Kubernetes Engine menu. 1. Navigate to the Service Home page of Kubernetes Engine.
- On the Service Home page, click StatefulSet under the Workload menu. 2. Navigate to the StatefulSet list page.
- On the StatefulSet List page, select the cluster and namespace from the top‑left list, then click Create Object.
- Enter the object information in the Object Creation Popup and click the Create button.
Check detailed information of StatefulSet
To view detailed information about a StatefulSet, follow these steps.
- Click the All Services > Container > Kubernetes Engine menu. 1. Navigate to the Service Home page of Kubernetes Engine.
- On the Service Home page, click StatefulSet under the Workload menu. 2. StatefulSet List page is accessed.
- StatefulSet List page, select the cluster and namespace from the list at the top left, then click Search.
- 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.
- Click each tab to view the service information.
Category Detailed descriptionDelete StatefulSet Delete the StatefulSet Detailed Information Detailed information of the StatefulSet can be viewed YAML The 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
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 its name, location, and creation date/time. 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 these steps.
- Click the All Services > Container > Kubernetes Engine menu. 1. Go to the Service Home page of Kubernetes Engine.
- On the Service Home page, click StatefulSet under the Workload menu. 2. Go to the StatefulSet List page.
- StatefulSet list page, select the cluster and namespace from the list at the top left, then click Search.
- Select the items you want to delete on the StatefulSet list page. 4. StatefulSet Details navigate to the page.
- On the StatefulSet details page, click Delete StatefulSet.
- Notification dialog appears, click the Confirm button.
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.
- Click the All Services > Container > Kubernetes Engine menu. 1. Navigate to the Service Home page of Kubernetes Engine.
- On the Service Home page, click DaemonSet under the Workloads menu. 2. Navigate to the DaemonSet List page.
- DaemonSet List page, after selecting the cluster and namespace from the list at the top left, click Create Object.
- In the Object Creation Popup, enter the object information and click the Create button.
Check DaemonSet detailed information
Follow these steps to view the detailed information of a DaemonSet.
- Click the All Services > Container > Kubernetes Engine menu. 1. Go to the Service Home page of Kubernetes Engine.
- On the Service Home page, click DaemonSet under the Workloads menu. 2. Go to the DaemonSet List page.
- On the DaemonSet List page, select the cluster and namespace from the list in the upper left, then click Search.
- 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.
- Click each tab to view the service information.
Category Detailed descriptionDelete DaemonSet Delete the DaemonSet Detailed Information Can view detailed DaemonSet information YAML The 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
event Check events that occurred within the DaemonSet Pod Check the DaemonSet pod information Account information Check basic information about the Account, such as its name, location, and creation date/time. Metadata Information Check the DaemonSet’s metadata information. Object Information Check the DaemonSet object information Table. DaemonSet detailed information items
Delete DaemonSet
To delete a DaemonSet, follow the steps below.
- Click the All Services > Container > Kubernetes Engine menu. 1. Go to the Service Home page of Kubernetes Engine.
- On the Service Home page, click DaemonSet under the Workloads menu. 2. Navigate to the DaemonSet List page.
- On the DaemonSet List page, select the cluster and namespace from the list at the top left, then click View.
- Select the items you want to delete on the DaemonSet list page. 4. Go to the DaemonSet Details page.
- Click Delete DaemonSet on the DaemonSet Details page.
- Notification dialog appears, click the Confirm button.
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.
- Click the All Services > Container > Kubernetes Engine menu. 1. Go to the Service Home page of Kubernetes Engine.
- On the Service Home page, click Job under the Workload menu. 2. Go to the Job List page.
- On the Job List page, after selecting the cluster and namespace from the top‑left list, click Create Object.
- In the Object Creation Popup, enter the object information and click the Create button.
Check job details
To view job details, follow these steps.
- Click the All Services > Container > Kubernetes Engine menu. 1. Navigate to the Service Home page of Kubernetes Engine.
- On the Service Home page, click Job under the Workload menu. 2. Go to the Job List page.
- On the Job List page, select the cluster and namespace from the list at the top left, then click Search.
- 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.
- Click each tab to view the service information.
Category Detailed descriptionDelete job Delete job Detailed Information Job detailed information can be viewed YAML You 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
event Check events that occurred within the job Pod Check the job’s pod information Account information Check basic information about the Account, such as its name, location, and creation date/time. Metadata Information Check the job’s metadata information Object Information Check job object information Table. Job detailed information items
Delete job
To delete a job, follow these steps.
- Click the All Services > Container > Kubernetes Engine menu. 1. Navigate to the Service Home page of Kubernetes Engine.
- On the Service Home page, click Job under the Workload menu. 2. Go to the Job List page.
- On the Job List page, select the cluster and namespace from the list in the upper left, then click Search.
- Job List Select the items you want to delete on the page. 4. Go to the Job Details page.
- On the Job Details page, click Delete Job.
- Notification dialog appears, click the Confirm button.
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.
- Click the All Services > Container > Kubernetes Engine menu. 1. Navigate to the Service Home page of Kubernetes Engine.
- On the Service Home page, click CronJob under the Workload menu. 2. Cron Job List Navigate to the page.
- On the CronJob List page, select the cluster and namespace from the list in the upper‑left corner, then click Create Object.
- In the Object Creation Popup, enter the object information and click the Confirm button.
Check detailed information of cron job
To view detailed information about the cron job, follow these steps.
- All Services > Container > Kubernetes Engine menu, click it. 1. Go to the Service Home page of Kubernetes Engine.
- On the Service Home page, click CronJob under the Workload menu. 2. Go to the Cron Job List page.
- On the CronJob List page, select the cluster and namespace from the list at the top left, then click View.
- 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.
- Click each tab to view the service information.
Category Detailed descriptionDelete cron job Delete the cron job Detailed Information View detailed information of cron jobs YAML The 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
event Check events that occurred within the cron job Job Check the cron job’s job information. Selecting a job item moves to the job detail page. Account information Check basic information about the Account, such as its name, location, and creation date/time. Metadata Information Check the metadata information of the cron job Object Information Check the object information of the cron job Table. Cron job detailed information items
Delete cron job
To delete a cron job, follow these steps.
- Click the All Services > Container > Kubernetes Engine menu. 1. Go to the Service Home page of Kubernetes Engine.
- On the Service Home page, click CronJob under the Workload menu. 2. Go to the Cron Job List page.
- On the CronJob List page, select the cluster and namespace from the list at the top left, then click View.
- Select the items you want to delete on the Cron Job List page. 4. Go to the Cron Job Details page.
- On the Cron Job Details page, click Delete Cron Job.
- Notification dialog appears, click the Confirm button.