Thursday, November 22, 2018

Deploy a Pod in to Kubernetes Cluster


First need to SSH into the Master node. The steps were covered in the previous post. Once you ssh into the master node you can run the below command. I have given the name as “hemal-nginx”

# kubectl run hemal-nginx --image=nginx --replicas=2 --port=80

To check the status of the pods you can run the below command

# kubectl get pods

clip_image002

Now the pods are deployed in to the AWS instance.

Net will configure the luster load balancer.

No comments:

Post a Comment