Containers rise, why OpenStack needs Kubernetes

40
Containers raise, Why OpenStack needs Kubernetes

Transcript of Containers rise, why OpenStack needs Kubernetes

Page 1: Containers rise, why OpenStack needs Kubernetes

Containers raise, Why OpenStack needs Kubernetes

Page 2: Containers rise, why OpenStack needs Kubernetes

HELLO!I am Obed N MunozI am here because I love to give presentations. You can find me at @obedmr

Page 3: Containers rise, why OpenStack needs Kubernetes
Page 4: Containers rise, why OpenStack needs Kubernetes

INSTRUCTIONS FOR USEEDIT IN POWERPOINT®

Click on the button under the presentation preview that says "Download as PowerPoint template". You will get a .pptx file that you can edit in PowerPoint.

Remember to download and install the fonts used in this presentation (you’ll find the links to the font files needed in the Presentation design slide)

More info on how to use this template at www.slidescarnival.com/help-use-presentation-templateThis template is free to use under Creative Commons Attribution license. You can keep the Credits slide or mention SlidesCarnival and other resources used in a slide footer.

EDIT IN GOOGLE SLIDES

Click on the button under the presentation preview that says "Use as Google Slides Theme".

You will get a copy of this document on your Google Drive and will be able to edit, add or delete slides.

You have to be signed in to your Google account.

Page 5: Containers rise, why OpenStack needs Kubernetes

What is this about?» Containers, why now?

» Containers Orchestration

» Containers in OpenStack

» OpenStack on Containers

» Containers challenges

» Extra bonus: Clear Containers

» Q/A

Page 6: Containers rise, why OpenStack needs Kubernetes

1.Containers, why now?They have been there from a long time

Page 7: Containers rise, why OpenStack needs Kubernetes

A brief history of containers

Unix V7Chroot sys call was introduced

FreeBSDJails

Start of VPS

Solaris Containers

Open Virtuzzo

Process Containers

Linux Containers

Warden

LMCTFYLet me Contain that for you

The rise of Containers

http://blog.aquasec.com/a-brief-history-of-containers-from-1970s-chroot-to-docker-2016

Page 8: Containers rise, why OpenStack needs Kubernetes

2.Containers OrchestrationAn approach for Platform as a Service (PaaS)

Page 9: Containers rise, why OpenStack needs Kubernetes

Containers Orchestration

» Kubernetes» Cloud Foundry» OpenShift» Mesos» Docker Swarm

Page 10: Containers rise, why OpenStack needs Kubernetes

Containers Orchestration

» Kubernetes» Cloud Foundry» OpenShift» Mesos» Docker Swarm

➔ Automatic binpacking➔ Horizontal scaling➔ Automated rollouts and rollbacks➔ Self healing➔ Service discovery and load balancing➔ Secret and Configuration management➔ Storage orchestration➔ Batch execution

Page 11: Containers rise, why OpenStack needs Kubernetes

Containers Orchestration

» Kubernetes» Cloud Foundry» OpenShift» Mesos» Docker Swarm

Page 12: Containers rise, why OpenStack needs Kubernetes

Containers Orchestration

» Kubernetes» Cloud Foundry» OpenShift» Mesos» Docker Swarm

Page 13: Containers rise, why OpenStack needs Kubernetes

Containers Orchestration

» Kubernetes» Cloud Foundry» OpenShift» Mesos» Docker Swarm

Page 14: Containers rise, why OpenStack needs Kubernetes

Containers Orchestration

» Kubernetes» Cloud Foundry» OpenShift» Mesos» Docker Swarm

Page 15: Containers rise, why OpenStack needs Kubernetes

3.Containers in OpenStackLet’s start with the first set of slides

Page 16: Containers rise, why OpenStack needs Kubernetes

Containers in OpenStack - Magnum

Page 17: Containers rise, why OpenStack needs Kubernetes

Zun (ex. Higgins)

Page 18: Containers rise, why OpenStack needs Kubernetes

Nova Docker

Page 19: Containers rise, why OpenStack needs Kubernetes

4.OpenStack on ContainersLet’s start with the first set of slides

Page 20: Containers rise, why OpenStack needs Kubernetes

Kolla Ansible

Page 21: Containers rise, why OpenStack needs Kubernetes

Kolla Kubernetes

Page 22: Containers rise, why OpenStack needs Kubernetes

OpenStack Helm

Page 23: Containers rise, why OpenStack needs Kubernetes

5.Containers ChallengesLet’s start with the first set of slides

Page 24: Containers rise, why OpenStack needs Kubernetes

Containers Challenges in OpenStack» Security» Storage» Networking» Standardization (Governance)

Page 25: Containers rise, why OpenStack needs Kubernetes

6.Extra Bonus: Clear ContainersLet’s start with the first set of slides

Page 26: Containers rise, why OpenStack needs Kubernetes

The Client Apps Revolution

■ From Complex Applications to a set of Apps

Clear Containers

Page 27: Containers rise, why OpenStack needs Kubernetes

From "pets" to "cattle"Clear Containers

Integrated email, calendar, todo

and address book server application

Page 28: Containers rise, why OpenStack needs Kubernetes

Traditional ModelClear Containers

Integrated email, calendar, to-do

and address book server application

Page 29: Containers rise, why OpenStack needs Kubernetes

Empowered Cloud with ContainersClear Containers

Page 30: Containers rise, why OpenStack needs Kubernetes

What if we scale it up?Clear Containers

1 million+ servers

1000+ containersper server

+ .....=

Page 31: Containers rise, why OpenStack needs Kubernetes

MotivationClear Containers

• Speed• Fast create, update, uninstall cycle• Request and provision in (milli)seconds, not weeks

• Reduced Complexity• Containers leave Mega applications in the dust in terms of

management complexity

• Security & Privacy• Complex applications and systems are harder to make secure

Page 32: Containers rise, why OpenStack needs Kubernetes

Linux Kernel Containers 1/2: Resource Allocation

Clear Containers

Middleware

App

CGROUP A

Middleware

App

Middle

ware

App

50% CPU20% Memory10% Disk

30% CPU60% Memory40% Disk

20% CPU20% Memory50% Disk

App

Middle

ware

CGROUP B CGROUP C

Page 33: Containers rise, why OpenStack needs Kubernetes

Separation in visibility betweendifferent containers via “namespaces”

Linux Kernel Containers 2/2: Isolation

Clear Containers

Page 34: Containers rise, why OpenStack needs Kubernetes

App Containers, the cool way ..

Clear Containers

Page 35: Containers rise, why OpenStack needs Kubernetes

App Containers, what about bugs?

Clear Containers

Page 36: Containers rise, why OpenStack needs Kubernetes

Secure Containers ApproachChanging the course with Clear Linux*

Page 37: Containers rise, why OpenStack needs Kubernetes

Key Components Clear Containers

■ Hardware acceleration and security■ Efficient hypervisor■ Optimised Linux* kernel ■ Fast userspace■ Integration Tooling

Page 38: Containers rise, why OpenStack needs Kubernetes

Handy Links

Clear Containers

https://clearlinux.org/documentation/clear-containers/clear-containers.html

CoreOS

https://coreos.com/tectonic/

Mesos

http://mesos.apache.org/

govm

https://github.com/verbacious/govm

History of Containershttp://blog.aquasec.com/a-brief-history-of-containers-from-1970s-chroot-to-docker-2016

OpenStack Magnum

https://wiki.openstack.org/wiki/Magnum

OpenStack Helm

https://github.com/openstack/openstack-helm

OpenStack Kolla

https://wiki.openstack.org/wiki/Kolla

OpenStack Zun

https://wiki.openstack.org/wiki/Zun

Rancher OS

http://rancher.com/rancher-os/

Kubernetes

https://kubernetes.io/

Page 39: Containers rise, why OpenStack needs Kubernetes

Questions?I'll try to do my best, if I don't know, Google is your friend.

Page 40: Containers rise, why OpenStack needs Kubernetes

THANKS!Any questions?You can find me at

» @obedmr» [email protected]