33
Kubernetes State of the Union David Aronchick @aronchick Senior Product Manager, Google Container Engine & Kubernetes

KubeCon EU 2016 Keynote: Kubernetes State of the Union

Embed Size (px)

Citation preview

Page 1: KubeCon EU 2016 Keynote: Kubernetes State of the Union

Kubernetes State of the Union

David Aronchick@aronchickSenior Product Manager, Google Container Engine & Kubernetes

Page 2: KubeCon EU 2016 Keynote: Kubernetes State of the Union

Google Cloud Platform

Since January 2015

1.0

1.1

1.2

Page 3: KubeCon EU 2016 Keynote: Kubernetes State of the Union

Google Cloud Platform

Velocity

5k Commitsin 1.2

+50% UniqueContributors

Top 0.01% of all Github Projects

1200+ ExternalProjects Based

on K8s

Companies Contributing

Companies Using

Page 4: KubeCon EU 2016 Keynote: Kubernetes State of the Union

Google Cloud Platform

Why Are We Growing So Fast?

Platform• Well-designed architecture• Key features are in the box• True portability

Community• Extremely active contributors and participants • Responsive (both to questions and requests)

Adoption• Who wouldn’t want to run containers like Google?• Users contribute back to the platform and community

Page 5: KubeCon EU 2016 Keynote: Kubernetes State of the Union

Google Cloud Platform

Vision

Give Everyone the Power to Run Agile, Reliable, Distributed Systems at Scale

Page 6: KubeCon EU 2016 Keynote: Kubernetes State of the Union

Google Cloud Platform

Kubernetes 1.2

Page 7: KubeCon EU 2016 Keynote: Kubernetes State of the Union

Google Cloud Platform

Kubernetes 1.2 Release

• Two primary investments• Get started quicker• Get big faster

• Announcing Kubernetes 1.2• New UI• Improved scale• Simplified application deployments• Automated cluster management• Third party extensibility• Much much more…

• Available by end of March

Page 8: KubeCon EU 2016 Keynote: Kubernetes State of the Union

Google Cloud Platform

UI

Page 9: KubeCon EU 2016 Keynote: Kubernetes State of the Union

Google Cloud Platform

UI

Page 10: KubeCon EU 2016 Keynote: Kubernetes State of the Union

Google Cloud Platform

UI

Page 11: KubeCon EU 2016 Keynote: Kubernetes State of the Union

Google Cloud Platform

UI

Page 12: KubeCon EU 2016 Keynote: Kubernetes State of the Union

Google Cloud Platform

Deployment

Problem: Manual rollout of applications (and changes)

Today:● kubectl rolling-update● sed (?!?)

apiserver

Page 13: KubeCon EU 2016 Keynote: Kubernetes State of the Union

Google Cloud Platform

Deployment API

Solution: Deployment APIapiserver$ kubectl create -f Deployment-1.yml

Deploy-ment

Page 14: KubeCon EU 2016 Keynote: Kubernetes State of the Union

Google Cloud Platform

Deployment API

Solution: Deployment APIapiserver

Deploy-ment

$ kubectl create -f Deployment-1.yml

Page 15: KubeCon EU 2016 Keynote: Kubernetes State of the Union

Google Cloud Platform

Deployment API

Solution: Deployment APIapiserver$ kubectl create -f Deployment-1.yml

Page 16: KubeCon EU 2016 Keynote: Kubernetes State of the Union

Google Cloud Platform

Deployment API

Solution: Deployment API!apiserver

Deploy-ment

$ kubectl create -f Deployment-2.yml

Page 17: KubeCon EU 2016 Keynote: Kubernetes State of the Union

Google Cloud Platform

Deployment API

Solution: Deployment API!apiserver

Deploy-ment

$ kubectl create -f Deployment-2.yml

Page 18: KubeCon EU 2016 Keynote: Kubernetes State of the Union

Google Cloud Platform

Deployment API

Solution: Deployment API!apiserver

Deploy-ment

$ kubectl create -f Deployment-2.yml

Page 19: KubeCon EU 2016 Keynote: Kubernetes State of the Union

Google Cloud Platform

Deployment API

Solution: Deployment API!apiserver$ kubectl create -f Deployment-2.yml

Page 20: KubeCon EU 2016 Keynote: Kubernetes State of the Union

Google Cloud Platform

Deployment API

Solution: Deployment API!apiserver$ kubectl create -f Deployment-1.yml

Deploy-ment

Page 21: KubeCon EU 2016 Keynote: Kubernetes State of the Union

Google Cloud Platform

Deployment API

Solution: Deployment API!apiserver$ kubectl create -f Deployment-1.yml

Page 22: KubeCon EU 2016 Keynote: Kubernetes State of the Union

Google Cloud Platform

ConfigMaps

Problem: Managing config separately from your applications

Today:● Build container with config ● Reconfigure app to use

external config store ● Run a sidecar container that pulls the config

from config store

apiserver

Page 23: KubeCon EU 2016 Keynote: Kubernetes State of the Union

Google Cloud Platform

ConfigMaps

Solution: ConfigMaps!● Late-binding, live-updated

and atomic ● Available as a file or env vars

apiserver

ConfigMap

$ kubectl create -f etcd-config.yml

Page 24: KubeCon EU 2016 Keynote: Kubernetes State of the Union

Google Cloud Platform

ConfigMaps

Solution: ConfigMaps!● Late-binding, live-updated

and atomic ● Available as a file or env vars

apiserver

ConfigMap

$ kubectl create -f etcd-config.yml

Page 25: KubeCon EU 2016 Keynote: Kubernetes State of the Union

Google Cloud Platform

ConfigMaps

Solution: ConfigMaps!● Late-binding, live-updated

and atomic ● Available as a file or env vars

apiserver

ConfigMap

$ kubectl create -f etcd-config.yml

Page 26: KubeCon EU 2016 Keynote: Kubernetes State of the Union

Google Cloud Platform

DaemonSets

Problem: Run one (and only one) pod on every node (or a subset of nodes)

Today:● Over-replicate● Static pods● Grab unique resource per node● Run outside of Kubernetes

apiserver

Page 27: KubeCon EU 2016 Keynote: Kubernetes State of the Union

Google Cloud Platform

DaemonSets

Solution: Daemon Sets!apiserver

Pod

$ kubectl create -f daemon-sharder.yml

Page 28: KubeCon EU 2016 Keynote: Kubernetes State of the Union

Google Cloud Platform

DaemonSets

Solution: Daemon Sets!apiserver

Pod

$ kubectl create -f daemon-sharder.yml

Page 29: KubeCon EU 2016 Keynote: Kubernetes State of the Union

Google Cloud Platform

Solution: Daemon Sets!

DaemonSets

Pod

$ kubectl create -f daemon-sharder.yml apiserver

Page 30: KubeCon EU 2016 Keynote: Kubernetes State of the Union

Google Cloud Platform

The Future

Page 31: KubeCon EU 2016 Keynote: Kubernetes State of the Union

Google Cloud Platform

Roadmap

• Kubernetes 1.3 is weeks* away!• Legacy application support (aka Pet Set)• Cluster Federation (aka Ubernetes)• Scale++• In-cluster IAM• Cluster autoscaling• Scheduled job• Public cloud dashboard (with nightly runs)• Lots, lots more!

• Open for proposals now

* Where weeks = O(16)

Page 32: KubeCon EU 2016 Keynote: Kubernetes State of the Union

Google Cloud Platform

CNCF

Page 33: KubeCon EU 2016 Keynote: Kubernetes State of the Union

Google Cloud Platform

Kubernetes is Open- open community- open design- open source- open to ideas

http://kubernetes.iohttps://github.com/kubernetes/kubernetes

slack: kubernetes (http://slack.kubernetes.io)twitter: @kubernetesio

me: @aronchick ([email protected])