SlideShare a Scribd company logo
Yet Another k8s Installer
By Urvashi Reddy
@youreddy
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license:
http://creativecommons.org/licenses/by-nc/3.0/
Introduction
Urvashi Reddy
Software Engineer at Pivotal
on the CFCR team
Based in San Francisco, CA
2
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license:
http://creativecommons.org/licenses/by-nc/3.0/
Cloud Foundry Container Runtime
BOSH deployed Kubernetes Cluster
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license:
http://creativecommons.org/licenses/by-nc/3.0/
CFCR is one of 60+ Kubernetes installers
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license:
http://creativecommons.org/licenses/by-nc/3.0/
Kubernetes on BOSH makes CFCR unique
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license:
http://creativecommons.org/licenses/by-nc/3.0/
1.What problems are other installers hitting?
2.Where are they advancing?
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license:
http://creativecommons.org/licenses/by-nc/3.0/
Agenda
● Quick Kubernetes Overview
● Installer Expectations
● kubeadm | kops | CFCR
● What's Next?
7
Kubernetes Overview
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license:
http://creativecommons.org/licenses/by-nc/3.0/
Kubernetes
open-source platform for
managing containerized workloads and services
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license:
http://creativecommons.org/licenses/by-nc/3.0/
Kubernetes
✔ Developers containers
✔ Abstractions and APIs
✔ Rich feature set
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license:
http://creativecommons.org/licenses/by-nc/3.0/
But installing k8s can be tricky and that's where
the installers come in.
Installer Expectations
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license:
http://creativecommons.org/licenses/by-nc/3.0/
Installer Expectations
● Easy to use
● Conformance certification
● Reproducible clusters
● Reliable upgrades
● Production ready
● Multi Cloud
Comparing Installers
workflow
advances
challenges
kubeadm
"bootstrap a minimum viable Kubernetes cluster
that conforms to best practices"
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license:
http://creativecommons.org/licenses/by-nc/3.0/
kubeadm
Workflow: Create your own machines and use the kubeadm cli to configure the
cluster.
● Download dependencies on each machine
○ base software: docker, kubeadm, kubelet, kubectl
● Run kubeadm init on master node
● Run kubeadm join on worker nodes
● kubectl apply -f <pod-network.yml>
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license:
http://creativecommons.org/licenses/by-nc/3.0/
kubeadm
Advances: Secure bootstrapping process
● Bootstrap cluster with tokens and certificates
○ TLS Bootstrap
○ Node Restriction
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license:
http://creativecommons.org/licenses/by-nc/3.0/
kubeadm
Challenges: Day 2
● Upgrade
○ kubeadm upgrade for kubernetes system components
○ independently upgrade base software and manage versions
● Backups
○ Follow the ETCD guidelines for disaster recovery
kops
"kubectl for clusters"
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license:
http://creativecommons.org/licenses/by-nc/3.0/
kops
Workflow: Manage full cluster lifecycle with kops cli
● Download kops cli
● Configure DNS for the cluster
● Cloud storage for state store
● kops create cluster --zones
● kops edit cluster
● kops update cluster
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license:
http://creativecommons.org/licenses/by-nc/3.0/
kops
Advances: Reproducible clusters
● Cluster spec is like a BOSH manifest
● Terraform scripts
● Edit instance groups with kops edit ig
○ like a BOSH cloud-config
○ AWS Auto Scaling groups
○ GPU
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license:
http://creativecommons.org/licenses/by-nc/3.0/
kops
Challenges: Support for most cloud providers are in alpha and beta
● Some of the fancy features are currently only supported for AWS
● Recent shift to etcd-manager using k8s-bundle
CFCR
BOSH deployed Kubernetes Cluster
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license:
http://creativecommons.org/licenses/by-nc/3.0/
CFCR
Workflow: Use bosh cli with the provided default manifest and any other
customizations in the form of ops-files.
● Create a new BOSH Director or use existing
● Clone kubo-release & kubo-deployment
● Upload stemcells & releases
● Configure a cloud-config bosh update-cloud-config
● bosh deploy -d cfcr cfcr.yml
-o manifest/ops-files/${iaas}/cloud-provider.yml
...
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license:
http://creativecommons.org/licenses/by-nc/3.0/
CFCR
Advances: Day 2
● Manage all dependencies and versions
● Backup and restore support for ETCD bbr backup & bbr restore
● Certificate generation and management with Credhub credhub find
● Multiple masters with internal BOSH DNS
● BOSH Resurrector
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license:
http://creativecommons.org/licenses/by-nc/3.0/
CFCR
Challenges: Key functionality comes from the BOSH layer
● Familiarity with BOSH workflows
● TLS Bootstrap for Node Restriction
● BOSH drain lifecycle
● CNI pluggability
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license:
http://creativecommons.org/licenses/by-nc/3.0/
Recap
kubeadm securely bootstraps clusters with new k8s features but the day 2
experience could be improved
kops manages the full cluster lifecycle. It's best at AWS and still stabilizing support
for other providers
CFCR manages full cluster lifecycle with day 2 in mind with a lot of the heavy
lifting done by BOSH which requires users to be comfortable with the platform
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license:
http://creativecommons.org/licenses/by-nc/3.0/
Takeaways as a CFCR Developer
● Benefit a lot from the BOSH platform
● Other installers are more comfortable incorporating
Kubernetes alpha features
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license:
http://creativecommons.org/licenses/by-nc/3.0/
What's next?
● Kubespray
● Cluster API
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license:
http://creativecommons.org/licenses/by-nc/3.0/
Thank you!
#cfcr channel
cfcr@pivotal.io
Me: Urvashi Reddy | @youreddy
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license:
http://creativecommons.org/licenses/by-nc/3.0/
Resources
https://kubernetes.io/blog/2016/09/how-we-made-kubernetes-easy-to-install
https://dzone.com/articles/kops-vs-kubeadm-whats-the-difference
https://github.com/kubernetes-incubator/kubespray/blob/master/docs/comparisons.md
https://www.altoros.com/blog/a-multitude-of-kubernetes-deployment-tools-kubespray-kops-and-kubeadm/
https://github.com/kubernetes/kops/blob/master/docs/addons.md
https://github.com/kubernetes/kubeadm/blob/master/docs/design/design_v1.10.md
https://github.com/kubernetes/kops/blob/master/docs/etcd/roadmap.md

More Related Content

PPTX
Docker OpenStack Cloud Foundry
PDF
VM vs Docker-Based Pipelines
PPTX
Cloud Foundry and OpenStack
PPTX
Vulkan Update Japan Virtual Open House Feb 2021
PDF
Docker meetup-20-apr-17-openshit
PPTX
Docker San Francisco Meetup April 2015 - The Docker Orchestration Ecosystem o...
PDF
Cloud Foundry Introduction - Canada - October 2012
PDF
Cloud Foundry Anniversary: Technical Slides
Docker OpenStack Cloud Foundry
VM vs Docker-Based Pipelines
Cloud Foundry and OpenStack
Vulkan Update Japan Virtual Open House Feb 2021
Docker meetup-20-apr-17-openshit
Docker San Francisco Meetup April 2015 - The Docker Orchestration Ecosystem o...
Cloud Foundry Introduction - Canada - October 2012
Cloud Foundry Anniversary: Technical Slides

What's hot (20)

PDF
Cloud Foundry Overview
PDF
Cloud Foundry, the Open Platform as a Service - Oscon - July 2012
PDF
DCEU 18: Use Cases and Practical Solutions for Docker Container Storage on Sw...
PDF
Spring Cloud in a Nutshell
PPTX
Docker Timisoara: Dockercon19 recap slides, 23 may 2019
PDF
Cloud Foundry vs Docker vs Kubernetes - http://bit.ly/2rzUM2U
PDF
create auto scale jboss cluster with openshift
PDF
Dockerfile Tutorial with Example | Creating your First Dockerfile | Docker Tr...
PDF
A Hitchhiker’s Guide to the Cloud Native Stack. #CDS17
PDF
Containerd + buildkit breakout
PDF
Kube Your Enthusiasm - Paul Czarkowski
PDF
Docker Networking | Container Network Model (CNM) | Docker Tutorial For Begin...
PPTX
Agile Network India | Continuous Integration & Continuous Deployment & Automa...
PPTX
Cloud Foundry | How it works
PPTX
A Dive Into Containers and Docker
PDF
Run your Java apps on Cloud Foundry
PDF
Accelerate your software development with Docker
PPTX
Accelerate your development with Docker
PPTX
DockerCon 15 Keynote - Day 2
PDF
DevOps Indonesia #5 - The Future of Containers
Cloud Foundry Overview
Cloud Foundry, the Open Platform as a Service - Oscon - July 2012
DCEU 18: Use Cases and Practical Solutions for Docker Container Storage on Sw...
Spring Cloud in a Nutshell
Docker Timisoara: Dockercon19 recap slides, 23 may 2019
Cloud Foundry vs Docker vs Kubernetes - http://bit.ly/2rzUM2U
create auto scale jboss cluster with openshift
Dockerfile Tutorial with Example | Creating your First Dockerfile | Docker Tr...
A Hitchhiker’s Guide to the Cloud Native Stack. #CDS17
Containerd + buildkit breakout
Kube Your Enthusiasm - Paul Czarkowski
Docker Networking | Container Network Model (CNM) | Docker Tutorial For Begin...
Agile Network India | Continuous Integration & Continuous Deployment & Automa...
Cloud Foundry | How it works
A Dive Into Containers and Docker
Run your Java apps on Cloud Foundry
Accelerate your software development with Docker
Accelerate your development with Docker
DockerCon 15 Keynote - Day 2
DevOps Indonesia #5 - The Future of Containers
Ad

Similar to Yet Another K8s Installer (20)

PPTX
The Reality of DIY Kubernetes vs. PKS
PPTX
PKS Networking with NSX-T: You Focus on your App, We'll Take Care of the Rest!
PDF
PKS: The What and How of Enterprise-Grade Kubernetes
PDF
Cloud Foundry Services on PKS with No Extra Code, "We Bosh So You Don’t Have ...
PDF
Developer Secure Containers for the Cyberspace Battlefield
PDF
.NET and Kubernetes: Bringing Legacy .NET Into the Modern World with Pivotal ...
PPTX
Connecting All Abstractions with Istio
PDF
P to V to C: The Value of Bringing “Everything” to Containers
PDF
Building .NET Microservices
PDF
Containers Were Never Your End State
PPTX
How to Build More Secure Service Brokers
PDF
Kubernetes and Windows: At Scale with Enterprise PKS
PDF
Cloud Foundry Networking with VMware NSX
PDF
Using CredHub for Kubernetes Deployments
PDF
Cloud Configuration Ecosystem at Intuit
PPTX
Singing the "Migration Song" with No Downtime
PDF
S1P: Spring Cloud on PKS
PDF
riffing on Knative - Scott Andrews
PPTX
Docker and Jenkins [as code]
PDF
12 Factor, or Cloud Native Apps - What EXACTLY Does that Mean for Spring Deve...
The Reality of DIY Kubernetes vs. PKS
PKS Networking with NSX-T: You Focus on your App, We'll Take Care of the Rest!
PKS: The What and How of Enterprise-Grade Kubernetes
Cloud Foundry Services on PKS with No Extra Code, "We Bosh So You Don’t Have ...
Developer Secure Containers for the Cyberspace Battlefield
.NET and Kubernetes: Bringing Legacy .NET Into the Modern World with Pivotal ...
Connecting All Abstractions with Istio
P to V to C: The Value of Bringing “Everything” to Containers
Building .NET Microservices
Containers Were Never Your End State
How to Build More Secure Service Brokers
Kubernetes and Windows: At Scale with Enterprise PKS
Cloud Foundry Networking with VMware NSX
Using CredHub for Kubernetes Deployments
Cloud Configuration Ecosystem at Intuit
Singing the "Migration Song" with No Downtime
S1P: Spring Cloud on PKS
riffing on Knative - Scott Andrews
Docker and Jenkins [as code]
12 Factor, or Cloud Native Apps - What EXACTLY Does that Mean for Spring Deve...
Ad

More from VMware Tanzu (20)

PDF
Spring into AI presented by Dan Vega 5/14
PDF
What AI Means For Your Product Strategy And What To Do About It
PDF
Make the Right Thing the Obvious Thing at Cardinal Health 2023
PPTX
Enhancing DevEx and Simplifying Operations at Scale
PDF
Spring Update | July 2023
PPTX
Platforms, Platform Engineering, & Platform as a Product
PPTX
Building Cloud Ready Apps
PDF
Spring Boot 3 And Beyond
PDF
Spring Cloud Gateway - SpringOne Tour 2023 Charles Schwab.pdf
PDF
Simplify and Scale Enterprise Apps in the Cloud | Boston 2023
PDF
Simplify and Scale Enterprise Apps in the Cloud | Seattle 2023
PPTX
tanzu_developer_connect.pptx
PDF
Tanzu Virtual Developer Connect Workshop - French
PDF
Tanzu Developer Connect Workshop - English
PDF
Virtual Developer Connect Workshop - English
PDF
Tanzu Developer Connect - French
PDF
Simplify and Scale Enterprise Apps in the Cloud | Dallas 2023
PDF
SpringOne Tour: Deliver 15-Factor Applications on Kubernetes with Spring Boot
PDF
SpringOne Tour: The Influential Software Engineer
PDF
SpringOne Tour: Domain-Driven Design: Theory vs Practice
Spring into AI presented by Dan Vega 5/14
What AI Means For Your Product Strategy And What To Do About It
Make the Right Thing the Obvious Thing at Cardinal Health 2023
Enhancing DevEx and Simplifying Operations at Scale
Spring Update | July 2023
Platforms, Platform Engineering, & Platform as a Product
Building Cloud Ready Apps
Spring Boot 3 And Beyond
Spring Cloud Gateway - SpringOne Tour 2023 Charles Schwab.pdf
Simplify and Scale Enterprise Apps in the Cloud | Boston 2023
Simplify and Scale Enterprise Apps in the Cloud | Seattle 2023
tanzu_developer_connect.pptx
Tanzu Virtual Developer Connect Workshop - French
Tanzu Developer Connect Workshop - English
Virtual Developer Connect Workshop - English
Tanzu Developer Connect - French
Simplify and Scale Enterprise Apps in the Cloud | Dallas 2023
SpringOne Tour: Deliver 15-Factor Applications on Kubernetes with Spring Boot
SpringOne Tour: The Influential Software Engineer
SpringOne Tour: Domain-Driven Design: Theory vs Practice

Recently uploaded (20)

PDF
AI/ML Infra Meetup | LLM Agents and Implementation Challenges
PPTX
Custom Software Development Services.pptx.pptx
PDF
wealthsignaloriginal-com-DS-text-... (1).pdf
PDF
DNT Brochure 2025 – ISV Solutions @ D365
PDF
Complete Guide to Website Development in Malaysia for SMEs
PPTX
chapter 5 systemdesign2008.pptx for cimputer science students
PDF
Types of Token_ From Utility to Security.pdf
PDF
How Tridens DevSecOps Ensures Compliance, Security, and Agility
PPTX
Trending Python Topics for Data Visualization in 2025
PPTX
Oracle Fusion HCM Cloud Demo for Beginners
PPTX
Embracing Complexity in Serverless! GOTO Serverless Bengaluru
DOCX
Greta — No-Code AI for Building Full-Stack Web & Mobile Apps
PDF
Time Tracking Features That Teams and Organizations Actually Need
PPTX
Computer Software and OS of computer science of grade 11.pptx
PPTX
Log360_SIEM_Solutions Overview PPT_Feb 2020.pptx
PPTX
AMADEUS TRAVEL AGENT SOFTWARE | AMADEUS TICKETING SYSTEM
PDF
EaseUS PDF Editor Pro 6.2.0.2 Crack with License Key 2025
PDF
How to Make Money in the Metaverse_ Top Strategies for Beginners.pdf
PPTX
Weekly report ppt - harsh dattuprasad patel.pptx
PDF
DuckDuckGo Private Browser Premium APK for Android Crack Latest 2025
AI/ML Infra Meetup | LLM Agents and Implementation Challenges
Custom Software Development Services.pptx.pptx
wealthsignaloriginal-com-DS-text-... (1).pdf
DNT Brochure 2025 – ISV Solutions @ D365
Complete Guide to Website Development in Malaysia for SMEs
chapter 5 systemdesign2008.pptx for cimputer science students
Types of Token_ From Utility to Security.pdf
How Tridens DevSecOps Ensures Compliance, Security, and Agility
Trending Python Topics for Data Visualization in 2025
Oracle Fusion HCM Cloud Demo for Beginners
Embracing Complexity in Serverless! GOTO Serverless Bengaluru
Greta — No-Code AI for Building Full-Stack Web & Mobile Apps
Time Tracking Features That Teams and Organizations Actually Need
Computer Software and OS of computer science of grade 11.pptx
Log360_SIEM_Solutions Overview PPT_Feb 2020.pptx
AMADEUS TRAVEL AGENT SOFTWARE | AMADEUS TICKETING SYSTEM
EaseUS PDF Editor Pro 6.2.0.2 Crack with License Key 2025
How to Make Money in the Metaverse_ Top Strategies for Beginners.pdf
Weekly report ppt - harsh dattuprasad patel.pptx
DuckDuckGo Private Browser Premium APK for Android Crack Latest 2025

Yet Another K8s Installer

  • 1. Yet Another k8s Installer By Urvashi Reddy @youreddy
  • 2. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Introduction Urvashi Reddy Software Engineer at Pivotal on the CFCR team Based in San Francisco, CA 2
  • 3. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Cloud Foundry Container Runtime BOSH deployed Kubernetes Cluster
  • 4. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ CFCR is one of 60+ Kubernetes installers
  • 5. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Kubernetes on BOSH makes CFCR unique
  • 6. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ 1.What problems are other installers hitting? 2.Where are they advancing?
  • 7. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Agenda ● Quick Kubernetes Overview ● Installer Expectations ● kubeadm | kops | CFCR ● What's Next? 7
  • 9. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Kubernetes open-source platform for managing containerized workloads and services
  • 10. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Kubernetes ✔ Developers containers ✔ Abstractions and APIs ✔ Rich feature set
  • 11. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ But installing k8s can be tricky and that's where the installers come in.
  • 13. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Installer Expectations ● Easy to use ● Conformance certification ● Reproducible clusters ● Reliable upgrades ● Production ready ● Multi Cloud
  • 15. kubeadm "bootstrap a minimum viable Kubernetes cluster that conforms to best practices"
  • 16. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ kubeadm Workflow: Create your own machines and use the kubeadm cli to configure the cluster. ● Download dependencies on each machine ○ base software: docker, kubeadm, kubelet, kubectl ● Run kubeadm init on master node ● Run kubeadm join on worker nodes ● kubectl apply -f <pod-network.yml>
  • 17. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ kubeadm Advances: Secure bootstrapping process ● Bootstrap cluster with tokens and certificates ○ TLS Bootstrap ○ Node Restriction
  • 18. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ kubeadm Challenges: Day 2 ● Upgrade ○ kubeadm upgrade for kubernetes system components ○ independently upgrade base software and manage versions ● Backups ○ Follow the ETCD guidelines for disaster recovery
  • 20. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ kops Workflow: Manage full cluster lifecycle with kops cli ● Download kops cli ● Configure DNS for the cluster ● Cloud storage for state store ● kops create cluster --zones ● kops edit cluster ● kops update cluster
  • 21. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ kops Advances: Reproducible clusters ● Cluster spec is like a BOSH manifest ● Terraform scripts ● Edit instance groups with kops edit ig ○ like a BOSH cloud-config ○ AWS Auto Scaling groups ○ GPU
  • 22. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ kops Challenges: Support for most cloud providers are in alpha and beta ● Some of the fancy features are currently only supported for AWS ● Recent shift to etcd-manager using k8s-bundle
  • 24. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ CFCR Workflow: Use bosh cli with the provided default manifest and any other customizations in the form of ops-files. ● Create a new BOSH Director or use existing ● Clone kubo-release & kubo-deployment ● Upload stemcells & releases ● Configure a cloud-config bosh update-cloud-config ● bosh deploy -d cfcr cfcr.yml -o manifest/ops-files/${iaas}/cloud-provider.yml ...
  • 25. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ CFCR Advances: Day 2 ● Manage all dependencies and versions ● Backup and restore support for ETCD bbr backup & bbr restore ● Certificate generation and management with Credhub credhub find ● Multiple masters with internal BOSH DNS ● BOSH Resurrector
  • 26. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ CFCR Challenges: Key functionality comes from the BOSH layer ● Familiarity with BOSH workflows ● TLS Bootstrap for Node Restriction ● BOSH drain lifecycle ● CNI pluggability
  • 27. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Recap kubeadm securely bootstraps clusters with new k8s features but the day 2 experience could be improved kops manages the full cluster lifecycle. It's best at AWS and still stabilizing support for other providers CFCR manages full cluster lifecycle with day 2 in mind with a lot of the heavy lifting done by BOSH which requires users to be comfortable with the platform
  • 28. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Takeaways as a CFCR Developer ● Benefit a lot from the BOSH platform ● Other installers are more comfortable incorporating Kubernetes alpha features
  • 29. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ What's next? ● Kubespray ● Cluster API
  • 30. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Thank you! #cfcr channel cfcr@pivotal.io Me: Urvashi Reddy | @youreddy
  • 31. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Resources https://kubernetes.io/blog/2016/09/how-we-made-kubernetes-easy-to-install https://dzone.com/articles/kops-vs-kubeadm-whats-the-difference https://github.com/kubernetes-incubator/kubespray/blob/master/docs/comparisons.md https://www.altoros.com/blog/a-multitude-of-kubernetes-deployment-tools-kubespray-kops-and-kubeadm/ https://github.com/kubernetes/kops/blob/master/docs/addons.md https://github.com/kubernetes/kubeadm/blob/master/docs/design/design_v1.10.md https://github.com/kubernetes/kops/blob/master/docs/etcd/roadmap.md