Creating a kubernetes loadbalancer on AWS

0 votes

How do I create a kubernetes load balancer on AWS? Kubernetes service basically uses kubeproxy to handle the internal traffic, but that kubeproxy ip does not have access to extrenal network. How do I go about this?

Nov 13, 2018 in Kubernetes by Atul
• 10,250 points
104 views

1 answer to this question.

0 votes

Just put the type field as LoadBalancer in your service definition. Kubernetes will automatically create AWS elastic load balancer. This should work on GKE and Openstack as well.

For an example, check out the guestbook-go example.

answered Nov 13, 2018 by DareDev
• 6,850 points

Related Questions In Kubernetes

0 votes
1 answer

“403 Insufficient Permission” while creating a Kubernetes Cluster on Google Cloud instance

To run ./cluster/kube-up.sh, you most likely need compute scope ...READ MORE

answered Aug 28, 2018 in Kubernetes by Kalgi
• 50,760 points
226 views
0 votes
1 answer

How can I access a service installed on Kubernetes from anywhere?

I have followed the link which you have ...READ MORE

answered Jul 23, 2018 in Kubernetes by Atul
• 10,250 points
176 views
0 votes
2 answers

NoSuchBucket error when running Kubernetes on AWS

It was a bug on their part. ...READ MORE

answered Sep 4, 2018 in Kubernetes by Nilesh
• 6,920 points
64 views
0 votes
1 answer

Create LoadBalancer for kubernetes cluster in aws

Hello @Lina, If you're running your cluster on ...READ MORE

answered Oct 8, 2018 in Kubernetes by Kalgi
• 50,760 points
77 views
0 votes
1 answer

permissions related to AWS ECR

if you add allowContainerRegistry: true, kops will add those permissions ...READ MORE

answered Oct 9, 2018 in Kubernetes by Kalgi
• 50,760 points
88 views
0 votes
1 answer
0 votes
3 answers

Using multiple commands in a kubernetes yaml file

Try something like this: containers: - name: ...READ MORE

answered Apr 23, 2019 in Kubernetes by lyza
8,322 views
0 votes
1 answer

Accessing private Docker Hub repository from Kubernetes on Vagrant

In order to pull private dockerhub hosted ...READ MORE

answered Sep 18, 2018 in Kubernetes by DareDev
• 6,850 points
260 views