Slide 1

Slide 1 text

Lightweight Kubernetes Running Kubernetes on Workstations, Edge and IoT Devices @LeanderReimer #qaware #CloudNativeNerd #JCON2020

Slide 2

Slide 2 text

Mario-Leander Reimer Principal Software Architect @LeanderReimer #cloudnativenerd #qaware

Slide 3

Slide 3 text

// JCON 2020 // Running K8s on Workstation, Edge and IoT Devices // @LeanderReimer #cloudnativenerd #qaware #JCON2020 Installing K8s in the Cloud is relatively easy. 3 Cloud / Data Center Cloud Layer $ eksctl create cluster -n eks-demo -f cluster.yml $ aksctl create cluster --name aks-demo -file cluster.yaml $ gcloud container cluster create gke-demo

Slide 4

Slide 4 text

// JCON 2020 // Running K8s on Workstation, Edge and IoT Devices // @LeanderReimer #cloudnativenerd #qaware #JCON2020 Installing K8s on Fog, Edge and IoT is not so easy. 4 Cloud / Data Center Fog Nodes Devices Gateways Cloud Layer Fog Layer Edge Layer

Slide 5

Slide 5 text

// JCON 2020 // Running K8s on Workstation, Edge and IoT Devices // @LeanderReimer #cloudnativenerd #qaware #JCON2020 5 Do you have a PhD in Kubernetes clusterology?

Slide 6

Slide 6 text

// JCON 2020 // Running K8s on Workstation, Edge and IoT Devices // @LeanderReimer #cloudnativenerd #qaware #JCON2020 • CentOS 7.7 with Containerd • Kubernetes 1.16 with K8s Dashboard • Calico, External-DNS • MetalLB + NGINX-Ingress • Rook CephFS • Cert-Manager, Sealed Secrets • Elastic-Stack (Elasticsearch, Kibana, Fluentd) • Prometheus, Grafana, Grafana Loki • Istio, Knative, Jaeger • Clair, Vault, Keycloak 6 // JCON 2020 // Running K8s on Workstation, Edge and IoT Devices // @LeanderReimer #cloudnativenerd #qaware #JCON2020

Slide 7

Slide 7 text

// JCON 2020 // Running K8s on Workstation, Edge and IoT Devices // @LeanderReimer #cloudnativenerd #qaware #JCON2020 7 https://en.wikipedia.org/wiki/Bus_factor

Slide 8

Slide 8 text

// JCON 2020 // Running K8s on Workstation, Edge and IoT Devices // @LeanderReimer #cloudnativenerd #qaware #JCON2020 https://k3s.io https://microk8s.io 8 // JCON 2020 // Running K8s on Workstation, Edge and IoT Devices // @LeanderReimer #cloudnativenerd #qaware #JCON2020

Slide 9

Slide 9 text

// JCON 2020 // Running K8s on Workstation, Edge and IoT Devices // @LeanderReimer #cloudnativenerd #qaware #JCON2020 9 5 x Intel NUC i3 5 x Raspberry Pi 3 CoM miniNodes Carrier Board

Slide 10

Slide 10 text

// JCON 2020 // Running K8s on Workstation, Edge and IoT Devices // @LeanderReimer #cloudnativenerd #qaware #JCON2020 MicroK8s - Zero-ops Kubernetes • Certified Kubernetes distribution. Backed by Canonical. • Pure upstream, no APIs added or removed. Currently v1.19 • A single package of K8s for 42 flavours of Linux. Uses multipass to run a local Ubuntu VM under Windows and Mac. • Made for developers. Runs on cloud, workstations, Edge and IoT. • Dozens of infrastructure add-ons: DNS, registry, dashboard, storage, RBAC, ingress, MetalLB, GPU, Istio, Linkerd, Knative, fluentd, Prometheus, Jaeger, Ambassador, Cilium, Helm, … • High Availability and Multi-node cluster configuration supported. 10

Slide 11

Slide 11 text

// JCON 2020 // Running K8s on Workstation, Edge and IoT Devices // @LeanderReimer #cloudnativenerd #qaware #JCON2020 MicroK8s Demo MicroK8s Demo https://github.com/lreimer/lightweight-k8s

Slide 12

Slide 12 text

// JCON 2020 // Running K8s on Workstation, Edge and IoT Devices // @LeanderReimer #cloudnativenerd #qaware #JCON2020 K3s - 5 less than K8s • Certified Kubernetes distribution. Backed by Rancher. • Legacy, alpha, non-default features are removed. Currently v1.18.9+k3s1 • Suitable for Edge, IoT, ARM64, ARMv7, CI, Workstations and the Cloud • LoadBalancer support with Traefik based Ingress. • High Availability with an External DB or Embedded DB (experimental) • Easy to install, run and auto-update. Single < 40MB binary. • k3sup: from Zero to KUBECONFIG in < 1 min https://k3sup.dev/ 12

Slide 13

Slide 13 text

// JCON 2020 // Running K8s on Workstation, Edge and IoT Devices // @LeanderReimer #cloudnativenerd #qaware #JCON2020 K3s Demo https://github.com/lreimer/lightweight-k8s

Slide 14

Slide 14 text

Thank You ! JCON2020 # www.jcon.one Our Partners 2020: Mario-Leander Reimer Principal Software Architect, QAware GmbH [email protected] https://www.qaware.de https://speakerdeck.com/lreimer/ https://github.com/lreimer/

Slide 15

Slide 15 text

www.javapro.io Das kostenlose Profi-Magazin für Java Entwickler ! Powered by