How to access kubernetes service load balancer with juju

7/24/2015

Kubernetes create a load balancer, for each service; automatically in GCE. How can I manage something similar on AWS with juju?

Kubernetes service basically use the kubeproxy to handle the internal traffic. But that kubeproxy ip its do not have access to the external network.

There its a way to accomplish this deploying kubernetes cluster with juju?

-- bitgandtter
aws-ec2
juju
kubernetes

2 Answers

9/24/2015

There is a way to accomplish this, but it depends on additional work landing in the Kubernetes charms from the ~Kubernetes charmer team.

While you can reasonably hook it into an AWS ELB - Juju charms strive to be as DC agnostic as possible so its easily portable between data centers and clouds. A 'one size fits most' if you will.

What I see being required, is attaching the kube-proxy service to a load balancer service (Such as nginx) and using a template generator service like confd, or consul-template, to register/render the reverse proxy / load balancer configs for the services.

At present the Kubernetes bundle only has an internally functioning network, and the networking model is undergoing some permutations. If you'd like to participate in this planning + dev cycle, the recommended location to participate is the juju mailing list: juju@lists.ubuntu.com

-- lazyPower
Source: StackOverflow

9/18/2015

I can't speak to juju specifically, but Kubernetes supports Amazon ELB - turning up a load-balancer should work.

-- Tim Hockin
Source: StackOverflow