cloud surfing: kubernetes on mesos

12
© 2015 Mesosphere, Inc. All Rights Reserved. 1 Cloud Surfing: Kubernetes on Mesos Karl Isenberg

Upload: karl-isenberg

Post on 06-Jan-2017

3.814 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: Cloud Surfing: Kubernetes on Mesos

© 2015 Mesosphere, Inc. All Rights Reserved. 1

Cloud Surfing: Kubernetes on MesosKarl Isenberg

Page 2: Cloud Surfing: Kubernetes on Mesos

© 2015 Mesosphere, Inc. All Rights Reserved. 2

- Mesosphere- kubernetes-mesos

- Pivotal- cloudfoundry- bosh- bosh-init- bosh-mysql

- Williams-Sonoma- multi-brand spring-based

ecommerce platform

- github.com/karlkfi- mesos-compose-dind- inject (golang)- probe

- twitter.com/karlkfi- linkedin.com/in/karlkfi- karl.isenberg.us- [email protected]

Who is Karl Isenberg?

Page 3: Cloud Surfing: Kubernetes on Mesos

© 2015 Mesosphere, Inc. All Rights Reserved. 3

Is your PaaS backed by Hadoop?

Why is OpenStack on top of AWS?

Do you even lift bro?

The Cloud

Page 4: Cloud Surfing: Kubernetes on Mesos

© 2015 Mesosphere, Inc. All Rights Reserved. 4

Renton Thurston - Eureka Seven

Cloud Surfing 101 - Lifting

1. Survey landscape

2. Stay as high level as possible

3. Dive down when you need

4. Stay loose

Page 5: Cloud Surfing: Kubernetes on Mesos

© 2015 Mesosphere, Inc. All Rights Reserved. 5

Light Finding Operation (LFO) - Eureka Seven

Cloud Surfing 102 - Tool Selection

1. No one tool solves all problems

2. Pick the right tool for the job

3. Pick tools that do one thing well

4. Prefer small APIs

5. Chain your tricks together

Page 6: Cloud Surfing: Kubernetes on Mesos

© 2015 Mesosphere, Inc. All Rights Reserved. 6

Cloud Surfing 103: Atmospheric Layers

Application Orchestration

Container Orchestration

Job Scheduling

Containerization

Resource Management

Provisioning

CloudFoundry, Heroku, OpenShift, Deis

Kubernetes, Marathon, Swarm, Fleet, Lattice, ECS

Chronos, Kubernetes

Docker, Rkt, Garden, Mesos

Mesos

Puppet, Chef, Ansible, Salt, Vagrant, Otto

non-exhaustive

Machine Management AWS, Azure, GCE, OpenStack, vSphere, VirtualBox, Fusion

Page 7: Cloud Surfing: Kubernetes on Mesos

© 2015 Mesosphere, Inc. All Rights Reserved.

DCOS

7

Datacenter Operating System

Application Orchestration

Container Orchestration

Job Scheduling

Containerization

Resource Management

Provisioning

CloudFoundry, Heroku, OpenShift, Deis

Kubernetes, Marathon, Swarm, Fleet, Lattice, ECS

Chronos, Kubernetes

Docker, Rkt, Garden, Mesos

Mesos

Vagrant, Otto, Puppet, Chef, Ansible, Salt

Machine Management AWS, Azure, GCE, OpenStack, vSphere, VirtualBox, Fusion

Page 8: Cloud Surfing: Kubernetes on Mesos

© 2015 Mesosphere, Inc. All Rights Reserved. 8

Demo: DCOS- dcos package install cassandra- dcos package install etcd- dcos package install kubernetes

Page 9: Cloud Surfing: Kubernetes on Mesos

© 2015 Mesosphere, Inc. All Rights Reserved. 9

Demo: Oinker- Mini twitter clone- Deployed on Kubernetes- Replicated 3x- Backed by Cassandra-Mesos- Discovery with Mesos DNS- github.com/karlkfi/oinker-go

Page 10: Cloud Surfing: Kubernetes on Mesos

© 2015 Mesosphere, Inc. All Rights Reserved. 10

Q: What does Kubernetes manage?

A: Applications & Services (& Jobs)

Q: What does Mesos manage?

A: Processes & Resources

Q: What does DCOS manage?

A: Frameworks

Pop Quiz!Don’t worry!This ain’t rocket surgery.

Page 11: Cloud Surfing: Kubernetes on Mesos

© 2015 Mesosphere, Inc. All Rights Reserved. 11

As Seen On Stage

- kubernetes.io- mesos.apache.org- mesosphere.com/product (DCOS)- github.com/mesosphere/kubernetes-mesos- github.com/mesosphere/cassandra-mesos- github.com/mesosphere/universe- github.com/mesosphere/multiverse- github.com/mesosphere/dcos-cli- github.com/karlkfi/oinker-go

Bonus

- mesosphere.github.io/marathon- github.com/karlkfi/mesos-compose-dind

But You Don’t Have To Take My Word For It

Page 12: Cloud Surfing: Kubernetes on Mesos

© 2015 Mesosphere, Inc. All Rights Reserved. 12

FIN