You need to enable JavaScript to run this app.
Volcengine Kubernetes Engine

Volcengine Kubernetes Engine

Copy page
Download PDF
Pods
Creating pods
Copy page
Download PDF
Creating pods
A pod is the smallest unit that you can create or deploy in Kubernetes. A pod encapsulates one or more containers, storage resources (volumes), a unique IP address, and configurations that specify how the containers run.​
Prerequisites​
If you do not use a system-created namespace, you need to create a custom namespace. For specific instructions, see Creating namespaces.​
Procedure​
  1. Log in to the VKE console.​
  1. In the left navigation bar, click Cluster.​
  1. In the left navigation bar, click Workload > Pod.​
  1. Click Create with Yaml to specify the parameters of the pod.​
  • ​alt​​
  • ​
    apiVersion: v1​
    kind: Pod​
    metadata:​
    name: hello-pod # The name of the new pod.​
    namespace: namespace-a # The namespace where the pod is deployed, such as the created namespace.​
    spec:​
    containers:​
    - name: hello-pod # The name of the container.​
    image: nginx # The image address and version for deploying the container.​
    ports:​
    - containerPort: 8080 # The container port.​
    ​
  • metadata​
  • ​
    Parameter​
    Description​
    name​
    The name of the custom pod.​
    namespace​
    The namespace of the pod that is to be deployed, e.g., the namespace mentioned in the Prerequisites.​
    ​
  • containers​
  • ​
    Parameter​
    Description​
    name​
    The name of the custom container.​
    image​
    The image address and version for deploying the container, such as nginx.​
    containerPort​
    The container port number.​
    ​
  1. Click Confirm to create the pod.​
Operation result​
After you create a pod, you can view it in the pod list.​
​
Last updated: 2026.07.24 14:51:37