Pod
A pod is the smallest and simplest unit in the Kubernetes object model that you create or deploy. A pod encapsulates an application's container (or, in some cases, multiple containers), storage resources, a unique network identity (IP address), as well as options that govern how the container(s) should run. A pod represents a single instance of an application in Kubernetes, which might consist of either a single container or a small number of containers that are tightly coupled and that share resources.
Creating a Pod from a YAML File
- Log in to the cluster console. Choose Workloads > Pods, and click Create Using YAML.
- On the Create Pod Using YAML page , edit the YAML file.
- Click Create.
Related Operations
Click the name of a workload. On the Pods tab page, click
next to the pod name to view pod details.
- Events: You can set search criteria, such as the time segment during which an event is generated or the event name, to view related events.
- Containers: You can view the container name, status, image, and restarts of the pod.
- Log: You can view and download container logs.
- Monitor: If the selected cluster is a HUAWEI CLOUD cluster, you can view the CPU usage and memory usage of the pods running on the cluster. This function is unavailable for other types of clusters.
Last Article: Creating a Job
Next Article: Configuration Center
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.