Kubernetes and Cloud Foundry - Gesellschaft für Informatik · Kubernetes and Cloud Foundry...

21
Matthias Haeussler Cloud Consultant Kubernetes and Cloud Foundry Side-by-Side Comparison of the Developer and Deployer Experience

Transcript of Kubernetes and Cloud Foundry - Gesellschaft für Informatik · Kubernetes and Cloud Foundry...

Page 1: Kubernetes and Cloud Foundry - Gesellschaft für Informatik · Kubernetes and Cloud Foundry Side-by-Side Comparison of the Developer and Deployer Experience. ... Cloud Foundry Basics

Matthias HaeusslerCloud Consultant

Kubernetes and Cloud Foundry Side-by-Side Comparison of the Developer and Deployer Experience

Page 2: Kubernetes and Cloud Foundry - Gesellschaft für Informatik · Kubernetes and Cloud Foundry Side-by-Side Comparison of the Developer and Deployer Experience. ... Cloud Foundry Basics

Matthias Haeussler / Novatec - @maeddes #CFMEETUP #CLOUDFOUNDRY

#whoami - Matthias Haeussler

Novatec Cloud Consultant Stuttgart Cloud Foundry Meetup Organizer@maeddes

Page 3: Kubernetes and Cloud Foundry - Gesellschaft für Informatik · Kubernetes and Cloud Foundry Side-by-Side Comparison of the Developer and Deployer Experience. ... Cloud Foundry Basics

Matthias Haeussler / Novatec - @maeddes #CFMEETUP #CLOUDFOUNDRY

Cloud Native Abstraction Layers

Virtual Machines

Container

Applications

Functions

- Size/Footprint- Startup time- Coupling

- Abstraction- Flexibility- Distribution

Page 4: Kubernetes and Cloud Foundry - Gesellschaft für Informatik · Kubernetes and Cloud Foundry Side-by-Side Comparison of the Developer and Deployer Experience. ... Cloud Foundry Basics

Matthias Haeussler / Novatec - @maeddes #CFMEETUP #CLOUDFOUNDRY

&

Page 5: Kubernetes and Cloud Foundry - Gesellschaft für Informatik · Kubernetes and Cloud Foundry Side-by-Side Comparison of the Developer and Deployer Experience. ... Cloud Foundry Basics

Matthias Haeussler / Novatec - @maeddes #CFMEETUP #CLOUDFOUNDRY

What this talk is not about

❏ Everything below container level❏ Platform infrastructure❏ Vendor-specific implementations❏ Extensions & add-ons

Page 6: Kubernetes and Cloud Foundry - Gesellschaft für Informatik · Kubernetes and Cloud Foundry Side-by-Side Comparison of the Developer and Deployer Experience. ... Cloud Foundry Basics

Matthias Haeussler / Novatec - @maeddes #CFMEETUP #CLOUDFOUNDRY

What this talk is about

app app deploy

recovery(auto) scaling

supportedruntimes

servicebindings

(aggregated)logging

zero-downtimedeployment

Page 7: Kubernetes and Cloud Foundry - Gesellschaft für Informatik · Kubernetes and Cloud Foundry Side-by-Side Comparison of the Developer and Deployer Experience. ... Cloud Foundry Basics

Matthias Haeussler / Novatec - @maeddes #CFMEETUP #CLOUDFOUNDRY

Intro

Page 8: Kubernetes and Cloud Foundry - Gesellschaft für Informatik · Kubernetes and Cloud Foundry Side-by-Side Comparison of the Developer and Deployer Experience. ... Cloud Foundry Basics

Matthias Haeussler / Novatec - @maeddes #CFMEETUP #CLOUDFOUNDRY

Cloud Foundry Basics

app

buildpack

cf push

app

Applications Services

container

route cf bind-service

Page 9: Kubernetes and Cloud Foundry - Gesellschaft für Informatik · Kubernetes and Cloud Foundry Side-by-Side Comparison of the Developer and Deployer Experience. ... Cloud Foundry Basics

Matthias Haeussler / Novatec - @maeddes #CFMEETUP #CLOUDFOUNDRY

Kubernetes Basics - Teil I - Container

Dockerfile runtime

app

app

runtime basecontainer

runtime

app

Page 10: Kubernetes and Cloud Foundry - Gesellschaft für Informatik · Kubernetes and Cloud Foundry Side-by-Side Comparison of the Developer and Deployer Experience. ... Cloud Foundry Basics

Matthias Haeussler / Novatec - @maeddes #CFMEETUP #CLOUDFOUNDRY

runtime

app

Kubernetes Basics - Teil II - Kubernetes

runtime

app

kubectl run pod

replica set

runtime

app

runtime

app

pod v2

replica set v2

deployment service/ingress

endpoint

Page 11: Kubernetes and Cloud Foundry - Gesellschaft für Informatik · Kubernetes and Cloud Foundry Side-by-Side Comparison of the Developer and Deployer Experience. ... Cloud Foundry Basics

Technology Stack

Page 12: Kubernetes and Cloud Foundry - Gesellschaft für Informatik · Kubernetes and Cloud Foundry Side-by-Side Comparison of the Developer and Deployer Experience. ... Cloud Foundry Basics

Matthias Haeussler / Novatec - @maeddes #CFMEETUP #CLOUDFOUNDRY

Demo

Page 13: Kubernetes and Cloud Foundry - Gesellschaft für Informatik · Kubernetes and Cloud Foundry Side-by-Side Comparison of the Developer and Deployer Experience. ... Cloud Foundry Basics

Matthias Haeussler / Novatec - @maeddes #CFMEETUP #CLOUDFOUNDRY

Recap

Page 14: Kubernetes and Cloud Foundry - Gesellschaft für Informatik · Kubernetes and Cloud Foundry Side-by-Side Comparison of the Developer and Deployer Experience. ... Cloud Foundry Basics

Matthias Haeussler / Novatec - @maeddes #CFMEETUP #CLOUDFOUNDRY

Kubernetes❏ “Live” editing of the running config❏ “built-in” Zero-Downtime deployment behaviour❏ Large functional scope❏ Very granular configuration possibilities

❏ Very granular configuration possibilities❏ Skill demand beyond app dev level (Docker & K8s)❏ Container handling❏ Aggregated Logging

Page 15: Kubernetes and Cloud Foundry - Gesellschaft für Informatik · Kubernetes and Cloud Foundry Side-by-Side Comparison of the Developer and Deployer Experience. ... Cloud Foundry Basics

Matthias Haeussler / Novatec - @maeddes #CFMEETUP #CLOUDFOUNDRY

Cloud Foundry❏ simplicity❏ “Containerless” - power of containers without interacting with them❏ Fast “app to platform” path❏ Buildpacks

❏ Buildpacks❏ Reduced configuration possibilities❏ “Manual” Blue/green deployment❏ Imperative commands

Page 16: Kubernetes and Cloud Foundry - Gesellschaft für Informatik · Kubernetes and Cloud Foundry Side-by-Side Comparison of the Developer and Deployer Experience. ... Cloud Foundry Basics

Matthias Haeussler / Novatec - @maeddes #CFMEETUP #CLOUDFOUNDRY

You can do more, But you need to know more

Page 17: Kubernetes and Cloud Foundry - Gesellschaft für Informatik · Kubernetes and Cloud Foundry Side-by-Side Comparison of the Developer and Deployer Experience. ... Cloud Foundry Basics

Matthias Haeussler / Novatec - @maeddes #CFMEETUP #CLOUDFOUNDRY

Much simpler, But does it give me all I need?

Page 18: Kubernetes and Cloud Foundry - Gesellschaft für Informatik · Kubernetes and Cloud Foundry Side-by-Side Comparison of the Developer and Deployer Experience. ... Cloud Foundry Basics

Matthias Haeussler / Novatec - @maeddes #CFMEETUP #CLOUDFOUNDRY

Future wish:Simplicity of cloud foundry with functional scope of kubernetes

Page 19: Kubernetes and Cloud Foundry - Gesellschaft für Informatik · Kubernetes and Cloud Foundry Side-by-Side Comparison of the Developer and Deployer Experience. ... Cloud Foundry Basics

Matthias Haeussler / Novatec - @maeddes #CFMEETUP #CLOUDFOUNDRY

options

Page 20: Kubernetes and Cloud Foundry - Gesellschaft für Informatik · Kubernetes and Cloud Foundry Side-by-Side Comparison of the Developer and Deployer Experience. ... Cloud Foundry Basics

Matthias Haeussler / Novatec - @maeddes #CFMEETUP #CLOUDFOUNDRY

Thanks! Let’s stay friends :-)@maeddes

github.com/maeddes/cf-vs-k8s

Stuttgart-Cloud-Foundry-Meetup

Page 21: Kubernetes and Cloud Foundry - Gesellschaft für Informatik · Kubernetes and Cloud Foundry Side-by-Side Comparison of the Developer and Deployer Experience. ... Cloud Foundry Basics

Matthias Haeussler / Novatec - @maeddes #CFMEETUP #CLOUDFOUNDRY

LinksBrighttalk (requires free registration):https://www.brighttalk.com/webcast/16813/327047

Youtube (recording from CF Summit 2018)https://www.youtube.com/watch?v=V_lM59cvGoIhttps://www.youtube.com/watch?v=bYYTrXMnrnQ