What is a POD in Kubernetes

As we discussed before with Kubernetes, it is our ultimate aim is to deploy our application in the form of containers on a set of machines that are configured as worker nodes in a cluster.

How to create a pod?

You can use kubectl run command to create a pod

kubectl run nginx-container --image=nginx
apiVersion: v1kind: Pod
name: myapp-pod
app: myapp
type: front-end
- name: nginx-container
image: nginx
kubectl apply -f file_name.yaml

Passionate Technical Lead, Senior Software Developer and free and open source software advocate

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store