Top Banner
Kubo Your Gateway Drug to Cloud-native Cornelia Davis Sr. Director of Technology Pivotal @cdavisafc CF Summit Basel, October 2017
37

Kubo (Cloud Foundry Container Platform): Your Gateway Drug to Cloud-native

Jan 23, 2018

Download

Software

Cornelia Davis
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Kubo (Cloud Foundry Container Platform): Your Gateway Drug to Cloud-native

Kubo Your Gateway Drug to Cloud-native

Cornelia Davis Sr. Director of Technology Pivotal @cdavisafcCF Summit Basel, October 2017

Page 2: Kubo (Cloud Foundry Container Platform): Your Gateway Drug to Cloud-native

@cdavisafc

Me?

Developer (wasn’t Ops)

Web architectures for >10 years

Cloud-native for 5 years

Cloud Foundry for 5 years

More recently

Discount code 40% off!: 40cloudnat

Page 3: Kubo (Cloud Foundry Container Platform): Your Gateway Drug to Cloud-native

CONTAINERSEVENT-DRIVEN

FUNCTIONS

DATA SERVICESMICROSERVICES

Batches

MONOLITHIC APPLICATIONS

Companies have many ways to package and run their workloads in the cloud

Page 4: Kubo (Cloud Foundry Container Platform): Your Gateway Drug to Cloud-native

CONTAINERSEVENT-DRIVEN

FUNCTIONS

DATA SERVICESMICROSERVICES

Batches

MONOLITHIC APPLICATIONS

IaaSApplicationPlatform(PaaS)

This is what most enterprises have today

Page 5: Kubo (Cloud Foundry Container Platform): Your Gateway Drug to Cloud-native

CONTAINERSEVENT-DRIVEN

FUNCTIONS

DATA SERVICESMICROSERVICES

Batches

MONOLITHIC APPLICATIONS

IaaS

ContainerOrchestrator (CaaS)

ApplicationPlatform(PaaS)

Serverless Functions(FaaS)

Their goal: pick the right runtime for each workload

Kubo allows us to up-level from pure IaaS

Page 6: Kubo (Cloud Foundry Container Platform): Your Gateway Drug to Cloud-native

So, let’s talk about workloads…

What workloads are you currently running on IaaS?

Code that

Youdevelop

Code that

Someone ElseDevelops

Page 7: Kubo (Cloud Foundry Container Platform): Your Gateway Drug to Cloud-native

Code that You develop

Cloud Native

Traditional

Arc

hite

ctur

al S

tyle

Software LifecycleInfrequent Changes

Frequent Changes

Developer Productivity

Operational EfficiencyOperational Efficiency

Operational EfficiencyOperational Efficiency

Developer Productivity (much of it you bring yourself)

Page 8: Kubo (Cloud Foundry Container Platform): Your Gateway Drug to Cloud-native

Code that You develop

Traditional

Arc

hite

ctur

al S

tyle

Software LifecycleInfrequent Changes

Frequent Changes

Operational EfficiencyOperational Efficiency

Developer Productivity (much of it you bring yourself)

Page 9: Kubo (Cloud Foundry Container Platform): Your Gateway Drug to Cloud-native

Code thatYou developTraditional Infrequent ChangesOperational Efficiency

with

What are you doing for Infra deployments today?

Page 10: Kubo (Cloud Foundry Container Platform): Your Gateway Drug to Cloud-native

Code thatYou developTraditional Infrequent ChangesOperational Efficiency

with

What are you doing for Infra deployments today?

APP DEV QA OPERATIONS

CHANGE MGMT

SECURITY COMPLIANCEAPPROVER APPROVER APPROVER APPROVER

infrastructure

Page 11: Kubo (Cloud Foundry Container Platform): Your Gateway Drug to Cloud-native

Code thatYou developTraditional Infrequent ChangesOperational Efficiency

with

Make target of existing processes the image

rather than the infrastructure.

APP DEV QA OPERATIONS

CHANGE MGMT

SECURITY COMPLIANCEAPPROVER APPROVER APPROVER APPROVER

docker image

Page 12: Kubo (Cloud Foundry Container Platform): Your Gateway Drug to Cloud-native

Code thatYou developTraditional Infrequent ChangesOperational Efficiency

with

What are you doing for Infra deployments today?

Value

Minimal Disruption to Current Processes Creates “low-hanging” fruit Done Infrequently Approval heavy processes okay

Health Management, Logging, Scaling From Kubernetes Multi-cloud Via Goodness!!Kernel and Kubernetes Upgrades How do you roll out new versions of the platform with the lights on?

Consolidation More fully utilize your VMs and Servers

More goodness!!

Page 13: Kubo (Cloud Foundry Container Platform): Your Gateway Drug to Cloud-native

BUT...

Can I really roll the kernel or K8s version without involving the app team?

While the app may be changing infrequently, the kernel or Kubernetes version is likely to cycle more frequently.

Maybe…

Page 14: Kubo (Cloud Foundry Container Platform): Your Gateway Drug to Cloud-native

cmtcmtcmt v201cmt cmt cmt cmt v202 cmt… …

Prod

Acceptance

CI

Application Team - “Developer Productivity”

Page 15: Kubo (Cloud Foundry Container Platform): Your Gateway Drug to Cloud-native

cmt v201cmt cmt cmt cmt v202 cmt… …

App

PlatformCVE

Prod

Acceptance

Platform Team - “Operational Efficiency”

Page 16: Kubo (Cloud Foundry Container Platform): Your Gateway Drug to Cloud-native

You don’t have to refactor your app, or retool your whole process, but a test suite is a significant enabler!

What enables this is the existence of a rich test suite!

Page 17: Kubo (Cloud Foundry Container Platform): Your Gateway Drug to Cloud-native

Code that You develop

Traditional

Arc

hite

ctur

al S

tyle

Software LifecycleInfrequent Changes

Frequent Changes

Operational EfficiencyOperational Efficiency

Developer Productivity (much of it you bring yourself)

Page 18: Kubo (Cloud Foundry Container Platform): Your Gateway Drug to Cloud-native

Code thatYou developTraditional Frequent ChangesOperational Efficiency

with

How do you ensure your images meet corporate requirements?

Developer Productivity

∴ frequently changing the

image

Well… … it’s up to you

Page 19: Kubo (Cloud Foundry Container Platform): Your Gateway Drug to Cloud-native

Code thatYou developTraditional Frequent ChangesOperational Efficiency

withDeveloper Productivity

Approved Base Image

Built into approved stemcell Select/build and approve base images

Runtime and other filesystem dependenciesApproved buildpack Build and approve Dockerfiles

Allow only approved imagesCF Identity and Access Management

Control build and/or scan image repository

And more…

Page 20: Kubo (Cloud Foundry Container Platform): Your Gateway Drug to Cloud-native

Code thatYou developTraditional Frequent ChangesOperational Efficiency

withDeveloper Productivity

Value

Health Management, Logging, Scaling From Kubernetes Multi-cloud Via Goodness!!Kernel and Kubernetes Upgrades How do you roll out new versions of the platform with the lights on?

Consolidation More fully utilize your VMs and Servers

Developer Productivity

More goodness!!

But you’re changing a lot in your process and tooling

Standardized Images

Controlled Dockerfiles

Compliance Approvals Across a Myriad of Tools

… and much more.

Page 21: Kubo (Cloud Foundry Container Platform): Your Gateway Drug to Cloud-native

Code that You develop

Traditional

Arc

hite

ctur

al S

tyle

Software LifecycleInfrequent Changes

Frequent Changes

Operational EfficiencyOperational Efficiency

Developer Productivity (much of it you bring yourself)

Page 22: Kubo (Cloud Foundry Container Platform): Your Gateway Drug to Cloud-native

So, let’s talk about workloads…

What workloads are you currently running on IaaS?

Code that

Youdevelop

Code that

Someone ElseDevelops

Page 23: Kubo (Cloud Foundry Container Platform): Your Gateway Drug to Cloud-native

Someone ElseCode that

Cloud Native

Traditional

Arc

hite

ctur

al S

tyle

Software LifecycleInfrequent Changes

Frequent Changes

Develops

Page 24: Kubo (Cloud Foundry Container Platform): Your Gateway Drug to Cloud-native

Someone ElseCode that

Cloud NativeTraditional Architectural Style

Develops

Page 25: Kubo (Cloud Foundry Container Platform): Your Gateway Drug to Cloud-native

Code that Others developCloud Native

Cloud-native Clusters &

Data-centric workloads

Page 26: Kubo (Cloud Foundry Container Platform): Your Gateway Drug to Cloud-native

Code that Others developCloud Native

Anticipate Change! • Support nodes having new IP addresses on recreate • Availability zone aware • Flexible cluster topologies (i.e. dynamically scale)

• Need persistence • No shared storage

Cloud-native Clusters &

Data-centric workloads

Page 27: Kubo (Cloud Foundry Container Platform): Your Gateway Drug to Cloud-native

Code that Others developCloud Native

Anticipate Change! • Support nodes having new IP addresses on recreate • Availability zone aware • Flexible cluster topologies (i.e. dynamically scale)

• Need persistence • No shared storage

Cloud-native Clusters &

Data-centric workloads

Page 28: Kubo (Cloud Foundry Container Platform): Your Gateway Drug to Cloud-native

Code that Others developCloud Native

Health Management, Logging, Scaling From Kubernetes Multi-cloud Via Goodness!!Kernel and Kubernetes Upgrades How do you roll out new versions of the platform with the lights on?

Consolidation More fully utilize your VMs and Servers

Value

More goodness!!

Why are we running these workloads on Kubo?

Already Containerized ISVs are increasingly distributing their software in containers

And, all of this

Page 29: Kubo (Cloud Foundry Container Platform): Your Gateway Drug to Cloud-native

Someone ElseCode that

Cloud NativeTraditional Architectural Style

Develops

Page 30: Kubo (Cloud Foundry Container Platform): Your Gateway Drug to Cloud-native

Code that Others developTraditional

BOSH

VMware GCP Azure Openstack AWS

K8s ClusterK8s Cluster

K8s Cluster

Your Application

Page 31: Kubo (Cloud Foundry Container Platform): Your Gateway Drug to Cloud-native

Code that Others developTraditional

Why??

Arguably, WLS itself gives you some of these values - but only some.

Health Management, Logging, Scaling From Kubernetes Multi-cloud Via Goodness!!Kernel and Kubernetes Upgrades How do you roll out new versions of the platform with the lights on?

Consolidation More fully utilize your VMs and Servers

Value

More goodness!!

And possibly even licensing compression!

Page 32: Kubo (Cloud Foundry Container Platform): Your Gateway Drug to Cloud-native

Code that Others developTraditional

Leverages Stateful Sets

StatefulSets are valuable for applications that require one or more of the following. • Stable, unique network identifiers.

• Stable, persistent storage.

• Ordered, graceful deployment and scaling.

• Ordered, graceful deletion and termination.

• Ordered, automated rolling updates.

https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/

Replace ‘Pet Sets’

Beta in 1.8

Page 33: Kubo (Cloud Foundry Container Platform): Your Gateway Drug to Cloud-native

Code that You develop Code that Others develop

Arc

hite

ctur

al S

tyle

Software Lifecycle

Arc

hite

ctur

al S

tyle

Software Lifecycle

Page 34: Kubo (Cloud Foundry Container Platform): Your Gateway Drug to Cloud-native

34

Call to ActionRun workloads

on Cloud Foundry Container Runtime!

And Share!

Page 35: Kubo (Cloud Foundry Container Platform): Your Gateway Drug to Cloud-native

Thank you!

Cornelia Davis Sr. Director of Technology Pivotal @cdavisafc

Page 36: Kubo (Cloud Foundry Container Platform): Your Gateway Drug to Cloud-native

@cdavisafc

Me?

Developer (wasn’t Ops)

Web architectures for >10 years

Cloud-native for 5 years

Cloud Foundry for 5 years

More recently

Discount code 40% off!: 40cloudnat

Page 37: Kubo (Cloud Foundry Container Platform): Your Gateway Drug to Cloud-native