- Take me to Video Tutorial
In this section, we will take a look at PODS.
- POD introduction
- How to deploy pod?
Here is a single node kubernetes cluster with single instance of your application running in a single docker container encapsulated in the pod.
-
A single pod can have multiple containers except for the fact that they are usually not multiple containers of the
same kind
.
Lets now take a look to create a nginx pod using kubectl
.
-
To deploy a docker container by creating a POD.
$ kubectl run nginx --image nginx
-
To get the list of pods
$ kubectl get pods
K8s Reference Docs: