cloud surfing: kubernetes on mesos

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

Upload: kubeacademy

Post on 12-Apr-2017

389 views

Category:

Technology


0 download

TRANSCRIPT

© 2015 Mesosphere, Inc. All Rights Reserved. 1

Cloud Surfing: Kubernetes on MesosKarl Isenberg

© 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?

© 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

© 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. Choose your board wisely

© 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

© 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

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

© 2015 Mesosphere, Inc. All Rights Reserved.

DCOS

7

Datacenter Operating System

Application Orchestration

Container Orchestration

Job Scheduling

Containerization

Resource Management

Provisioning

CloudFoundry, Heroku, OpenShift

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

© 2015 Mesosphere, Inc. All Rights Reserved. 8

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

© 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

© 2015 Mesosphere, Inc. All Rights Reserved. 10

Q: What does Kubernetes manage?

A: Applications & Services

Q: What does Mesos manage?

A: Tasks & Resources

Q: What does DCOS manage?

A: Frameworks

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

© 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

© 2015 Mesosphere, Inc. All Rights Reserved. 12

FIN