Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Kubernetes für Workstations, Edge and IoT Devices

Sponsored · SiteGround - Reliable hosting with speed, security, and support you can count on.

Kubernetes für Workstations, Edge and IoT Devices

Wenn es darum geht, Kubernetes auf Hardware mit eingeschränkten Ressourcen wie einer lokalen Entwickler-Workstation oder Edge- und IoT-Geräten zu betreiben, ist eine volle Kubernetes-Distribution nicht die ideale Wahl. Viel besser dafür geeignet ist stattdessen eine neue Generation von leichten und dennoch zertifizierten K8s-Distributionen.

In diesem Vortrag werden wir uns zwei beliebte Optionen genauer ansehen: MicroK8s und K3s.

Nach einem kurzen Überblick der jeweiligen Funktionen unterziehen wir beide Kandidaten einem Live-Praxistest auf realer Hardware. Dieser Vortrag ist Hands-on und unterhaltsam zugleich, und zeigt, dass man als Entwickler keinen Doktortitel in K8s Clusterology benötigt.

Avatar for M.-Leander Reimer

M.-Leander Reimer PRO

November 04, 2020
Tweet

More Decks by M.-Leander Reimer

Other Decks in Technology

Transcript

  1. // ContainerConf 2020 // Kubernetes für Workstations, Edge and IoT

    Devices // @LeanderReimer #cloudnativenerd #qaware #ConCon20 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
  2. // ContainerConf 2020 // Kubernetes für Workstations, Edge and IoT

    Devices // @LeanderReimer #cloudnativenerd #qaware #ConCon20 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
  3. // ContainerConf 2020 // Kubernetes für Workstations, Edge and IoT

    Devices // @LeanderReimer #cloudnativenerd #qaware #ConCon20 5 Do you have a PhD in Kubernetes clusterology?
  4. // ContainerConf 2020 // Kubernetes für Workstations, Edge and IoT

    Devices // @LeanderReimer #cloudnativenerd #qaware #ConCon20 • 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 // ContainerConf 2020 // Kubernetes für Workstations, Edge and IoT Devices // @LeanderReimer #cloudnativenerd #qaware #ConCon20
  5. // ContainerConf 2020 // Kubernetes für Workstations, Edge and IoT

    Devices // @LeanderReimer #cloudnativenerd #qaware #ConCon20 7 https://en.wikipedia.org/wiki/Bus_factor
  6. // ContainerConf 2020 // Kubernetes für Workstations, Edge and IoT

    Devices // @LeanderReimer #cloudnativenerd #qaware #ConCon20 https://k3s.io https://microk8s.io 8 // ContainerConf 2020 // Kubernetes für Workstations, Edge and IoT Devices // @LeanderReimer #cloudnativenerd #qaware #ConCon20
  7. // ContainerConf 2020 // Kubernetes für Workstations, Edge and IoT

    Devices // @LeanderReimer #cloudnativenerd #qaware #ConCon20 9 5 x Intel NUC i3 5 x Raspberry Pi 3 CoM miniNodes Carrier Board
  8. // ContainerConf 2020 // Kubernetes für Workstations, Edge and IoT

    Devices // @LeanderReimer #cloudnativenerd #qaware #ConCon20 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
  9. // ContainerConf 2020 // Kubernetes für Workstations, Edge and IoT

    Devices // @LeanderReimer #cloudnativenerd #qaware #ConCon20 MicroK8s Demo MicroK8s Demo https://github.com/lreimer/lightweight-k8s
  10. // ContainerConf 2020 // Kubernetes für Workstations, Edge and IoT

    Devices // @LeanderReimer #cloudnativenerd #qaware #ConCon20 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
  11. // ContainerConf 2020 // Kubernetes für Workstations, Edge and IoT

    Devices // @LeanderReimer #cloudnativenerd #qaware #ConCon20 K3s Demo https://github.com/lreimer/lightweight-k8s