Slide 1

Slide 1 text

Matthias Haeussler @maeddes Kubernetes and/or Cloud Foundry How to run your Spring Boot Microservices on state-of-the-art cloud platforms

Slide 2

Slide 2 text

Novatec Cloud Consultant Stuttgart Cloud Foundry Meetup Organizer

Slide 3

Slide 3 text

Novatec

Slide 4

Slide 4 text

INTRO

Slide 5

Slide 5 text

Matthias Haeussler / Novatec - @maeddes #springio19 #cloudfoundry Cloud Abstraction Layers Virtual Machines Container Applications Functions - Size/Footprint - Startup time - Coupling - Abstraction - Flexibility - Distribution

Slide 6

Slide 6 text

Matthias Haeussler / Novatec - @maeddes #springio19 #cloudfoundry &

Slide 7

Slide 7 text

Matthias Haeussler / Novatec - @maeddes #springio19 #cloudfoundry What this talk is not about ❏ Everything below container level ❏ Platform infrastructure ❏ Vendor-specific implementations

Slide 8

Slide 8 text

Matthias Haeussler / Novatec - @maeddes #springio19 #cloudfoundry What this talk is about app app deploy recovery (auto) scaling external configuration service bindings (aggregated) logging zero-downtime deployment

Slide 9

Slide 9 text

TECHNOLOGY BACKGROUND

Slide 10

Slide 10 text

Matthias Haeussler / Novatec - @maeddes #springio19 #cloudfoundry Cloud Foundry Basics app buildpack cf push app Applications Services container route cf bind-service

Slide 11

Slide 11 text

Matthias Haeussler / Novatec - @maeddes #springio19 #cloudfoundry Kubernetes Basics - Part I - Container Dockerfile runtime app app runtime base container runtime app

Slide 12

Slide 12 text

Matthias Haeussler / Novatec - @maeddes #springio19 #cloudfoundry runtime app Kubernetes Basics - part II - Kubernetes runtime app kubectl run pod replica set runtime app runtime app pod v2 replica set v2 deployment service/ingress endpoint

Slide 13

Slide 13 text

Matthias Haeussler / Novatec - @maeddes #springio19 #cloudfoundry Technology Stack

Slide 14

Slide 14 text

DEMO

Slide 15

Slide 15 text

RECAP

Slide 16

Slide 16 text

Matthias Haeussler / Novatec - @maeddes #springio19 #cloudfoundry You can configure more, But you need to know more

Slide 17

Slide 17 text

Matthias Haeussler / Novatec - @maeddes #springio19 #cloudfoundry Much simpler, But does it give me all I need?

Slide 18

Slide 18 text

Matthias Haeussler / Novatec - @maeddes #springio19 #cloudfoundry ❏ “Live” editing of the running config with “built-in” Zero-Downtime deployment behaviour ❏ Large functional scope with Very granular configuration possibilities ❏ different levels of service exposure and easy service discovery ❏ very robust and resilient core ❏ popularity - exploding CNCF ecosystem, big oss community, everywhere available the advantages of Kubernetes

Slide 19

Slide 19 text

Matthias Haeussler / Novatec - @maeddes #springio19 #cloudfoundry ❏ Very granular configuration possibilities ❏ Skill demand beyond app dev level (Docker & K8s) ❏ Container handling - build, maintain, registry ❏ Aggregated Logging ❏ requires more from ecosystem: helm, istio, prometheus, etc the problems with Kubernetes

Slide 20

Slide 20 text

Matthias Haeussler / Novatec - @maeddes #springio19 #cloudfoundry ❏ simplicity ❏ “Containerless” - power of containers without interacting with them ❏ Fast “app to platform” path - developer productivity ❏ Buildpacks ❏ maturity level the advantages of Cloud Foundry

Slide 21

Slide 21 text

Matthias Haeussler / Novatec - @maeddes #springio19 #cloudfoundry ❏ Buildpacks ❏ Reduced configuration possibilities ❏ “Manual” Blue/green deployment and staging ❏ Imperative commands ❏ “boring” the problems with cloud foundry

Slide 22

Slide 22 text

Matthias Haeussler / Novatec - @maeddes #springio19 #cloudfoundry

Slide 23

Slide 23 text

Matthias Haeussler / Novatec - @maeddes #springio19 #cloudfoundry Future wish: Simplicity of cloud foundry with functional scope of kubernetes

Slide 24

Slide 24 text

Matthias Haeussler / Novatec - @maeddes #springio19 #cloudfoundry options

Slide 25

Slide 25 text

Matthias Haeussler / Novatec - @maeddes #springio19 #cloudfoundry eirini Pluggable container orchestration for Cloud Foundry, and a Kubernetes backend

Slide 26

Slide 26 text

Matthias Haeussler / Novatec - @maeddes #springio19 #cloudfoundry cloud foundry architecture

Slide 27

Slide 27 text

Matthias Haeussler / Novatec - @maeddes #springio19 #cloudfoundry Thanks! Let’s stay friends :-) @maeddes github.com/maeddes/cf-vs-k8s Stuttgart-Cloud-Foundry-Meetup

Slide 28

Slide 28 text

Matthias Haeussler / Novatec - @maeddes #springio19 #cloudfoundry

Slide 29

Slide 29 text

Matthias Haeussler @maeddes Thanks! Q&A