Thursday, November 22, 2018

Load Balancing the cluster

Here what I going to create an AWS load balance and point that to the created Pods. First run the below command

# kubectl expose deployment hemal-nginx --port=80 --type=LoadBalancer

Then run

# kubectl get services -o wide

clip_image002

If you get an error like below that means you have a permission issue with the IAM role assigned.

clip_image002[5]

To fix this you need to add an IAM role with the required permission. The steps can be found here.

No comments:

Post a Comment