14
AUGUST 2015 AUGUST 2015 Conference Organizer Decomposing Lithium’s monolith with Kubernetes and Openstack Lachlan Evenson | Team Lead, Cloud Platform Engineering, Lithium Technologies @LachlanEvenson openstacksv.com

Decomposing Lithium's Monolith with Kubernetes and OpenStack

Embed Size (px)

Citation preview

Page 1: Decomposing Lithium's Monolith with Kubernetes and OpenStack

AUGUST 2015AUGUST 2015Conference Organizer

Decomposing Lithium’s monolith with

Kubernetes and Openstack

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

@LachlanEvensonopenstacksv.com

Page 2: Decomposing Lithium's Monolith with Kubernetes and OpenStack

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.

Page 3: Decomposing Lithium's Monolith with Kubernetes and OpenStack

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

Page 4: Decomposing Lithium's Monolith with Kubernetes and OpenStack

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?

Page 5: Decomposing Lithium's Monolith with Kubernetes and OpenStack

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.

Page 6: Decomposing Lithium's Monolith with Kubernetes and OpenStack

AUGUST 2015 Page 6AUGUST 2015

Bolting it all together

Page 7: Decomposing Lithium's Monolith with Kubernetes and OpenStack

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.

Page 8: Decomposing Lithium's Monolith with Kubernetes and OpenStack

AUGUST 2015 Page 8AUGUST 2015

Kubernetes on Openstack with OpenContrail

Page 9: Decomposing Lithium's Monolith with Kubernetes and OpenStack

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?

Page 10: Decomposing Lithium's Monolith with Kubernetes and OpenStack

AUGUST 2015 Page 10AUGUST 2015

As promised

• Here’s how I built it• http://bit.ly/k8s-openstack• http://bit.ly/k8s-contrail

Page 11: Decomposing Lithium's Monolith with Kubernetes and OpenStack

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.

Page 12: Decomposing Lithium's Monolith with Kubernetes and OpenStack

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

Page 13: Decomposing Lithium's Monolith with Kubernetes and OpenStack

AUGUST 2015 Page 13AUGUST 2015

Questions?

Page 14: Decomposing Lithium's Monolith with Kubernetes and OpenStack

AUGUST 2015AUGUST 2015

Thank you

For your time