Decomposing Lithium's Monolith with Kubernetes and OpenStack

Preview:

Citation preview

AUGUST 2015AUGUST 2015Conference Organizer

Decomposing Lithium’s monolith with

Kubernetes and Openstack

Lachlan Evenson | Team Lead, Cloud Platform Engineering, Lithium Technologies

@LachlanEvensonopenstacksv.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

Recommended