Kubernetes 1.2 and simplifying advanced networking with Ingress
blog.kubernetes.io
blog.kubernetes.io
One thing that's probably obvious, but which I was having trouble confirming specifically while reading the article: are Ingress load balancers updated automatically as new pods are added or removed from a backing service?
Also, one other random thought for any Kubernetes engineers that haven't to be canvasing the thread: I (and I suspect I'm not alone here) would really like to have a way to play around with Kubernetes a bit, but am having trouble committing to launching a full cluster on GCE or AWS. I could fire one up for a few hours at relatively low cost, but it would be more interesting to deploy a toy app to one and observe it over a long period. It might be nice if there was a fast bootstrap script that would allow you to bootstrap Kubernetes on $5 Digital Ocean boxes (like the scripts that already exist for GCE and AWS) with the understanding that the cluster is nowhere near production ready.
Although it's generally fun to run these things in the cloud so that you can get a working service online, I'll definitely give the Vagrant deploy a shot.
EASILY one of the most requested features, Kubernetes 1.2 supports integrated L7 routing and SSL.
I read through the tutorial, but haven't had a chance to implement it. Two questions:
1) I run some services on DigitalOcean. Does this mean I can run a Kubernetes cluster, designate my controller as my Ingress, point my DNS entry there and it will load-balance? 2) is this a different type of load balancer type in the Service definition?
This could be helpful and useful on my ESXi clusters too.
Yeah, you'd need to deploy the nginx controller. Or the service-loadbalancer, which doesn't yet handle Ingress but conceptually does the same loadbalancing at L7 with plain Kubernetes Services. Both these can be found at: https://github.com/kubernetes/contrib
>2) is this a different type of load balancer type in the Service definition?
No, the community is debating moving L4 loadbalancing out of Services and keeping Services to mean "Backend services". Ingress spans services and encapsulates higher level concepts that require more context (eg: use a single IP to loadbalance entire cluster based on hostname vs type=loadbalancer which allocates an LB per service, SNI, atomic updates to a single URL map for blue/green deployment etc).