41
State of State in Containers Ross Kukulinski May 23, 2017 Philly Kubernetes

State of State in Containers - PHL Kubernetes

Embed Size (px)

Citation preview

Page 1: State of State in Containers - PHL Kubernetes

State of State in ContainersRoss Kukulinski

May 23, 2017

Philly Kubernetes

Page 2: State of State in Containers - PHL Kubernetes

Good Evening, Philly!Ross Kukulinski

•Now @ Heptio

•RethinkDB Community

•Node.js Evangelism WG

•Introduction to CoreOS — O’Reilly Media

•@RossKukulinski on Twitter/GitHub

Page 3: State of State in Containers - PHL Kubernetes

Roadmap

01

02

03

Motivation for Containers

Kubernetes 101

Storage in Kubernetes

05

06

Database options

Wrap up

04 Operating databases

Page 4: State of State in Containers - PHL Kubernetes
Page 5: State of State in Containers - PHL Kubernetes
Page 6: State of State in Containers - PHL Kubernetes

Server

Host OS

Hypervisor

Server

Host OS

Guest OS

App A

libs

App B

libs

Containers != Virtual Machines

App A

libs

Guest OS

App B

libs

Page 7: State of State in Containers - PHL Kubernetes

Benefits of Containers

❖ Packaging❖ Performance❖ Efficiency

Page 8: State of State in Containers - PHL Kubernetes
Page 9: State of State in Containers - PHL Kubernetes
Page 10: State of State in Containers - PHL Kubernetes

Roadmap

01

02

03

Motivation for Containers

Kubernetes 101

Storage in Kubernetes

05

06

Database options

Wrap up

04 Operating databases

Page 11: State of State in Containers - PHL Kubernetes

+72 more!

Page 12: State of State in Containers - PHL Kubernetes

What would you say you…do here?

Page 13: State of State in Containers - PHL Kubernetes

High-level design

Page 14: State of State in Containers - PHL Kubernetes

High-level design

Page 15: State of State in Containers - PHL Kubernetes

Deploying an Application

Page 16: State of State in Containers - PHL Kubernetes

Updating an Application

Page 17: State of State in Containers - PHL Kubernetes

Updating an Application

Page 18: State of State in Containers - PHL Kubernetes

Updating an Application

Page 19: State of State in Containers - PHL Kubernetes

Updating an Application

Page 20: State of State in Containers - PHL Kubernetes

Updating an Application

Page 21: State of State in Containers - PHL Kubernetes

Disaster!

Page 22: State of State in Containers - PHL Kubernetes

Recovered!

Page 23: State of State in Containers - PHL Kubernetes

Roadmap

01

02

03

Motivation for Containers

Kubernetes 101

Storage in Kubernetes

05

06

Database options

Wrap up

04 Operating databases

Page 24: State of State in Containers - PHL Kubernetes

Data is a persistent problem

Page 25: State of State in Containers - PHL Kubernetes
Page 26: State of State in Containers - PHL Kubernetes

RethinkDB on Kubernetes

Page 27: State of State in Containers - PHL Kubernetes

Kubernetes with Local Storage

Page 28: State of State in Containers - PHL Kubernetes

Kubernetes with Local Storage

Page 29: State of State in Containers - PHL Kubernetes

Kubernetes with External Storage

Page 30: State of State in Containers - PHL Kubernetes

Kubernetes with Internal Storage

Page 31: State of State in Containers - PHL Kubernetes

Roadmap

01

02

03

Motivation for Containers

Kubernetes 101

Storage in Kubernetes

05

06

Database options

Wrap up

04 Operating databases

Page 32: State of State in Containers - PHL Kubernetes

Operating Databases is Hard

❖ Resize

❖ Reconfigure

❖ Updating

❖ Backups

❖ Healing

Page 33: State of State in Containers - PHL Kubernetes

Kubernetes Operators

Observe

Analyze

Act

Page 34: State of State in Containers - PHL Kubernetes

Roadmap

01

02

03

Motivation for Containers

Kubernetes 101

Storage in Kubernetes

05

06

Database options

Wrap up

04 Operating databases

Page 35: State of State in Containers - PHL Kubernetes
Page 36: State of State in Containers - PHL Kubernetes

Scale out or get out

Page 37: State of State in Containers - PHL Kubernetes

Primary/Secondary

Page 38: State of State in Containers - PHL Kubernetes

Cloud Native for the Win

Page 39: State of State in Containers - PHL Kubernetes

Roadmap

01

02

03

Motivation for Containers

Kubernetes 101

Storage in Kubernetes

05

06

Database options

Wrap up

04 Operating databases

Page 40: State of State in Containers - PHL Kubernetes

Summary

Page 41: State of State in Containers - PHL Kubernetes

Thank you!@RossKukulinski

[email protected]