Slide 1

Slide 1 text

Kubernetes
 The Typhoon Way André Veelken - DevOps Engineer 07.06.2018

Slide 2

Slide 2 text

About me - DevOps engineer @ dreamIT - main focus: Kubernetes, clouds - https://twitter.com/andreveelken - spoke about CoreOS matchbox and k8s on bare metal at last Meetup

Slide 3

Slide 3 text

Topics - Kubernetes distributions vs. vanilla - Typhoon - Terraform - bootkube - building a cluster live
 on AWS

Slide 4

Slide 4 text

No content

Slide 5

Slide 5 text

„You’re not running vanilla k8s“ - vanilla k8s (marketing term) promising neutrality and protection from vendor lock-in - to run k8s you have to adapt upstream - form communities instead of baking your own k8s distribution!

Slide 6

Slide 6 text

Kubernetes distributions - added value, e.g. updates - differences: networking, storage, loadbalancing, API server flags,… - https://kubernetes.io/docs/setup/ pick-right-solution/ - risk of vendor lock in

Slide 7

Slide 7 text

No content

Slide 8

Slide 8 text

No content

Slide 9

Slide 9 text

Cloud Native 
 Landscape

Slide 10

Slide 10 text

Typhoon - free, minimal and community driven - declarative infrastructure via Terraform - set up, change, destroy - everything wrapped in Terraform modules - uses bootkube under the hood (terraform-render-bootkube) - similarities to CoreOS Tectonic

Slide 11

Slide 11 text

Typhoon - targets GCE, DigitalOcean, AWS and bare metal! - easy to modify in comparison with
 other distributions

Slide 12

Slide 12 text

Bootkube - kubernetes incubator project - creates a temporary control plane and bootstraps a self-hosted k8s cluster - uses hyperkube images (multi purpose containter with all k8s components)

Slide 13

Slide 13 text

- makes „infrastructure as code“ possible - unified workflow - abstraction: provider and resources - talk to local and remote APIs in a consistent manner - % terraform init | apply | destroy

Slide 14

Slide 14 text

Building a Typhoon cluster on AWS - single master, two nodes - calico networking - OS: ContainerLinux - nginx ingress deployment - simple example app

Slide 15

Slide 15 text

Demo time

Slide 16

Slide 16 text

Sources - medium.com/@jzelinskie/youre-not-running-vanilla- kubernetes-2f2359666bf9 - typhoon.psdn.io - github.com/poseidon/typhoon/ - github.com/kubernetes-incubator/bootkube - thenewstack.io/find-perfect-kubernetes- distribution/ - kubernetes.io/docs/setup/pick-right-solution/ - landscape.cncf.io/ - Artwork: github.com/ashleymcnamara/gophers

Slide 17

Slide 17 text

- Kubernetes Community Slack #wg-onprem, 
 #bootkube - IRC on freenode: #typhoon - in planning: k8s on baremetal informal gathering 
 at containerdays.io June 19., 20. Use the community, Luke!

Slide 18

Slide 18 text

Thank you! Questions? % presentation/ terraform destroy -force - our simple fork of Typhoon for
 bare metal
 https://github.com/dreamit-de/typhoon
 https://github.com/dreamit-de/ terraform-render-bootkube