SlideShare a Scribd company logo
1 of 14
Download to read offline
Lightweight Kubernetes
Running Kubernetes on Workstations, Edge and IoT Devices
@LeanderReimer @qaware #CloudNativeNerd
Mario-Leander Reimer
Chief Software Architect
@LeanderReimer
#cloudnativenerd #qaware
// Cloud Native Summit Fall 2020 // Running K8s on Workstation, Edge and IoT Devices // @LeanderReimer #cloudnativenerd #qaware
Installing K8s in the Cloud is relatively easy.
3
Cloud / Data CenterCloud Layer
$ eksctl create cluster -n eks-demo -f cluster.yml
$ aksctl create cluster --name aks-demo -file cluster.yaml
$ gcloud container cluster create gee-demo
// Cloud Native Summit Fall 2020 // Running K8s on Workstation, Edge and IoT Devices // @LeanderReimer #cloudnativenerd #qaware
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
// Cloud Native Summit Fall 2020 // Running K8s on Workstation, Edge and IoT Devices // @LeanderReimer #cloudnativenerd #qaware5
Do you have a PhD in
Kubernetes
clusterology?
// Cloud Native Summit Fall 2020 // Running K8s on Workstation, Edge and IoT Devices // @LeanderReimer #cloudnativenerd #qaware
• 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 // Cloud Native Summit Fall 2020 // Running K8s on Workstation, Edge and IoT Devices // @LeanderReimer #cloudnativenerd #qaware
// Cloud Native Summit Fall 2020 // Running K8s on Workstation, Edge and IoT Devices // @LeanderReimer #cloudnativenerd #qaware7
https://en.wikipedia.org/wiki/Bus_factor
// Cloud Native Summit Fall 2020 // Running K8s on Workstation, Edge and IoT Devices // @LeanderReimer #cloudnativenerd #qaware
https://k3s.iohttps://microk8s.io
8 // Cloud Native Summit Fall 2020 // Running K8s on Workstation, Edge and IoT Devices // @LeanderReimer #cloudnativenerd #qaware
// Cloud Native Summit Fall 2020 // Running K8s on Workstation, Edge and IoT Devices // @LeanderReimer #cloudnativenerd #qaware9
5 x Intel NUC i5
5 x Raspberry Pi 3 CoM
miniNodes Carrier Board
// Cloud Native Summit Fall 2020 // Running K8s on Workstation, Edge and IoT Devices // @LeanderReimer #cloudnativenerd #qaware
MicroK8s - Zero-ops Kubernetes
• Certified Kubernetes distribution. Backed by Canonical.
• Pure upstream, no APIs added or removed.
• 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
// Cloud Native Summit Fall 2020 // Running K8s on Workstation, Edge and IoT Devices // @LeanderReimer #cloudnativenerd #qaware
MicroK8s Demo
MicroK8s Demo
https://github.com/lreimer/lightweight-k8s
// Cloud Native Summit Fall 2020 // Running K8s on Workstation, Edge and IoT Devices // @LeanderReimer #cloudnativenerd #qaware
K3s - 5 less than K8s
• Certified Kubernetes distribution. Backed by Rancher.
• Legacy, alpha, non-default features are removed.
• 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
// Cloud Native Summit Fall 2020 // Running K8s on Workstation, Edge and IoT Devices // @LeanderReimer #cloudnativenerd #qaware
K3s Demo
https://github.com/lreimer/lightweight-k8s
Mario-Leander Reimer
Chief Software Architect, QAware GmbH
mario-leander.reimer@qaware.de
https://www.qaware.de
https://speakerdeck.com/lreimer/
https://github.com/lreimer/
&

More Related Content

More from QAware GmbH

Cloud Migration mit KI: der Turbo
Cloud Migration mit KI: der Turbo Cloud Migration mit KI: der Turbo
Cloud Migration mit KI: der Turbo QAware GmbH
 
Migration von stark regulierten Anwendungen in die Cloud: Dem Teufel die See...
 Migration von stark regulierten Anwendungen in die Cloud: Dem Teufel die See... Migration von stark regulierten Anwendungen in die Cloud: Dem Teufel die See...
Migration von stark regulierten Anwendungen in die Cloud: Dem Teufel die See...QAware GmbH
 
Aus blau wird grün! Ansätze und Technologien für nachhaltige Kubernetes-Cluster
Aus blau wird grün! Ansätze und Technologien für nachhaltige Kubernetes-Cluster Aus blau wird grün! Ansätze und Technologien für nachhaltige Kubernetes-Cluster
Aus blau wird grün! Ansätze und Technologien für nachhaltige Kubernetes-Cluster QAware GmbH
 
Endlich gute API Tests. Boldly Testing APIs Where No One Has Tested Before.
Endlich gute API Tests. Boldly Testing APIs Where No One Has Tested Before.Endlich gute API Tests. Boldly Testing APIs Where No One Has Tested Before.
Endlich gute API Tests. Boldly Testing APIs Where No One Has Tested Before.QAware GmbH
 
Kubernetes with Cilium in AWS - Experience Report!
Kubernetes with Cilium in AWS - Experience Report!Kubernetes with Cilium in AWS - Experience Report!
Kubernetes with Cilium in AWS - Experience Report!QAware GmbH
 
50 Shades of K8s Autoscaling
50 Shades of K8s Autoscaling50 Shades of K8s Autoscaling
50 Shades of K8s AutoscalingQAware GmbH
 
Kontinuierliche Sicherheitstests für APIs mit Testkube und OWASP ZAP
Kontinuierliche Sicherheitstests für APIs mit Testkube und OWASP ZAPKontinuierliche Sicherheitstests für APIs mit Testkube und OWASP ZAP
Kontinuierliche Sicherheitstests für APIs mit Testkube und OWASP ZAPQAware GmbH
 
Service Mesh Pain & Gain. Experiences from a client project.
Service Mesh Pain & Gain. Experiences from a client project.Service Mesh Pain & Gain. Experiences from a client project.
Service Mesh Pain & Gain. Experiences from a client project.QAware GmbH
 
50 Shades of K8s Autoscaling
50 Shades of K8s Autoscaling50 Shades of K8s Autoscaling
50 Shades of K8s AutoscalingQAware GmbH
 
Blue turns green! Approaches and technologies for sustainable K8s clusters.
Blue turns green! Approaches and technologies for sustainable K8s clusters.Blue turns green! Approaches and technologies for sustainable K8s clusters.
Blue turns green! Approaches and technologies for sustainable K8s clusters.QAware GmbH
 
Per Anhalter zu Cloud Nativen API Gateways
Per Anhalter zu Cloud Nativen API GatewaysPer Anhalter zu Cloud Nativen API Gateways
Per Anhalter zu Cloud Nativen API GatewaysQAware GmbH
 
Aus blau wird grün! Ansätze und Technologien für nachhaltige Kubernetes-Cluster
Aus blau wird grün! Ansätze und Technologien für nachhaltige Kubernetes-Cluster Aus blau wird grün! Ansätze und Technologien für nachhaltige Kubernetes-Cluster
Aus blau wird grün! Ansätze und Technologien für nachhaltige Kubernetes-Cluster QAware GmbH
 
How to speed up Spring Integration Tests
How to speed up Spring Integration TestsHow to speed up Spring Integration Tests
How to speed up Spring Integration TestsQAware GmbH
 
Aus blau wird grün! Ansätze und Technologien für nachhaltige Kubernetes-Cluster
Aus blau wird grün! Ansätze und Technologien für nachhaltige Kubernetes-ClusterAus blau wird grün! Ansätze und Technologien für nachhaltige Kubernetes-Cluster
Aus blau wird grün! Ansätze und Technologien für nachhaltige Kubernetes-ClusterQAware GmbH
 
Cloud Migration – Eine Strategie die funktioniert
Cloud Migration – Eine Strategie die funktioniertCloud Migration – Eine Strategie die funktioniert
Cloud Migration – Eine Strategie die funktioniertQAware GmbH
 
Policy Driven Microservices mit Open Policy Agent
Policy Driven Microservices mit Open Policy AgentPolicy Driven Microservices mit Open Policy Agent
Policy Driven Microservices mit Open Policy AgentQAware GmbH
 
Make Developers Fly: Principles for Platform Engineering
Make Developers Fly: Principles for Platform EngineeringMake Developers Fly: Principles for Platform Engineering
Make Developers Fly: Principles for Platform EngineeringQAware GmbH
 
Security Lab: OIDC in der Praxis
Security Lab: OIDC in der PraxisSecurity Lab: OIDC in der Praxis
Security Lab: OIDC in der PraxisQAware GmbH
 
Die nächsten 100 Microservices
Die nächsten 100 MicroservicesDie nächsten 100 Microservices
Die nächsten 100 MicroservicesQAware GmbH
 
Enterprise-level Kubernetes Security mit Open Source Tools - geht das?
Enterprise-level Kubernetes Security mit Open Source Tools - geht das?Enterprise-level Kubernetes Security mit Open Source Tools - geht das?
Enterprise-level Kubernetes Security mit Open Source Tools - geht das?QAware GmbH
 

More from QAware GmbH (20)

Cloud Migration mit KI: der Turbo
Cloud Migration mit KI: der Turbo Cloud Migration mit KI: der Turbo
Cloud Migration mit KI: der Turbo
 
Migration von stark regulierten Anwendungen in die Cloud: Dem Teufel die See...
 Migration von stark regulierten Anwendungen in die Cloud: Dem Teufel die See... Migration von stark regulierten Anwendungen in die Cloud: Dem Teufel die See...
Migration von stark regulierten Anwendungen in die Cloud: Dem Teufel die See...
 
Aus blau wird grün! Ansätze und Technologien für nachhaltige Kubernetes-Cluster
Aus blau wird grün! Ansätze und Technologien für nachhaltige Kubernetes-Cluster Aus blau wird grün! Ansätze und Technologien für nachhaltige Kubernetes-Cluster
Aus blau wird grün! Ansätze und Technologien für nachhaltige Kubernetes-Cluster
 
Endlich gute API Tests. Boldly Testing APIs Where No One Has Tested Before.
Endlich gute API Tests. Boldly Testing APIs Where No One Has Tested Before.Endlich gute API Tests. Boldly Testing APIs Where No One Has Tested Before.
Endlich gute API Tests. Boldly Testing APIs Where No One Has Tested Before.
 
Kubernetes with Cilium in AWS - Experience Report!
Kubernetes with Cilium in AWS - Experience Report!Kubernetes with Cilium in AWS - Experience Report!
Kubernetes with Cilium in AWS - Experience Report!
 
50 Shades of K8s Autoscaling
50 Shades of K8s Autoscaling50 Shades of K8s Autoscaling
50 Shades of K8s Autoscaling
 
Kontinuierliche Sicherheitstests für APIs mit Testkube und OWASP ZAP
Kontinuierliche Sicherheitstests für APIs mit Testkube und OWASP ZAPKontinuierliche Sicherheitstests für APIs mit Testkube und OWASP ZAP
Kontinuierliche Sicherheitstests für APIs mit Testkube und OWASP ZAP
 
Service Mesh Pain & Gain. Experiences from a client project.
Service Mesh Pain & Gain. Experiences from a client project.Service Mesh Pain & Gain. Experiences from a client project.
Service Mesh Pain & Gain. Experiences from a client project.
 
50 Shades of K8s Autoscaling
50 Shades of K8s Autoscaling50 Shades of K8s Autoscaling
50 Shades of K8s Autoscaling
 
Blue turns green! Approaches and technologies for sustainable K8s clusters.
Blue turns green! Approaches and technologies for sustainable K8s clusters.Blue turns green! Approaches and technologies for sustainable K8s clusters.
Blue turns green! Approaches and technologies for sustainable K8s clusters.
 
Per Anhalter zu Cloud Nativen API Gateways
Per Anhalter zu Cloud Nativen API GatewaysPer Anhalter zu Cloud Nativen API Gateways
Per Anhalter zu Cloud Nativen API Gateways
 
Aus blau wird grün! Ansätze und Technologien für nachhaltige Kubernetes-Cluster
Aus blau wird grün! Ansätze und Technologien für nachhaltige Kubernetes-Cluster Aus blau wird grün! Ansätze und Technologien für nachhaltige Kubernetes-Cluster
Aus blau wird grün! Ansätze und Technologien für nachhaltige Kubernetes-Cluster
 
How to speed up Spring Integration Tests
How to speed up Spring Integration TestsHow to speed up Spring Integration Tests
How to speed up Spring Integration Tests
 
Aus blau wird grün! Ansätze und Technologien für nachhaltige Kubernetes-Cluster
Aus blau wird grün! Ansätze und Technologien für nachhaltige Kubernetes-ClusterAus blau wird grün! Ansätze und Technologien für nachhaltige Kubernetes-Cluster
Aus blau wird grün! Ansätze und Technologien für nachhaltige Kubernetes-Cluster
 
Cloud Migration – Eine Strategie die funktioniert
Cloud Migration – Eine Strategie die funktioniertCloud Migration – Eine Strategie die funktioniert
Cloud Migration – Eine Strategie die funktioniert
 
Policy Driven Microservices mit Open Policy Agent
Policy Driven Microservices mit Open Policy AgentPolicy Driven Microservices mit Open Policy Agent
Policy Driven Microservices mit Open Policy Agent
 
Make Developers Fly: Principles for Platform Engineering
Make Developers Fly: Principles for Platform EngineeringMake Developers Fly: Principles for Platform Engineering
Make Developers Fly: Principles for Platform Engineering
 
Security Lab: OIDC in der Praxis
Security Lab: OIDC in der PraxisSecurity Lab: OIDC in der Praxis
Security Lab: OIDC in der Praxis
 
Die nächsten 100 Microservices
Die nächsten 100 MicroservicesDie nächsten 100 Microservices
Die nächsten 100 Microservices
 
Enterprise-level Kubernetes Security mit Open Source Tools - geht das?
Enterprise-level Kubernetes Security mit Open Source Tools - geht das?Enterprise-level Kubernetes Security mit Open Source Tools - geht das?
Enterprise-level Kubernetes Security mit Open Source Tools - geht das?
 

Recently uploaded

一比一原版纽卡斯尔大学毕业证成绩单如何办理
一比一原版纽卡斯尔大学毕业证成绩单如何办理一比一原版纽卡斯尔大学毕业证成绩单如何办理
一比一原版纽卡斯尔大学毕业证成绩单如何办理cyebo
 
一比一原版加利福尼亚大学尔湾分校毕业证成绩单如何办理
一比一原版加利福尼亚大学尔湾分校毕业证成绩单如何办理一比一原版加利福尼亚大学尔湾分校毕业证成绩单如何办理
一比一原版加利福尼亚大学尔湾分校毕业证成绩单如何办理pyhepag
 
2024 Q2 Orange County (CA) Tableau User Group Meeting
2024 Q2 Orange County (CA) Tableau User Group Meeting2024 Q2 Orange County (CA) Tableau User Group Meeting
2024 Q2 Orange County (CA) Tableau User Group MeetingAlison Pitt
 
Pre-ProductionImproveddsfjgndflghtgg.pptx
Pre-ProductionImproveddsfjgndflghtgg.pptxPre-ProductionImproveddsfjgndflghtgg.pptx
Pre-ProductionImproveddsfjgndflghtgg.pptxStephen266013
 
一比一原版麦考瑞大学毕业证成绩单如何办理
一比一原版麦考瑞大学毕业证成绩单如何办理一比一原版麦考瑞大学毕业证成绩单如何办理
一比一原版麦考瑞大学毕业证成绩单如何办理cyebo
 
Exploratory Data Analysis - Dilip S.pptx
Exploratory Data Analysis - Dilip S.pptxExploratory Data Analysis - Dilip S.pptx
Exploratory Data Analysis - Dilip S.pptxDilipVasan
 
Fuzzy Sets decision making under information of uncertainty
Fuzzy Sets decision making under information of uncertaintyFuzzy Sets decision making under information of uncertainty
Fuzzy Sets decision making under information of uncertaintyRafigAliyev2
 
Generative AI for Trailblazers_ Unlock the Future of AI.pdf
Generative AI for Trailblazers_ Unlock the Future of AI.pdfGenerative AI for Trailblazers_ Unlock the Future of AI.pdf
Generative AI for Trailblazers_ Unlock the Future of AI.pdfEmmanuel Dauda
 
Easy and simple project file on mp online
Easy and simple project file on mp onlineEasy and simple project file on mp online
Easy and simple project file on mp onlinebalibahu1313
 
Webinar One View, Multiple Systems No-Code Integration of Salesforce and ERPs
Webinar One View, Multiple Systems No-Code Integration of Salesforce and ERPsWebinar One View, Multiple Systems No-Code Integration of Salesforce and ERPs
Webinar One View, Multiple Systems No-Code Integration of Salesforce and ERPsCEPTES Software Inc
 
一比一原版西悉尼大学毕业证成绩单如何办理
一比一原版西悉尼大学毕业证成绩单如何办理一比一原版西悉尼大学毕业证成绩单如何办理
一比一原版西悉尼大学毕业证成绩单如何办理pyhepag
 
Atlantic Grupa Case Study (Mintec Data AI)
Atlantic Grupa Case Study (Mintec Data AI)Atlantic Grupa Case Study (Mintec Data AI)
Atlantic Grupa Case Study (Mintec Data AI)Jon Hansen
 
How I opened a fake bank account and didn't go to prison
How I opened a fake bank account and didn't go to prisonHow I opened a fake bank account and didn't go to prison
How I opened a fake bank account and didn't go to prisonPayment Village
 
Artificial_General_Intelligence__storm_gen_article.pdf
Artificial_General_Intelligence__storm_gen_article.pdfArtificial_General_Intelligence__storm_gen_article.pdf
Artificial_General_Intelligence__storm_gen_article.pdfscitechtalktv
 
一比一原版(Monash毕业证书)莫纳什大学毕业证成绩单如何办理
一比一原版(Monash毕业证书)莫纳什大学毕业证成绩单如何办理一比一原版(Monash毕业证书)莫纳什大学毕业证成绩单如何办理
一比一原版(Monash毕业证书)莫纳什大学毕业证成绩单如何办理pyhepag
 
Data analytics courses in Nepal Presentation
Data analytics courses in Nepal PresentationData analytics courses in Nepal Presentation
Data analytics courses in Nepal Presentationanshikakulshreshtha11
 
basics of data science with application areas.pdf
basics of data science with application areas.pdfbasics of data science with application areas.pdf
basics of data science with application areas.pdfvyankatesh1
 
2024 Q1 Tableau User Group Leader Quarterly Call
2024 Q1 Tableau User Group Leader Quarterly Call2024 Q1 Tableau User Group Leader Quarterly Call
2024 Q1 Tableau User Group Leader Quarterly Calllward7
 
AI Imagen for data-storytelling Infographics.pdf
AI Imagen for data-storytelling Infographics.pdfAI Imagen for data-storytelling Infographics.pdf
AI Imagen for data-storytelling Infographics.pdfMichaelSenkow
 

Recently uploaded (20)

一比一原版纽卡斯尔大学毕业证成绩单如何办理
一比一原版纽卡斯尔大学毕业证成绩单如何办理一比一原版纽卡斯尔大学毕业证成绩单如何办理
一比一原版纽卡斯尔大学毕业证成绩单如何办理
 
一比一原版加利福尼亚大学尔湾分校毕业证成绩单如何办理
一比一原版加利福尼亚大学尔湾分校毕业证成绩单如何办理一比一原版加利福尼亚大学尔湾分校毕业证成绩单如何办理
一比一原版加利福尼亚大学尔湾分校毕业证成绩单如何办理
 
2024 Q2 Orange County (CA) Tableau User Group Meeting
2024 Q2 Orange County (CA) Tableau User Group Meeting2024 Q2 Orange County (CA) Tableau User Group Meeting
2024 Q2 Orange County (CA) Tableau User Group Meeting
 
Pre-ProductionImproveddsfjgndflghtgg.pptx
Pre-ProductionImproveddsfjgndflghtgg.pptxPre-ProductionImproveddsfjgndflghtgg.pptx
Pre-ProductionImproveddsfjgndflghtgg.pptx
 
一比一原版麦考瑞大学毕业证成绩单如何办理
一比一原版麦考瑞大学毕业证成绩单如何办理一比一原版麦考瑞大学毕业证成绩单如何办理
一比一原版麦考瑞大学毕业证成绩单如何办理
 
Exploratory Data Analysis - Dilip S.pptx
Exploratory Data Analysis - Dilip S.pptxExploratory Data Analysis - Dilip S.pptx
Exploratory Data Analysis - Dilip S.pptx
 
Fuzzy Sets decision making under information of uncertainty
Fuzzy Sets decision making under information of uncertaintyFuzzy Sets decision making under information of uncertainty
Fuzzy Sets decision making under information of uncertainty
 
Generative AI for Trailblazers_ Unlock the Future of AI.pdf
Generative AI for Trailblazers_ Unlock the Future of AI.pdfGenerative AI for Trailblazers_ Unlock the Future of AI.pdf
Generative AI for Trailblazers_ Unlock the Future of AI.pdf
 
Easy and simple project file on mp online
Easy and simple project file on mp onlineEasy and simple project file on mp online
Easy and simple project file on mp online
 
Webinar One View, Multiple Systems No-Code Integration of Salesforce and ERPs
Webinar One View, Multiple Systems No-Code Integration of Salesforce and ERPsWebinar One View, Multiple Systems No-Code Integration of Salesforce and ERPs
Webinar One View, Multiple Systems No-Code Integration of Salesforce and ERPs
 
一比一原版西悉尼大学毕业证成绩单如何办理
一比一原版西悉尼大学毕业证成绩单如何办理一比一原版西悉尼大学毕业证成绩单如何办理
一比一原版西悉尼大学毕业证成绩单如何办理
 
Slip-and-fall Injuries: Top Workers' Comp Claims
Slip-and-fall Injuries: Top Workers' Comp ClaimsSlip-and-fall Injuries: Top Workers' Comp Claims
Slip-and-fall Injuries: Top Workers' Comp Claims
 
Atlantic Grupa Case Study (Mintec Data AI)
Atlantic Grupa Case Study (Mintec Data AI)Atlantic Grupa Case Study (Mintec Data AI)
Atlantic Grupa Case Study (Mintec Data AI)
 
How I opened a fake bank account and didn't go to prison
How I opened a fake bank account and didn't go to prisonHow I opened a fake bank account and didn't go to prison
How I opened a fake bank account and didn't go to prison
 
Artificial_General_Intelligence__storm_gen_article.pdf
Artificial_General_Intelligence__storm_gen_article.pdfArtificial_General_Intelligence__storm_gen_article.pdf
Artificial_General_Intelligence__storm_gen_article.pdf
 
一比一原版(Monash毕业证书)莫纳什大学毕业证成绩单如何办理
一比一原版(Monash毕业证书)莫纳什大学毕业证成绩单如何办理一比一原版(Monash毕业证书)莫纳什大学毕业证成绩单如何办理
一比一原版(Monash毕业证书)莫纳什大学毕业证成绩单如何办理
 
Data analytics courses in Nepal Presentation
Data analytics courses in Nepal PresentationData analytics courses in Nepal Presentation
Data analytics courses in Nepal Presentation
 
basics of data science with application areas.pdf
basics of data science with application areas.pdfbasics of data science with application areas.pdf
basics of data science with application areas.pdf
 
2024 Q1 Tableau User Group Leader Quarterly Call
2024 Q1 Tableau User Group Leader Quarterly Call2024 Q1 Tableau User Group Leader Quarterly Call
2024 Q1 Tableau User Group Leader Quarterly Call
 
AI Imagen for data-storytelling Infographics.pdf
AI Imagen for data-storytelling Infographics.pdfAI Imagen for data-storytelling Infographics.pdf
AI Imagen for data-storytelling Infographics.pdf
 

Running Kubernetes on Workstations, Edge and IoT Devices

  • 1. Lightweight Kubernetes Running Kubernetes on Workstations, Edge and IoT Devices @LeanderReimer @qaware #CloudNativeNerd
  • 2. Mario-Leander Reimer Chief Software Architect @LeanderReimer #cloudnativenerd #qaware
  • 3. // Cloud Native Summit Fall 2020 // Running K8s on Workstation, Edge and IoT Devices // @LeanderReimer #cloudnativenerd #qaware Installing K8s in the Cloud is relatively easy. 3 Cloud / Data CenterCloud Layer $ eksctl create cluster -n eks-demo -f cluster.yml $ aksctl create cluster --name aks-demo -file cluster.yaml $ gcloud container cluster create gee-demo
  • 4. // Cloud Native Summit Fall 2020 // Running K8s on Workstation, Edge and IoT Devices // @LeanderReimer #cloudnativenerd #qaware 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
  • 5. // Cloud Native Summit Fall 2020 // Running K8s on Workstation, Edge and IoT Devices // @LeanderReimer #cloudnativenerd #qaware5 Do you have a PhD in Kubernetes clusterology?
  • 6. // Cloud Native Summit Fall 2020 // Running K8s on Workstation, Edge and IoT Devices // @LeanderReimer #cloudnativenerd #qaware • 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 // Cloud Native Summit Fall 2020 // Running K8s on Workstation, Edge and IoT Devices // @LeanderReimer #cloudnativenerd #qaware
  • 7. // Cloud Native Summit Fall 2020 // Running K8s on Workstation, Edge and IoT Devices // @LeanderReimer #cloudnativenerd #qaware7 https://en.wikipedia.org/wiki/Bus_factor
  • 8. // Cloud Native Summit Fall 2020 // Running K8s on Workstation, Edge and IoT Devices // @LeanderReimer #cloudnativenerd #qaware https://k3s.iohttps://microk8s.io 8 // Cloud Native Summit Fall 2020 // Running K8s on Workstation, Edge and IoT Devices // @LeanderReimer #cloudnativenerd #qaware
  • 9. // Cloud Native Summit Fall 2020 // Running K8s on Workstation, Edge and IoT Devices // @LeanderReimer #cloudnativenerd #qaware9 5 x Intel NUC i5 5 x Raspberry Pi 3 CoM miniNodes Carrier Board
  • 10. // Cloud Native Summit Fall 2020 // Running K8s on Workstation, Edge and IoT Devices // @LeanderReimer #cloudnativenerd #qaware MicroK8s - Zero-ops Kubernetes • Certified Kubernetes distribution. Backed by Canonical. • Pure upstream, no APIs added or removed. • 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
  • 11. // Cloud Native Summit Fall 2020 // Running K8s on Workstation, Edge and IoT Devices // @LeanderReimer #cloudnativenerd #qaware MicroK8s Demo MicroK8s Demo https://github.com/lreimer/lightweight-k8s
  • 12. // Cloud Native Summit Fall 2020 // Running K8s on Workstation, Edge and IoT Devices // @LeanderReimer #cloudnativenerd #qaware K3s - 5 less than K8s • Certified Kubernetes distribution. Backed by Rancher. • Legacy, alpha, non-default features are removed. • 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
  • 13. // Cloud Native Summit Fall 2020 // Running K8s on Workstation, Edge and IoT Devices // @LeanderReimer #cloudnativenerd #qaware K3s Demo https://github.com/lreimer/lightweight-k8s
  • 14. Mario-Leander Reimer Chief Software Architect, QAware GmbH mario-leander.reimer@qaware.de https://www.qaware.de https://speakerdeck.com/lreimer/ https://github.com/lreimer/ &