37
Cloud Foundry Container Runtime Cameron Stewart

Cloud Foundry Container Runtime - GOTO Conference...open-source platform for managing containerized workloads and services, that facilitates both declarative configuration and automation

  • Upload
    others

  • View
    12

  • Download
    1

Embed Size (px)

Citation preview

Page 1: Cloud Foundry Container Runtime - GOTO Conference...open-source platform for managing containerized workloads and services, that facilitates both declarative configuration and automation

Cloud Foundry Container Runtime

Cameron Stewart

Page 2: Cloud Foundry Container Runtime - GOTO Conference...open-source platform for managing containerized workloads and services, that facilitates both declarative configuration and automation
Page 3: Cloud Foundry Container Runtime - GOTO Conference...open-source platform for managing containerized workloads and services, that facilitates both declarative configuration and automation

CLOUD FOUNDRY CONTAINER RUNTIME

BOSH-POWERED KUBERNETES

Page 4: Cloud Foundry Container Runtime - GOTO Conference...open-source platform for managing containerized workloads and services, that facilitates both declarative configuration and automation

@CWS322

Page 5: Cloud Foundry Container Runtime - GOTO Conference...open-source platform for managing containerized workloads and services, that facilitates both declarative configuration and automation

WHERE I HANG OUT

Page 6: Cloud Foundry Container Runtime - GOTO Conference...open-source platform for managing containerized workloads and services, that facilitates both declarative configuration and automation

WE BEGIN OUR TALE…

Page 7: Cloud Foundry Container Runtime - GOTO Conference...open-source platform for managing containerized workloads and services, that facilitates both declarative configuration and automation

KUBERNETES IS…

▸ Kubernetes is a portable, extensible open-source platform for managing containerized workloads and services, that facilitates both declarative configuration and automation

▸ Brought to you by Google, open sourced in 2014. Descendant of BORG

▸ Cloud Native Computing Foundation - 170 members

▸ Certified standards

Page 8: Cloud Foundry Container Runtime - GOTO Conference...open-source platform for managing containerized workloads and services, that facilitates both declarative configuration and automation

WHAT MAKES KUBERNETES GREAT

IDEAL FOR PACKAGED APPS, APPS/SERVICES EXPOSING MULTIPLE PORTS AND WHERE FINER GRAIN CONTROL IS NEEDED

▸ Containerized workloads

▸ Custom and ISV packaged apps and services delivered as containers

▸ Stateful services

▸ Services using persistent storage

▸ Customization

▸ Specify how your app is deployed and operated

Page 9: Cloud Foundry Container Runtime - GOTO Conference...open-source platform for managing containerized workloads and services, that facilitates both declarative configuration and automation

“TO GIVE YOU A SENSE OF HOW QUICKLY USAGE HAD INCREASED, 451 RESEARCH DID A CONTAINER SURVEY IN 2015 AND FOUND JUST 10 PERCENT OF RESPONDENTS WERE USING SOME SORT OF CONTAINER ORCHESTRATION TOOL, WHETHER KUBERNETES OR A COMPETITOR. JUST TWO YEARS LATER IN A FOLLOW-UP SURVEY, 451 FOUND THAT 71% OF RESPONDENTS WERE USING KUBERNETES TO MANAGE THEIR CONTAINERS.”

TechCrunch

DON’T TAKE MY WORD FOR IT

Page 10: Cloud Foundry Container Runtime - GOTO Conference...open-source platform for managing containerized workloads and services, that facilitates both declarative configuration and automation

Container Orchestration Community

DON’T TAKE MY WORD FOR IT

Page 11: Cloud Foundry Container Runtime - GOTO Conference...open-source platform for managing containerized workloads and services, that facilitates both declarative configuration and automation

WHAT MAKES KUBERNETES HARD

OPERATIONS▸ High Availability

▸ Scaling

▸ Health checks and healing

▸ Upgrades

Page 12: Cloud Foundry Container Runtime - GOTO Conference...open-source platform for managing containerized workloads and services, that facilitates both declarative configuration and automation

“IT’S FUN… BUT IT’S ALSO CHALLENGING”

Brandon Henry, Garmin VMWorld 2017

DON’T TAKE MY WORD FOR IT

Source: https://www.vmworldonline.com/searchsite?search=CNA3045BU

Page 13: Cloud Foundry Container Runtime - GOTO Conference...open-source platform for managing containerized workloads and services, that facilitates both declarative configuration and automation

CUE BOSH

Page 14: Cloud Foundry Container Runtime - GOTO Conference...open-source platform for managing containerized workloads and services, that facilitates both declarative configuration and automation

BOSH IS…

OPEN SOURCE TOOL CHAIN FOR RELEASE ENGINEERING, DEPLOYMENT, LIFECYCLE MANAGEMENT AND MONITORING OF DISTRIBUTED SYSTEMS

Page 15: Cloud Foundry Container Runtime - GOTO Conference...open-source platform for managing containerized workloads and services, that facilitates both declarative configuration and automation

BOSH IS…

OPEN SOURCE TOOL CHAIN FOR RELEASE ENGINEERING, DEPLOYMENT, LIFECYCLE MANAGEMENT AND MONITORING OF DISTRIBUTED SYSTEMS

Page 16: Cloud Foundry Container Runtime - GOTO Conference...open-source platform for managing containerized workloads and services, that facilitates both declarative configuration and automation

BOSH IS…

OPEN SOURCE TOOL CHAIN FOR RELEASE ENGINEERING, DEPLOYMENT, LIFECYCLE MANAGEMENT AND MONITORING OF DISTRIBUTED SYSTEMS

Page 17: Cloud Foundry Container Runtime - GOTO Conference...open-source platform for managing containerized workloads and services, that facilitates both declarative configuration and automation

BOSH IS…

OPEN SOURCE TOOL CHAIN FOR RELEASE ENGINEERING, DEPLOYMENT, LIFECYCLE MANAGEMENT AND MONITORING OF DISTRIBUTED SYSTEMS

Page 18: Cloud Foundry Container Runtime - GOTO Conference...open-source platform for managing containerized workloads and services, that facilitates both declarative configuration and automation

BOSH IS…

OPEN SOURCE TOOL CHAIN FOR RELEASE ENGINEERING, DEPLOYMENT, LIFECYCLE MANAGEMENT AND MONITORING OF DISTRIBUTED SYSTEMS

Page 19: Cloud Foundry Container Runtime - GOTO Conference...open-source platform for managing containerized workloads and services, that facilitates both declarative configuration and automation

BOSH IS…

OPEN SOURCE TOOL CHAIN FOR RELEASE ENGINEERING, DEPLOYMENT, LIFECYCLE MANAGEMENT AND MONITORING OF DISTRIBUTED SYSTEMS

Page 20: Cloud Foundry Container Runtime - GOTO Conference...open-source platform for managing containerized workloads and services, that facilitates both declarative configuration and automation

BOSH VERSUS…

Source: https://content.pivotal.io/blog/comparing-bosh-ansible-chef-part-1

Page 21: Cloud Foundry Container Runtime - GOTO Conference...open-source platform for managing containerized workloads and services, that facilitates both declarative configuration and automation

BOSH VERSUS…

Page 22: Cloud Foundry Container Runtime - GOTO Conference...open-source platform for managing containerized workloads and services, that facilitates both declarative configuration and automation

“DAY 1 IS ADORABLE. DAY 2 IS FOREVER.”

Andrew Clay Shafer

DAY 1 VS. DAY 2 OPS

Page 23: Cloud Foundry Container Runtime - GOTO Conference...open-source platform for managing containerized workloads and services, that facilitates both declarative configuration and automation

DAY 1 VS. DAY 2 OPS

OPERATIONAL CHALLENGES WITH ANY PLATFORM

▸ Day 1 - Build

▸ Multi-cloud Provide a reliable experience for any cloud

▸ Open APIs Allow platform ops from different toolsets

▸ Consistency Consistent setup experience

▸ Setup time How long does it take to setup an environment?

▸ Day 2 - Operate

▸ Patches Patching platform components with thousands of apps running should feel normal

▸ Scaling Seamlessly scale platform components

▸ Upgrades How do you roll out new versions of the platform with the lights on?

▸ Operating Effort Should be minimal

Page 24: Cloud Foundry Container Runtime - GOTO Conference...open-source platform for managing containerized workloads and services, that facilitates both declarative configuration and automation

THE POWER OF BOSH

▸ Packaging with embedded OS

▸ Server provisioning on any IaaS

▸ Software deployment across clusters

▸ Service & server state monitoring

▸ Self-healing with the Resurrector

▸ Rolling upgrades via canaries

Page 25: Cloud Foundry Container Runtime - GOTO Conference...open-source platform for managing containerized workloads and services, that facilitates both declarative configuration and automation

BOSH IS…

ANATOMY OF A BOSH DEPLOYMENT

▸ Stemcell

▸ Release

▸ Manifest

w

Manifest

Release

Stemcell

Deployment

Page 26: Cloud Foundry Container Runtime - GOTO Conference...open-source platform for managing containerized workloads and services, that facilitates both declarative configuration and automation

ONE MORE THING…

BORG BOSH

Page 27: Cloud Foundry Container Runtime - GOTO Conference...open-source platform for managing containerized workloads and services, that facilitates both declarative configuration and automation

KUBERNETES + BOSH

+

Page 28: Cloud Foundry Container Runtime - GOTO Conference...open-source platform for managing containerized workloads and services, that facilitates both declarative configuration and automation

KUBERNETES + BOSH

+

Page 29: Cloud Foundry Container Runtime - GOTO Conference...open-source platform for managing containerized workloads and services, that facilitates both declarative configuration and automation

PROJECT KUBO

+

Kubo

Page 30: Cloud Foundry Container Runtime - GOTO Conference...open-source platform for managing containerized workloads and services, that facilitates both declarative configuration and automation

PROJECT KUBO

+Kubo

+

Page 31: Cloud Foundry Container Runtime - GOTO Conference...open-source platform for managing containerized workloads and services, that facilitates both declarative configuration and automation

CLOUD FOUNDRY CONTAINER RUNTIME

Page 32: Cloud Foundry Container Runtime - GOTO Conference...open-source platform for managing containerized workloads and services, that facilitates both declarative configuration and automation

CFCR IS…

Page 33: Cloud Foundry Container Runtime - GOTO Conference...open-source platform for managing containerized workloads and services, that facilitates both declarative configuration and automation

THE PROBLEMS CFCR SOLVES

CFCR GIVES YOU…

▸ Multi-cloud

▸ High-availability and multi-AZ support

▸ Scaling

▸ VM Healing

▸ Upgrades

Page 34: Cloud Foundry Container Runtime - GOTO Conference...open-source platform for managing containerized workloads and services, that facilitates both declarative configuration and automation

CFCR HIGH AVAILABILITY

▸ Availability Zone

▸ VMs

▸ Processes

▸ Workloads

Page 35: Cloud Foundry Container Runtime - GOTO Conference...open-source platform for managing containerized workloads and services, that facilitates both declarative configuration and automation

CLOUD FOUNDRY CONTAINER RUNTIME

Page 36: Cloud Foundry Container Runtime - GOTO Conference...open-source platform for managing containerized workloads and services, that facilitates both declarative configuration and automation
Page 37: Cloud Foundry Container Runtime - GOTO Conference...open-source platform for managing containerized workloads and services, that facilitates both declarative configuration and automation