Workflow PaaS on Kubernetesfiles.meetup.com/18569714/Workflow Paas on K8s DEck - NYCK8s F… ·...
Transcript of Workflow PaaS on Kubernetesfiles.meetup.com/18569714/Workflow Paas on K8s DEck - NYCK8s F… ·...
![Page 1: Workflow PaaS on Kubernetesfiles.meetup.com/18569714/Workflow Paas on K8s DEck - NYCK8s F… · Acquired by Engine Yard in April 2015 Makers of the leading open source PaaS with 3.9](https://reader033.fdocuments.in/reader033/viewer/2022051918/600af035f592e63d91316fd3/html5/thumbnails/1.jpg)
Workflow PaaS on KubernetesNYI, Deis, Kubernetes & a Night of Containers
![Page 2: Workflow PaaS on Kubernetesfiles.meetup.com/18569714/Workflow Paas on K8s DEck - NYCK8s F… · Acquired by Engine Yard in April 2015 Makers of the leading open source PaaS with 3.9](https://reader033.fdocuments.in/reader033/viewer/2022051918/600af035f592e63d91316fd3/html5/thumbnails/2.jpg)
● Senior engineer at Engine Yard● A Deis core maintainer● Former app developer● Former devops dude● Rabid comic book fan
Who is this guy?
[email protected] Rancourt
![Page 3: Workflow PaaS on Kubernetesfiles.meetup.com/18569714/Workflow Paas on K8s DEck - NYCK8s F… · Acquired by Engine Yard in April 2015 Makers of the leading open source PaaS with 3.9](https://reader033.fdocuments.in/reader033/viewer/2022051918/600af035f592e63d91316fd3/html5/thumbnails/3.jpg)
About Deis● Acquired by Engine Yard in April 2015● Makers of the leading open source PaaS with 3.9 million downloads● Building products for the Kubernetes ecosystem
○ Deis Workflow -- Platform as a Service○ Helm -- The Kubernetes package manager
I have a Kubernetes cluster, now what?
We can help.
![Page 4: Workflow PaaS on Kubernetesfiles.meetup.com/18569714/Workflow Paas on K8s DEck - NYCK8s F… · Acquired by Engine Yard in April 2015 Makers of the leading open source PaaS with 3.9](https://reader033.fdocuments.in/reader033/viewer/2022051918/600af035f592e63d91316fd3/html5/thumbnails/4.jpg)
The Deis Mission
![Page 5: Workflow PaaS on Kubernetesfiles.meetup.com/18569714/Workflow Paas on K8s DEck - NYCK8s F… · Acquired by Engine Yard in April 2015 Makers of the leading open source PaaS with 3.9](https://reader033.fdocuments.in/reader033/viewer/2022051918/600af035f592e63d91316fd3/html5/thumbnails/5.jpg)
The Microservices Trade-off
Software Complexity Operational Complexity
![Page 6: Workflow PaaS on Kubernetesfiles.meetup.com/18569714/Workflow Paas on K8s DEck - NYCK8s F… · Acquired by Engine Yard in April 2015 Makers of the leading open source PaaS with 3.9](https://reader033.fdocuments.in/reader033/viewer/2022051918/600af035f592e63d91316fd3/html5/thumbnails/6.jpg)
Deis solves for increased operational complexity by empowering developers to...
● Create applications● Build and deploy code or Docker images● Configure the runtime environment● Manage releases and rollbacks● Run administrative commands● View aggregated logs● Scale out via the process model● Collaborate with a team
… using simple, easy-to-use CLIs and APIs.
Empowering Developers
![Page 7: Workflow PaaS on Kubernetesfiles.meetup.com/18569714/Workflow Paas on K8s DEck - NYCK8s F… · Acquired by Engine Yard in April 2015 Makers of the leading open source PaaS with 3.9](https://reader033.fdocuments.in/reader033/viewer/2022051918/600af035f592e63d91316fd3/html5/thumbnails/7.jpg)
Empower OperatorsGoogle’s Operational Model:
Infrastructure Ops
Cluster Ops
Application Ops
![Page 8: Workflow PaaS on Kubernetesfiles.meetup.com/18569714/Workflow Paas on K8s DEck - NYCK8s F… · Acquired by Engine Yard in April 2015 Makers of the leading open source PaaS with 3.9](https://reader033.fdocuments.in/reader033/viewer/2022051918/600af035f592e63d91316fd3/html5/thumbnails/8.jpg)
Kubernetes
![Page 9: Workflow PaaS on Kubernetesfiles.meetup.com/18569714/Workflow Paas on K8s DEck - NYCK8s F… · Acquired by Engine Yard in April 2015 Makers of the leading open source PaaS with 3.9](https://reader033.fdocuments.in/reader033/viewer/2022051918/600af035f592e63d91316fd3/html5/thumbnails/9.jpg)
What is Kubernetes?Greek for “Helmsman”; also the root of the words “governor” and “cybernetic”
• Runs and manages containers
• Inspired and informed by Google’s experiences and internal systems
• Supports multiple cloud and bare-metal environments
• Supports multiple container runtimes
• 100% Open source, written in Go
Manage applications, not machines.
![Page 10: Workflow PaaS on Kubernetesfiles.meetup.com/18569714/Workflow Paas on K8s DEck - NYCK8s F… · Acquired by Engine Yard in April 2015 Makers of the leading open source PaaS with 3.9](https://reader033.fdocuments.in/reader033/viewer/2022051918/600af035f592e63d91316fd3/html5/thumbnails/10.jpg)
Google Cloud Platform
kubelet
UI
kubelet CLI
API
developers & operators master nodes
etcd
kubelet
scheduler
controllers
apiserver
The 10,000 Foot View
![Page 11: Workflow PaaS on Kubernetesfiles.meetup.com/18569714/Workflow Paas on K8s DEck - NYCK8s F… · Acquired by Engine Yard in April 2015 Makers of the leading open source PaaS with 3.9](https://reader033.fdocuments.in/reader033/viewer/2022051918/600af035f592e63d91316fd3/html5/thumbnails/11.jpg)
Google Cloud Platform
UI
APIContainer
Cluster
All We Really Care About
![Page 12: Workflow PaaS on Kubernetesfiles.meetup.com/18569714/Workflow Paas on K8s DEck - NYCK8s F… · Acquired by Engine Yard in April 2015 Makers of the leading open source PaaS with 3.9](https://reader033.fdocuments.in/reader033/viewer/2022051918/600af035f592e63d91316fd3/html5/thumbnails/12.jpg)
Why Kubernetes? (for us)● Widespread adoption and a vibrant community● Declarative APIs● Right abstractions● Promotes loose coupling
Represents Google’s 10+ years experience with containers at scale
But using Kubernetes can be complicated… there’s that operational complexity again.
![Page 13: Workflow PaaS on Kubernetesfiles.meetup.com/18569714/Workflow Paas on K8s DEck - NYCK8s F… · Acquired by Engine Yard in April 2015 Makers of the leading open source PaaS with 3.9](https://reader033.fdocuments.in/reader033/viewer/2022051918/600af035f592e63d91316fd3/html5/thumbnails/13.jpg)
Deis v2: Workflow
![Page 14: Workflow PaaS on Kubernetesfiles.meetup.com/18569714/Workflow Paas on K8s DEck - NYCK8s F… · Acquired by Engine Yard in April 2015 Makers of the leading open source PaaS with 3.9](https://reader033.fdocuments.in/reader033/viewer/2022051918/600af035f592e63d91316fd3/html5/thumbnails/14.jpg)
What is Deis Workflow?● Private PaaS running on your own infrastructure● Simple developer experience on top of Kubernetes● Force multiplier for operations teams
![Page 15: Workflow PaaS on Kubernetesfiles.meetup.com/18569714/Workflow Paas on K8s DEck - NYCK8s F… · Acquired by Engine Yard in April 2015 Makers of the leading open source PaaS with 3.9](https://reader033.fdocuments.in/reader033/viewer/2022051918/600af035f592e63d91316fd3/html5/thumbnails/15.jpg)
![Page 16: Workflow PaaS on Kubernetesfiles.meetup.com/18569714/Workflow Paas on K8s DEck - NYCK8s F… · Acquired by Engine Yard in April 2015 Makers of the leading open source PaaS with 3.9](https://reader033.fdocuments.in/reader033/viewer/2022051918/600af035f592e63d91316fd3/html5/thumbnails/16.jpg)
Deis Workflow for Developers
Create an application $ deis create
Build and deploy $ git push deis master
Configure $ deis config:set FOO=bar
Scale! $ deis scale web=5
![Page 17: Workflow PaaS on Kubernetesfiles.meetup.com/18569714/Workflow Paas on K8s DEck - NYCK8s F… · Acquired by Engine Yard in April 2015 Makers of the leading open source PaaS with 3.9](https://reader033.fdocuments.in/reader033/viewer/2022051918/600af035f592e63d91316fd3/html5/thumbnails/17.jpg)
Great! How can we install Deis Workflow?
![Page 18: Workflow PaaS on Kubernetesfiles.meetup.com/18569714/Workflow Paas on K8s DEck - NYCK8s F… · Acquired by Engine Yard in April 2015 Makers of the leading open source PaaS with 3.9](https://reader033.fdocuments.in/reader033/viewer/2022051918/600af035f592e63d91316fd3/html5/thumbnails/18.jpg)
Helm!
![Page 19: Workflow PaaS on Kubernetesfiles.meetup.com/18569714/Workflow Paas on K8s DEck - NYCK8s F… · Acquired by Engine Yard in April 2015 Makers of the leading open source PaaS with 3.9](https://reader033.fdocuments.in/reader033/viewer/2022051918/600af035f592e63d91316fd3/html5/thumbnails/19.jpg)
The best way to find, share and use software built for Kubernetes
![Page 20: Workflow PaaS on Kubernetesfiles.meetup.com/18569714/Workflow Paas on K8s DEck - NYCK8s F… · Acquired by Engine Yard in April 2015 Makers of the leading open source PaaS with 3.9](https://reader033.fdocuments.in/reader033/viewer/2022051918/600af035f592e63d91316fd3/html5/thumbnails/20.jpg)
Why Helm?Should be easy to…
● Get up and running with common workloads● Define new workloads● Collaborate on workload definitions
![Page 21: Workflow PaaS on Kubernetesfiles.meetup.com/18569714/Workflow Paas on K8s DEck - NYCK8s F… · Acquired by Engine Yard in April 2015 Makers of the leading open source PaaS with 3.9](https://reader033.fdocuments.in/reader033/viewer/2022051918/600af035f592e63d91316fd3/html5/thumbnails/21.jpg)
Helm vs. Workflow● Helm supports more than 12-factor applications
○ Databases○ Queues○ Caches
● Helm promotes a Kubernetes-native approach● Helm is a tool for operators, not developers
Helm is used to install Workflow.
![Page 22: Workflow PaaS on Kubernetesfiles.meetup.com/18569714/Workflow Paas on K8s DEck - NYCK8s F… · Acquired by Engine Yard in April 2015 Makers of the leading open source PaaS with 3.9](https://reader033.fdocuments.in/reader033/viewer/2022051918/600af035f592e63d91316fd3/html5/thumbnails/22.jpg)
Installing Workflow with Helm$ helm repo add deis [email protected]:deis/charts.git
$ helm fetch deis/deis-dev
$ helm generate deis-dev
$ helm install deis-dev
![Page 23: Workflow PaaS on Kubernetesfiles.meetup.com/18569714/Workflow Paas on K8s DEck - NYCK8s F… · Acquired by Engine Yard in April 2015 Makers of the leading open source PaaS with 3.9](https://reader033.fdocuments.in/reader033/viewer/2022051918/600af035f592e63d91316fd3/html5/thumbnails/23.jpg)
+
![Page 24: Workflow PaaS on Kubernetesfiles.meetup.com/18569714/Workflow Paas on K8s DEck - NYCK8s F… · Acquired by Engine Yard in April 2015 Makers of the leading open source PaaS with 3.9](https://reader033.fdocuments.in/reader033/viewer/2022051918/600af035f592e63d91316fd3/html5/thumbnails/24.jpg)
Why bare metal?Ideal for…
● Processor and I/O intensive workloads● Security without the maintenance hassle● Workloads that have outgrown the cloud
○ Require dedicated resources
![Page 25: Workflow PaaS on Kubernetesfiles.meetup.com/18569714/Workflow Paas on K8s DEck - NYCK8s F… · Acquired by Engine Yard in April 2015 Makers of the leading open source PaaS with 3.9](https://reader033.fdocuments.in/reader033/viewer/2022051918/600af035f592e63d91316fd3/html5/thumbnails/25.jpg)
Why bare metal + Deis?● Developer self-service● Lightning-fast app boot times● Dramatically increased density
○ Major cost savings
● Portable software artifacts○ Move from bare metal to the cloud and back
● Dramatically simplified scaling○ Using the process model
![Page 26: Workflow PaaS on Kubernetesfiles.meetup.com/18569714/Workflow Paas on K8s DEck - NYCK8s F… · Acquired by Engine Yard in April 2015 Makers of the leading open source PaaS with 3.9](https://reader033.fdocuments.in/reader033/viewer/2022051918/600af035f592e63d91316fd3/html5/thumbnails/26.jpg)
Demo
![Page 27: Workflow PaaS on Kubernetesfiles.meetup.com/18569714/Workflow Paas on K8s DEck - NYCK8s F… · Acquired by Engine Yard in April 2015 Makers of the leading open source PaaS with 3.9](https://reader033.fdocuments.in/reader033/viewer/2022051918/600af035f592e63d91316fd3/html5/thumbnails/27.jpg)
Roadmap Q1/Q2 2016Q1:
● Helm: Facilitate delivery of Deis Workflow● Workflow: Ship v2, PaaS on Kubernetes
Q2:
● Helm: Continue investment in native Kubernetes Workloads● Workflow: Teams and Permissions● Workflow: Service Broker Integration
![Page 28: Workflow PaaS on Kubernetesfiles.meetup.com/18569714/Workflow Paas on K8s DEck - NYCK8s F… · Acquired by Engine Yard in April 2015 Makers of the leading open source PaaS with 3.9](https://reader033.fdocuments.in/reader033/viewer/2022051918/600af035f592e63d91316fd3/html5/thumbnails/28.jpg)
![Page 29: Workflow PaaS on Kubernetesfiles.meetup.com/18569714/Workflow Paas on K8s DEck - NYCK8s F… · Acquired by Engine Yard in April 2015 Makers of the leading open source PaaS with 3.9](https://reader033.fdocuments.in/reader033/viewer/2022051918/600af035f592e63d91316fd3/html5/thumbnails/29.jpg)
Questions?
![Page 30: Workflow PaaS on Kubernetesfiles.meetup.com/18569714/Workflow Paas on K8s DEck - NYCK8s F… · Acquired by Engine Yard in April 2015 Makers of the leading open source PaaS with 3.9](https://reader033.fdocuments.in/reader033/viewer/2022051918/600af035f592e63d91316fd3/html5/thumbnails/30.jpg)