what is a deployment? A Kubernetes Deployment is used to tell Kubernetes how to create or modify instances of the pods that hold a containerized application. Deployments can scale the number of replica pods, enable the rollout of updated code in a controlled manner, or roll back to an earlier deployment version if necessary. How to create a deployment? using Command Prompt: kubectl create deployment my-webdep --image=nginx --replicas=1 --port=80 using yml file: For that create a folder and inside that create a yml file as deployment.yml and paste the following command in that apiVersion: apps/v1 kind: Deployment metadata: name: nginx-deployment spec: selector: matchLabels: app: nginx replicas: 1 # tells deployment to run 2 pods matching the template template: metadata: labels: app: nginx spec: containers: - name: nginx image: nginx:1.14.2 ports: ...