openstack and containers

23
OpenStack and Containers Lachlan Evenson Team Lead, Cloud Platform – Lithium Technologies @LachlanEvenson

Upload: lachlan-evenson

Post on 15-Apr-2017

597 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: OpenStack and Containers

OpenStack and Containers

Lachlan EvensonTeam Lead, Cloud Platform – Lithium Technologies@LachlanEvenson

Page 2: OpenStack and Containers

2

AGENDA

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

Page 3: OpenStack and Containers

3

OUR JOURNEY TO CONTAINERS

• Cloud-platform running on OpenStack and AWS

• Microservices• DevOps

Page 4: OpenStack and Containers

Lithium | Klout - Confidential4

WHY CONTAINERS AND OPENSTACK?

• OpenStack provides a stable platform to innovate.

• OpenStack bridged gaps in the container story.

Page 5: OpenStack and Containers

5

HERE’S WHAT WE DIDN’T WANT TO HAPPEN

Page 6: OpenStack and Containers

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?

Page 7: OpenStack and Containers

7

THE CONTAINER VALUE PROP

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

Page 8: OpenStack and Containers

8

Page 9: OpenStack and Containers

9

CONTAINER STRATEGY

Incremental revolution!

Page 10: OpenStack and Containers

10

CONTAINER STRATEGY

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

OpenStack and AWS• Had to address container security

Page 11: OpenStack and Containers

11

BUILDING CLOUD-NATIVE APPLICATIONS

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

Page 12: OpenStack and Containers

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

Page 13: OpenStack and Containers

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.

Page 14: OpenStack and Containers

Lithium | Klout - Confidential14

BOLTING IT ALL TOGETHER – STATIC ROUTING

Page 15: OpenStack and Containers

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

Page 16: OpenStack and Containers

Lithium | Klout - Confidential16

KUBERNETES ON OPENSTACK WITH OPENCONTRAIL

Page 17: OpenStack and Containers

Lithium | Klout - Confidential17

AS PROMISED

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

Page 18: OpenStack and Containers

18

FUTURE STATE

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

Page 19: OpenStack and Containers

19

DEAD BODIES

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

Page 20: OpenStack and Containers

Lithium | Klout - Confidential20

OPENSTACK AND CONTAINERS

• Magnum• Kuryr

Page 21: OpenStack and Containers

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.

Page 22: OpenStack and Containers

22

DEMO

• Hope this works.

Page 23: OpenStack and Containers

23

THANKS!

• Questions?