openstack and containers

Post on 15-Apr-2017

598 Views

Category:

Technology

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

OpenStack and Containers

Lachlan EvensonTeam Lead, Cloud Platform – Lithium Technologies@LachlanEvenson

2

AGENDA

Share how Lithium deployed Containers on OpenStack and hopefully provide a pattern that can be followed for your journey.

3

OUR JOURNEY TO CONTAINERS

• Cloud-platform running on OpenStack and AWS

• Microservices• DevOps

Lithium | Klout - Confidential4

WHY CONTAINERS AND OPENSTACK?

• OpenStack provides a stable platform to innovate.

• OpenStack bridged gaps in the container story.

5

HERE’S WHAT WE DIDN’T WANT TO HAPPEN

6

THE RIGHT TECHNOLOGY AT THE RIGHT TIME

• No one ever got fired for running VMs• Who doesn’t love whales?• You know your work loads• There isn’t a problem. Why are we doing

this?

7

THE CONTAINER VALUE PROP

• Developer productivity• Portable• Multi-cloud deployments• Lightweight orchestration

8

9

CONTAINER STRATEGY

Incremental revolution!

10

CONTAINER STRATEGY

• Leave the monolith alone• Staying in the “success zone”• Overlay container orchestration on

OpenStack and AWS• Had to address container security

11

BUILDING CLOUD-NATIVE APPLICATIONS

• Containers demanded a change in thinking• Tooling• Standardized deployments

12

CURRENT STATE OF PLAY

• Kubernetes on OpenStack• Standard microservice deployment pipeline• Moving workloads - The big payoff is coming• CI/CD pipeline overhaul• Multi-cloud• Happy Developers

Lithium | Klout - Confidential13

HERE’S HOW WE DID IT

• 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.

Lithium | Klout - Confidential14

BOLTING IT ALL TOGETHER – STATIC ROUTING

Lithium | Klout - Confidential15

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.

• http://superuser.openstack.org/articles/kubernetes-and-openstack-multi-cloud-networking

Lithium | Klout - Confidential16

KUBERNETES ON OPENSTACK WITH OPENCONTRAIL

Lithium | Klout - Confidential17

AS PROMISED

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

18

FUTURE STATE

• Containerize all the things?• Stick with Docker?• Libnetwork/CNI?• Persistent storage?• Kubernetes, Mesos?• PaaS? OpenShift?

19

DEAD BODIES

• The Docker problem• Workflow disruption• Complexity shifts back to Ops

Lithium | Klout - Confidential20

OPENSTACK AND CONTAINERS

• Magnum• Kuryr

Lithium | Klout - Confidential21

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.

22

DEMO

• Hope this works.

23

THANKS!

• Questions?

top related