AUGUST 2015AUGUST 2015Conference Organizer
Decomposing Lithium’s
monolith with Kubernetes
and Openstack
Lachlan Evenson | Team Lead, Cloud Platform Engineering, Lithium
Technologies
@LachlanEvenson
openstacksv.com
AUGUST 2015 Page 2AUGUST 2015
Agenda
Share how Lithium deployed Kubernetes on Openstack and
hopefully provide a pattern that can be followed for your
journey.
AUGUST 2015 Page 3AUGUST 2015
Where the rubber meets the road
• Quick iteration PoC in July
• Presented at Kubernetes v1 launch at OSCON
• Cue Operation Fury Road
AUGUST 2015 Page 4AUGUST 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?
AUGUST 2015 Page 5AUGUST 2015
Here’s what we did.
• A cluster that developers can deploy apps to and network
connectivity to allow external access to the cluster.
• Kubernetes cluster on Openstack VMs.
• Static routing between the nodes in the cluster.
AUGUST 2015 Page 6AUGUST 2015
Bolting it all together
AUGUST 2015 Page 7AUGUST 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.
AUGUST 2015 Page 8AUGUST 2015
Kubernetes on Openstack with OpenContrail
AUGUST 2015 Page 9AUGUST 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?
AUGUST 2015 Page 10AUGUST 2015
As promised
• Here’s how I built it
• http://bit.ly/k8s-openstack
• http://bit.ly/k8s-contrail
AUGUST 2015 Page 11AUGUST 2015
Here’s what we’ve learned
• Kubernetes clusters are lightweight.
• Getting to Kubernetes makes your container journey easier.
• Simplifies complex application deployment.
• Consistent development experience.
AUGUST 2015 Page 12AUGUST 2015
Wish List
• I would like to use Openstack APIs to provide networking,
storage, images.
• Provide persistent container storage via Cinder
• Make Glance a container registry
AUGUST 2015 Page 13AUGUST 2015
Questions?
AUGUST 2015AUGUST 2015
Thank you
For your time

Decomposing Lithium's Monolith with Kubernetes and OpenStack

  • 1.
    AUGUST 2015AUGUST 2015ConferenceOrganizer Decomposing Lithium’s monolith with Kubernetes and Openstack Lachlan Evenson | Team Lead, Cloud Platform Engineering, Lithium Technologies @LachlanEvenson openstacksv.com
  • 2.
    AUGUST 2015 Page2AUGUST 2015 Agenda Share how Lithium deployed Kubernetes on Openstack and hopefully provide a pattern that can be followed for your journey.
  • 3.
    AUGUST 2015 Page3AUGUST 2015 Where the rubber meets the road • Quick iteration PoC in July • Presented at Kubernetes v1 launch at OSCON • Cue Operation Fury Road
  • 4.
    AUGUST 2015 Page4AUGUST 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?
  • 5.
    AUGUST 2015 Page5AUGUST 2015 Here’s what we did. • A cluster that developers can deploy apps to and network connectivity to allow external access to the cluster. • Kubernetes cluster on Openstack VMs. • Static routing between the nodes in the cluster.
  • 6.
    AUGUST 2015 Page6AUGUST 2015 Bolting it all together
  • 7.
    AUGUST 2015 Page7AUGUST 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.
  • 8.
    AUGUST 2015 Page8AUGUST 2015 Kubernetes on Openstack with OpenContrail
  • 9.
    AUGUST 2015 Page9AUGUST 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?
  • 10.
    AUGUST 2015 Page10AUGUST 2015 As promised • Here’s how I built it • http://bit.ly/k8s-openstack • http://bit.ly/k8s-contrail
  • 11.
    AUGUST 2015 Page11AUGUST 2015 Here’s what we’ve learned • Kubernetes clusters are lightweight. • Getting to Kubernetes makes your container journey easier. • Simplifies complex application deployment. • Consistent development experience.
  • 12.
    AUGUST 2015 Page12AUGUST 2015 Wish List • I would like to use Openstack APIs to provide networking, storage, images. • Provide persistent container storage via Cinder • Make Glance a container registry
  • 13.
    AUGUST 2015 Page13AUGUST 2015 Questions?
  • 14.