openstack and containers
TRANSCRIPT
![Page 1: OpenStack and Containers](https://reader036.vdocuments.us/reader036/viewer/2022062503/58743bc21a28ab0e6c8b5949/html5/thumbnails/1.jpg)
OpenStack and Containers
Lachlan EvensonTeam Lead, Cloud Platform – Lithium Technologies@LachlanEvenson
![Page 2: OpenStack and Containers](https://reader036.vdocuments.us/reader036/viewer/2022062503/58743bc21a28ab0e6c8b5949/html5/thumbnails/2.jpg)
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](https://reader036.vdocuments.us/reader036/viewer/2022062503/58743bc21a28ab0e6c8b5949/html5/thumbnails/3.jpg)
3
OUR JOURNEY TO CONTAINERS
• Cloud-platform running on OpenStack and AWS
• Microservices• DevOps
![Page 4: OpenStack and Containers](https://reader036.vdocuments.us/reader036/viewer/2022062503/58743bc21a28ab0e6c8b5949/html5/thumbnails/4.jpg)
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](https://reader036.vdocuments.us/reader036/viewer/2022062503/58743bc21a28ab0e6c8b5949/html5/thumbnails/5.jpg)
5
HERE’S WHAT WE DIDN’T WANT TO HAPPEN
![Page 6: OpenStack and Containers](https://reader036.vdocuments.us/reader036/viewer/2022062503/58743bc21a28ab0e6c8b5949/html5/thumbnails/6.jpg)
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](https://reader036.vdocuments.us/reader036/viewer/2022062503/58743bc21a28ab0e6c8b5949/html5/thumbnails/7.jpg)
7
THE CONTAINER VALUE PROP
• Developer productivity• Portable• Multi-cloud deployments• Lightweight orchestration
![Page 8: OpenStack and Containers](https://reader036.vdocuments.us/reader036/viewer/2022062503/58743bc21a28ab0e6c8b5949/html5/thumbnails/8.jpg)
8
![Page 9: OpenStack and Containers](https://reader036.vdocuments.us/reader036/viewer/2022062503/58743bc21a28ab0e6c8b5949/html5/thumbnails/9.jpg)
9
CONTAINER STRATEGY
Incremental revolution!
![Page 10: OpenStack and Containers](https://reader036.vdocuments.us/reader036/viewer/2022062503/58743bc21a28ab0e6c8b5949/html5/thumbnails/10.jpg)
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](https://reader036.vdocuments.us/reader036/viewer/2022062503/58743bc21a28ab0e6c8b5949/html5/thumbnails/11.jpg)
11
BUILDING CLOUD-NATIVE APPLICATIONS
• Containers demanded a change in thinking• Tooling• Standardized deployments
![Page 12: OpenStack and Containers](https://reader036.vdocuments.us/reader036/viewer/2022062503/58743bc21a28ab0e6c8b5949/html5/thumbnails/12.jpg)
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](https://reader036.vdocuments.us/reader036/viewer/2022062503/58743bc21a28ab0e6c8b5949/html5/thumbnails/13.jpg)
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](https://reader036.vdocuments.us/reader036/viewer/2022062503/58743bc21a28ab0e6c8b5949/html5/thumbnails/14.jpg)
Lithium | Klout - Confidential14
BOLTING IT ALL TOGETHER – STATIC ROUTING
![Page 15: OpenStack and Containers](https://reader036.vdocuments.us/reader036/viewer/2022062503/58743bc21a28ab0e6c8b5949/html5/thumbnails/15.jpg)
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](https://reader036.vdocuments.us/reader036/viewer/2022062503/58743bc21a28ab0e6c8b5949/html5/thumbnails/16.jpg)
Lithium | Klout - Confidential16
KUBERNETES ON OPENSTACK WITH OPENCONTRAIL
![Page 17: OpenStack and Containers](https://reader036.vdocuments.us/reader036/viewer/2022062503/58743bc21a28ab0e6c8b5949/html5/thumbnails/17.jpg)
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](https://reader036.vdocuments.us/reader036/viewer/2022062503/58743bc21a28ab0e6c8b5949/html5/thumbnails/18.jpg)
18
FUTURE STATE
• Containerize all the things?• Stick with Docker?• Libnetwork/CNI?• Persistent storage?• Kubernetes, Mesos?• PaaS? OpenShift?
![Page 19: OpenStack and Containers](https://reader036.vdocuments.us/reader036/viewer/2022062503/58743bc21a28ab0e6c8b5949/html5/thumbnails/19.jpg)
19
DEAD BODIES
• The Docker problem• Workflow disruption• Complexity shifts back to Ops
![Page 20: OpenStack and Containers](https://reader036.vdocuments.us/reader036/viewer/2022062503/58743bc21a28ab0e6c8b5949/html5/thumbnails/20.jpg)
Lithium | Klout - Confidential20
OPENSTACK AND CONTAINERS
• Magnum• Kuryr
![Page 21: OpenStack and Containers](https://reader036.vdocuments.us/reader036/viewer/2022062503/58743bc21a28ab0e6c8b5949/html5/thumbnails/21.jpg)
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](https://reader036.vdocuments.us/reader036/viewer/2022062503/58743bc21a28ab0e6c8b5949/html5/thumbnails/22.jpg)
22
DEMO
• Hope this works.
![Page 23: OpenStack and Containers](https://reader036.vdocuments.us/reader036/viewer/2022062503/58743bc21a28ab0e6c8b5949/html5/thumbnails/23.jpg)
23
THANKS!
• Questions?