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,240 points
84 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,810 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
• 40,420 points
126 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,240 points
132 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,880 points
37 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
• 40,420 points
56 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
• 40,420 points
61 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 in Kubernetes by lyza
4,720 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,810 points
185 views