Upload
lachlan-evenson
View
451
Download
2
Embed Size (px)
Citation preview
Page 1AUGUST 2015AUGUST 2015Conference Organizer
Decomposing Lithium’s monolith with
Kubernetes and Openstack
Lachlan Evenson | Team Lead, Cloud Platform Engineering, Lithium Technologies
@LachlanEvensonopenstacksv.com
Page 2AUGUST 2015 Page 2AUGUST 2015
Agenda
Share how Lithium deployed Kubernetes on Openstack and hopefully provide a pattern that can be followed for your journey.
Page 3AUGUST 2015 Page 3AUGUST 2015
Here is what we didn’t want to happen
Page 4AUGUST 2015 Page 4AUGUST 2015
Why Kubernetes with Openstack
• Openstack provides a stable platform to innovate.• Openstack bridged gaps in the container story.• Supports our microservice strategy.• Enables workload portability between public/private
clouds.• Consistent development experience.
Page 5AUGUST 2015 Page 5AUGUST 2015
Where the rubber meets the road
• Quick iteration PoC in July• Presented at Kubernetes v1 launch at OSCON• Cue Operation Fury Road
Page 6AUGUST 2015 Page 6AUGUST 2015
The honeymoon is over...
• How do we get Kubernetes to Prod?• What does running Kubernetes and Openstack even
look like?• How do we provide access?
Page 7AUGUST 2015 Page 7AUGUST 2015
Here’s what we did.
• First iteration was Kubernetes cluster on Openstack VMs using static routing to deliver cluster connectivity.
• This provided a cluster that developers can deploy apps to and network connectivity to allow external access to the cluster.
Page 8AUGUST 2015 Page 8AUGUST 2015
Bolting it all together
Page 9AUGUST 2015 Page 9AUGUST 2015
Great! Is that all?
• How about we utilize the same SDN that powers our Openstack to run out Kubernetes networking?
• Kubernetes cluster running on Openstack VMs using OpenContrail as the SDN.
Page 10AUGUST 2015 Page 10AUGUST 2015
Kubernetes on Openstack with OpenContrail
Page 11AUGUST 2015 Page 11AUGUST 2015
You’ve got your cluster. Now what?
• How do you provide developer access to the cluster?
• Where do you put your containers?• How do you monitor the cluster and containers
within it?
Page 12AUGUST 2015 Page 12AUGUST 2015
As promised
• Here’s how I built it• http://bit.ly/k8s-openstack• http://bit.ly/k8s-contrail
Page 13AUGUST 2015 Page 13AUGUST 2015
Here’s what we’ve learned
• Kubernetes clusters are lightweight.• Getting to Kubernetes makes your container journey
easier.• Simplifies complex application deployment.• Scheduler allows granular control over where and
how containers are run in the cluster.
Page 14AUGUST 2015 Page 14AUGUST 2015
Wish List
• I would like to use Openstack APIs to provide networking, storage, images.
• Provide persistent container storage via Cinder.• Make Glance/Swift a container registry.• Container registry as a service.• Excited to get my hands on Magnum!
Page 15AUGUST 2015 Page 15AUGUST 2015
Questions?
Page 16AUGUST 2015 Page 16AUGUST 2015
Thank you
For your time