Kubernetes for the Absolute Beginners - Hands-on | Udemy
Kubernetes pods: a single instance of the application that encapsulates containers
- to bring up more instances of an application, the number of pods must be increased
- the smallest unit in Kubernetes
A single pod can have multiple containers of different types. It can include helper containers.
- within the same pod, they can interact with each other with the local network and share the same storage space
- when the pod dies, all the containers inside it die
kubectl run [name] --image [image name]: initiates single pod of an image
kubectl get pods: get the information of pods
- -o wide option shows where the node is running
kubectl describe pod [name of pod]: explains in detail about a single pod
'DevOps > Kubernetes' 카테고리의 다른 글
[Kubernetes 배우기] Section 7. Services (0) | 2024.01.09 |
---|---|
[Kubernetes 배우기] Section 6. Networking in Kubernetes (0) | 2024.01.09 |
[Kubernetes 배우기] Section 5. Kubernetes Concepts - Pods, ReplicaSets, Deployments (1) | 2024.01.09 |
[Kubernetes 배우기] Section 4. YAML Introduction (0) | 2024.01.09 |
[Kubernetes 배우기] Section 2. Kubernetes Overview (0) | 2024.01.09 |