SlideShare ist ein Scribd-Unternehmen logo
1 von 15
Discovering and
Managing IoT
Devices from
Kubernetes with
Akri
Kate Goldenring
docs.akri.sh
Who am I?
• Software Engineer II @ Microsoft
• Maintainer of Akri
• Open-source enthusiast, contributor to
Rust and Kubernetes projects (Krustlet,
kube-rs)
@kate-goldenring @KateGoldenring
docs.akri.sh
Agenda
1. Motivation
2. What is Akri?
3. Scenarios simplified with Akri
4. Akri Architecture
5. Demo
6. Roadmap
docs.akri.sh
Motivation
• Environment of nodes/servers in the cloud is homogenous
• Edge nodes are surrounded by a variety of IoT devices
• These IoT devices are often too small to run Kubernetes
• How can these devices be dynamically leveraged and managed by Kubernetes
workloads?
• Goal: The open source, standard way to connect devices to a cluster and
manage devices from a cluster
docs.akri.sh
Akri: A Kubernetes
Resource Interface
for the edge
Discovers IoT devices. Handles dynamic appearance
and disappearance of devices
Connects IoT devices to a Kubernetes cluster by
representing them as a native Kubernetes resources
Schedules workloads based on what devices are
connected to the cluster
Built with Rust to optimize for the edge and low
footprint clusters (K3s, MicroK8s, etc.)
Open-source CNCF Sandbox Project
docs.akri.sh
What IoT
devices?
• IoT devices do not need to be modified to
work with Akri
• Akri does not run anything on the IoT devices
rather communicates via common IoT
protocols
• udev (local devices such as USB cameras,
GPUs, microphones, etc),
• OPC UA (industrial machinery)
• ONVIF (IP cameras)
• Discovery interface is extensible*. Simple
gRPC interface for adding support for new
protocols.
* https://docs.akri.sh/development/handler-development
Akri for device use and management
Akri’s Controller automatically deploys “brokers” to discovered devices.
Brokers are either:
Long-running Kubernetes Pods – Ideal for device use Single-task Kubernetes Jobs to discovered devices –
Ideal for device management (introduced in Akri v0.8.4)
docs.akri.sh
IoT device use scenario with K8s
Without Akri
Node
Node
K8s Cluster
F = Frame Server Pod
I = Inferencing Pod
A = Alerting Pod
GPU GPU
F
F
F
F
F
F
I I
A
per camera
X FPS
GPU
I A
FFF
Steps 1
2
3
4
5
6
7
8
9
IoT device use scenario
Simplified with Akri
Node
Node
K8s Cluster
F = Frame Server Pod
I = Inferencing Pod
A = Alerting Pod
GPU GPU
F
F
F
F
F
F
I I
A
per camera
X FPS
AKRI
per camera
X FPS
Steps 1
2
3
IoT device management scenario
Simplified with Akri
Node
Node
v1 v1 v1 v1 v1 v1
K8s Cluster
F = Frame Server Pod
I = Inferencing Pod
A = Alerting Pod
U = Upgrade Job
GPU GPU
F
F
F
F
F
F
I I
A
AKRI
per camera
X FPS
U
U
U
U
U
U
v2 v2 v2 v2 v2 v2
Akri Architecture
Edge Cluster
Control Plane
Kubernetes
Scheduler
Akri
Controller
API Server
Node
Kubelet
Akri
Agent
<protocol>
kind: Configuration
metadata:
..name: akri-<protocol>
spec:
..discoveryHandler:
name: <protocol>
..brokerSpec:
containers:
- name: custom-broker
image: "ghcr.io/
etcd
Configuration
CRD
Instance
CRD
<protocol>
Configuration
<protocol>
Instance
Leaf
Device
Leaf
Device
Leaf Device
Broker
Broker
custom-
broker
<protocol>
Discovery
Handler
Installing with Helm
helm install akri akri-helm-charts/akri 
--set kubernetesDistro=k3s 
--set onvif.discovery.enabled=true 
--set onvif.configuration.enabled=true 
--set onvif.configuration.name='akri-onvif-fw-update' 
--set onvif.configuration.brokerJob.image.repository='ghcr.io/../onvif-upgrade-broker' 
--set onvif.configuration.capacity='2'
Akri Controller and Agent
Discovery Handler
Configuration
2 Edge Nodes, 2 IP Cameras, Akri installed via Helm
Node
Node
IP Cam B
v1.0
Akri
Demo
Configuration CRD
Instance CRD
ONVIF Frame Server
Configuration
1 Install Akri with ONVIF
frame server Configuration
to use the cameras
2 Akri Agent discovers cameras
and creates Instance CRs
3 The Akri Controller
deploys the frame server
Pods and creates Services
IP Cam A
v1.0
Cam A Instance
Cam B Instance
Frame
Server
Pod
Frame
Server
Pod
Frame
Server
Pod
Frame
Server
Pod
K3s Cluster
Streaming
Application
4 Deploy streaming
application
5 Install ONVIF firmware
upgrade Configuration
to manage the cameras
ONVIF Firmware
Upgrade Configuration
Firmware
Upgrade
Job
Firmware
Upgrade
Job
6 The Akri Controller
deploys a firmware
upgrade Job to each
camera
v2.0 v2.0
Steps to reproduce this demo: https://hackmd.io/@akri/HJZORp5l9
Future of Device Management for Akri
• What Akri currently supports:
• Deployment of Kubernetes Jobs to each discovered device
• Deploying multiple Configurations to use the same devices in different ways
• What Akri does not currently support:
• Managed roll outs
• Displaying device management information in the Akri Instance
docs.akri.sh
Resources
Learn more
docs.akri.sh
Akri overview at KubeCon EU
May 2021
https://youtu.be/mcKNistZkrY
Join the community via
Slack and monthly Zooms
K8s #akri Slack
Try it out: End to end demo
discovering mock USB cameras
https://docs.akri.sh/demos
This IP camera demo: https://hackmd.io/@akri/HJZORp5l9

Weitere ähnliche Inhalte

Was ist angesagt?

Centralizing Kubernetes Management in Restrictive Environments
Centralizing Kubernetes Management in Restrictive EnvironmentsCentralizing Kubernetes Management in Restrictive Environments
Centralizing Kubernetes Management in Restrictive Environments
Kublr
 
Intro to Project Calico: a pure layer 3 approach to scale-out networking
Intro to Project Calico: a pure layer 3 approach to scale-out networkingIntro to Project Calico: a pure layer 3 approach to scale-out networking
Intro to Project Calico: a pure layer 3 approach to scale-out networking
Packet
 

Was ist angesagt? (20)

VietOpenStack meetup 7th Kilo overview
VietOpenStack meetup 7th Kilo overviewVietOpenStack meetup 7th Kilo overview
VietOpenStack meetup 7th Kilo overview
 
Kubecon US 2019: Kubernetes Multitenancy WG Deep Dive
Kubecon US 2019: Kubernetes Multitenancy WG Deep DiveKubecon US 2019: Kubernetes Multitenancy WG Deep Dive
Kubecon US 2019: Kubernetes Multitenancy WG Deep Dive
 
Getting Started with Kafka on k8s
Getting Started with Kafka on k8sGetting Started with Kafka on k8s
Getting Started with Kafka on k8s
 
Kubernetes Monitoring & Best Practices
Kubernetes Monitoring & Best PracticesKubernetes Monitoring & Best Practices
Kubernetes Monitoring & Best Practices
 
Kubernetes Multitenancy - KubeSec Enterprise Security Summit
Kubernetes Multitenancy - KubeSec Enterprise Security SummitKubernetes Multitenancy - KubeSec Enterprise Security Summit
Kubernetes Multitenancy - KubeSec Enterprise Security Summit
 
Multi-Clusters Made Easy with Liqo:
Getting Rid of Your Clusters Keeping Them...
Multi-Clusters Made Easy with Liqo:
Getting Rid of Your Clusters Keeping Them...Multi-Clusters Made Easy with Liqo:
Getting Rid of Your Clusters Keeping Them...
Multi-Clusters Made Easy with Liqo:
Getting Rid of Your Clusters Keeping Them...
 
Kubernetes scheduling and QoS
Kubernetes scheduling and QoSKubernetes scheduling and QoS
Kubernetes scheduling and QoS
 
Kubernetes and the 12 factor cloud apps
Kubernetes and the 12 factor cloud appsKubernetes and the 12 factor cloud apps
Kubernetes and the 12 factor cloud apps
 
Tectonic Summit 2016: Multi-Cluster Kubernetes: Planning for Unknowns
Tectonic Summit 2016: Multi-Cluster Kubernetes: Planning for UnknownsTectonic Summit 2016: Multi-Cluster Kubernetes: Planning for Unknowns
Tectonic Summit 2016: Multi-Cluster Kubernetes: Planning for Unknowns
 
Data protection in a kubernetes-native world
Data protection in a kubernetes-native worldData protection in a kubernetes-native world
Data protection in a kubernetes-native world
 
How to Run Kubernetes in Restrictive Environments
How to Run Kubernetes in Restrictive EnvironmentsHow to Run Kubernetes in Restrictive Environments
How to Run Kubernetes in Restrictive Environments
 
Kubestr browse2021.pptx
Kubestr browse2021.pptxKubestr browse2021.pptx
Kubestr browse2021.pptx
 
Distributed Storage in the Cloud
Distributed Storage in the CloudDistributed Storage in the Cloud
Distributed Storage in the Cloud
 
Breaking tradition the future of package management with kubernetes
Breaking tradition   the future of package management with kubernetesBreaking tradition   the future of package management with kubernetes
Breaking tradition the future of package management with kubernetes
 
Metal³ – Metal Kubed, Bare Metal Provisioning for Kubernetes | Kim Bảo Long
Metal³ – Metal Kubed, Bare Metal Provisioning for Kubernetes | Kim Bảo LongMetal³ – Metal Kubed, Bare Metal Provisioning for Kubernetes | Kim Bảo Long
Metal³ – Metal Kubed, Bare Metal Provisioning for Kubernetes | Kim Bảo Long
 
Whats new in brigade 2
Whats new in brigade 2Whats new in brigade 2
Whats new in brigade 2
 
Centralizing Kubernetes Management in Restrictive Environments
Centralizing Kubernetes Management in Restrictive EnvironmentsCentralizing Kubernetes Management in Restrictive Environments
Centralizing Kubernetes Management in Restrictive Environments
 
Mc git ops_incorpbackups_kanister
Mc git ops_incorpbackups_kanisterMc git ops_incorpbackups_kanister
Mc git ops_incorpbackups_kanister
 
Intro to Project Calico: a pure layer 3 approach to scale-out networking
Intro to Project Calico: a pure layer 3 approach to scale-out networkingIntro to Project Calico: a pure layer 3 approach to scale-out networking
Intro to Project Calico: a pure layer 3 approach to scale-out networking
 
Deploying Anything as a Service (XaaS) Using Operators on Kubernetes
Deploying Anything as a Service (XaaS) Using Operators on KubernetesDeploying Anything as a Service (XaaS) Using Operators on Kubernetes
Deploying Anything as a Service (XaaS) Using Operators on Kubernetes
 

Ähnlich wie Akri cncf-jobs-webinar-final

Ähnlich wie Akri cncf-jobs-webinar-final (20)

Communication Amongst Microservices: Kubernetes, Istio, and Spring Cloud with...
Communication Amongst Microservices: Kubernetes, Istio, and Spring Cloud with...Communication Amongst Microservices: Kubernetes, Istio, and Spring Cloud with...
Communication Amongst Microservices: Kubernetes, Istio, and Spring Cloud with...
 
CloudNativeTurkey - Lines of Defence.pdf
CloudNativeTurkey - Lines of Defence.pdfCloudNativeTurkey - Lines of Defence.pdf
CloudNativeTurkey - Lines of Defence.pdf
 
Day 2 Kubernetes - Tools for Operability (QConSF)
Day 2 Kubernetes - Tools for Operability (QConSF)Day 2 Kubernetes - Tools for Operability (QConSF)
Day 2 Kubernetes - Tools for Operability (QConSF)
 
Container world hybridnetworking_rev2
Container world hybridnetworking_rev2Container world hybridnetworking_rev2
Container world hybridnetworking_rev2
 
KubeCon China June 2019 - Survey of Kubernetes related solutions for IoT and ...
KubeCon China June 2019 - Survey of Kubernetes related solutions for IoT and ...KubeCon China June 2019 - Survey of Kubernetes related solutions for IoT and ...
KubeCon China June 2019 - Survey of Kubernetes related solutions for IoT and ...
 
Metalkube: Deploy Kubernetes on Bare Metal - Yolanda Robla (Red Hat)
Metalkube: Deploy Kubernetes on Bare Metal - Yolanda Robla (Red Hat)Metalkube: Deploy Kubernetes on Bare Metal - Yolanda Robla (Red Hat)
Metalkube: Deploy Kubernetes on Bare Metal - Yolanda Robla (Red Hat)
 
Day 2 Kubernetes - Tools for Operability (Velocity London Meetup)
Day 2 Kubernetes - Tools for Operability (Velocity London Meetup)Day 2 Kubernetes - Tools for Operability (Velocity London Meetup)
Day 2 Kubernetes - Tools for Operability (Velocity London Meetup)
 
Road to Cloud Native Orchestration
Road to Cloud Native Orchestration Road to Cloud Native Orchestration
Road to Cloud Native Orchestration
 
Service Meshes with Istio
Service Meshes with IstioService Meshes with Istio
Service Meshes with Istio
 
Kubernetes für Workstations Edge und IoT Devices
Kubernetes für Workstations Edge und IoT DevicesKubernetes für Workstations Edge und IoT Devices
Kubernetes für Workstations Edge und IoT Devices
 
What is serveless?
What is serveless? What is serveless?
What is serveless?
 
OSDN: Serverless technologies with Kubernetes
OSDN: Serverless technologies with Kubernetes OSDN: Serverless technologies with Kubernetes
OSDN: Serverless technologies with Kubernetes
 
Sumo Logic Cert Jam - Advanced Metrics with Kubernetes
Sumo Logic Cert Jam - Advanced Metrics with KubernetesSumo Logic Cert Jam - Advanced Metrics with Kubernetes
Sumo Logic Cert Jam - Advanced Metrics with Kubernetes
 
Lessons learned and challenges faced while running Kubernetes at Scale
Lessons learned and challenges faced while running Kubernetes at ScaleLessons learned and challenges faced while running Kubernetes at Scale
Lessons learned and challenges faced while running Kubernetes at Scale
 
Coscup2018 itri android-in-cloud
Coscup2018 itri android-in-cloudCoscup2018 itri android-in-cloud
Coscup2018 itri android-in-cloud
 
KubeCon EU 2016 Keynote: Pushing Kubernetes Forward
KubeCon EU 2016 Keynote: Pushing Kubernetes ForwardKubeCon EU 2016 Keynote: Pushing Kubernetes Forward
KubeCon EU 2016 Keynote: Pushing Kubernetes Forward
 
Tools for kubernetes network debugging
Tools for kubernetes network debuggingTools for kubernetes network debugging
Tools for kubernetes network debugging
 
ACRN vMeet-Up EU 2021 - Bridging Orchestrator and Hard Realtime Workload Cons...
ACRN vMeet-Up EU 2021 - Bridging Orchestrator and Hard Realtime Workload Cons...ACRN vMeet-Up EU 2021 - Bridging Orchestrator and Hard Realtime Workload Cons...
ACRN vMeet-Up EU 2021 - Bridging Orchestrator and Hard Realtime Workload Cons...
 
Kubernetes
KubernetesKubernetes
Kubernetes
 
Communication Amongst Microservices: Kubernetes, Istio, and Spring Cloud - An...
Communication Amongst Microservices: Kubernetes, Istio, and Spring Cloud - An...Communication Amongst Microservices: Kubernetes, Istio, and Spring Cloud - An...
Communication Amongst Microservices: Kubernetes, Istio, and Spring Cloud - An...
 

Mehr von LibbySchulze1

Mehr von LibbySchulze1 (11)

How to think like a threat actor for Kubernetes.pptx
How to think like a threat actor for Kubernetes.pptxHow to think like a threat actor for Kubernetes.pptx
How to think like a threat actor for Kubernetes.pptx
 
CNCF Webinar June 20 _ McMahon v2.pptx
CNCF Webinar June 20 _ McMahon  v2.pptxCNCF Webinar June 20 _ McMahon  v2.pptx
CNCF Webinar June 20 _ McMahon v2.pptx
 
Kubernetes 1.27 Webinar.pdf
Kubernetes 1.27 Webinar.pdfKubernetes 1.27 Webinar.pdf
Kubernetes 1.27 Webinar.pdf
 
CNCF Live Webinar 2023, 12 Apr - Exploring Kubernetes Windows HostProcess Ins...
CNCF Live Webinar 2023, 12 Apr - Exploring Kubernetes Windows HostProcess Ins...CNCF Live Webinar 2023, 12 Apr - Exploring Kubernetes Windows HostProcess Ins...
CNCF Live Webinar 2023, 12 Apr - Exploring Kubernetes Windows HostProcess Ins...
 
CNCF Webinar - Krius.pdf
CNCF Webinar - Krius.pdfCNCF Webinar - Krius.pdf
CNCF Webinar - Krius.pdf
 
TiDB operator in Action.pdf
TiDB operator in Action.pdfTiDB operator in Action.pdf
TiDB operator in Action.pdf
 
Get started with gitops and flux
Get started with gitops and fluxGet started with gitops and flux
Get started with gitops and flux
 
Deploy a full cncf based observability stack in under 5 minutes with tobs
Deploy a full cncf based observability stack in under 5 minutes with tobsDeploy a full cncf based observability stack in under 5 minutes with tobs
Deploy a full cncf based observability stack in under 5 minutes with tobs
 
Deploying vn fs with kubernetes pods and vms
 Deploying vn fs with kubernetes pods and vms Deploying vn fs with kubernetes pods and vms
Deploying vn fs with kubernetes pods and vms
 
Dynamic observability the quest for real time data in cloud-native applications
Dynamic observability  the quest for real time data in cloud-native applicationsDynamic observability  the quest for real time data in cloud-native applications
Dynamic observability the quest for real time data in cloud-native applications
 
Deploying vn fs with kubernetes pods and vms
Deploying vn fs with kubernetes pods and vmsDeploying vn fs with kubernetes pods and vms
Deploying vn fs with kubernetes pods and vms
 

Kürzlich hochgeladen

Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
soniya singh
 
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
@Chandigarh #call #Girls 9053900678 @Call #Girls in @Punjab 9053900678
 
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
soniya singh
 
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine ServiceHot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Service
sexy call girls service in goa
 
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRLLucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
imonikaupta
 
Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...
Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...
Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...
Sheetaleventcompany
 
AWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptxAWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptx
ellan12
 
Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...
Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...
Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...
Call Girls In Delhi Whatsup 9873940964 Enjoy Unlimited Pleasure
 

Kürzlich hochgeladen (20)

Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
 
Dubai=Desi Dubai Call Girls O525547819 Outdoor Call Girls Dubai
Dubai=Desi Dubai Call Girls O525547819 Outdoor Call Girls DubaiDubai=Desi Dubai Call Girls O525547819 Outdoor Call Girls Dubai
Dubai=Desi Dubai Call Girls O525547819 Outdoor Call Girls Dubai
 
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
 
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting High Prof...
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting  High Prof...VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting  High Prof...
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting High Prof...
 
Trump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts SweatshirtTrump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts Sweatshirt
 
(INDIRA) Call Girl Pune Call Now 8250077686 Pune Escorts 24x7
(INDIRA) Call Girl Pune Call Now 8250077686 Pune Escorts 24x7(INDIRA) Call Girl Pune Call Now 8250077686 Pune Escorts 24x7
(INDIRA) Call Girl Pune Call Now 8250077686 Pune Escorts 24x7
 
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
 
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
 
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
 
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort ServiceEnjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
 
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine ServiceHot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Service
 
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRLLucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
 
Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...
Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...
Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...
 
AWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptxAWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptx
 
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
 
Top Rated Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
Top Rated  Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...Top Rated  Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
Top Rated Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
 
Russian Call Girls Pune (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...
Russian Call Girls Pune  (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...Russian Call Girls Pune  (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...
Russian Call Girls Pune (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...
 
Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...
Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...
Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...
 
Call Now ☎ 8264348440 !! Call Girls in Rani Bagh Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Rani Bagh Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Rani Bagh Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Rani Bagh Escort Service Delhi N.C.R.
 
Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.
 

Akri cncf-jobs-webinar-final

  • 1. Discovering and Managing IoT Devices from Kubernetes with Akri Kate Goldenring docs.akri.sh
  • 2. Who am I? • Software Engineer II @ Microsoft • Maintainer of Akri • Open-source enthusiast, contributor to Rust and Kubernetes projects (Krustlet, kube-rs) @kate-goldenring @KateGoldenring docs.akri.sh
  • 3. Agenda 1. Motivation 2. What is Akri? 3. Scenarios simplified with Akri 4. Akri Architecture 5. Demo 6. Roadmap docs.akri.sh
  • 4. Motivation • Environment of nodes/servers in the cloud is homogenous • Edge nodes are surrounded by a variety of IoT devices • These IoT devices are often too small to run Kubernetes • How can these devices be dynamically leveraged and managed by Kubernetes workloads? • Goal: The open source, standard way to connect devices to a cluster and manage devices from a cluster docs.akri.sh
  • 5. Akri: A Kubernetes Resource Interface for the edge Discovers IoT devices. Handles dynamic appearance and disappearance of devices Connects IoT devices to a Kubernetes cluster by representing them as a native Kubernetes resources Schedules workloads based on what devices are connected to the cluster Built with Rust to optimize for the edge and low footprint clusters (K3s, MicroK8s, etc.) Open-source CNCF Sandbox Project docs.akri.sh
  • 6. What IoT devices? • IoT devices do not need to be modified to work with Akri • Akri does not run anything on the IoT devices rather communicates via common IoT protocols • udev (local devices such as USB cameras, GPUs, microphones, etc), • OPC UA (industrial machinery) • ONVIF (IP cameras) • Discovery interface is extensible*. Simple gRPC interface for adding support for new protocols. * https://docs.akri.sh/development/handler-development
  • 7. Akri for device use and management Akri’s Controller automatically deploys “brokers” to discovered devices. Brokers are either: Long-running Kubernetes Pods – Ideal for device use Single-task Kubernetes Jobs to discovered devices – Ideal for device management (introduced in Akri v0.8.4) docs.akri.sh
  • 8. IoT device use scenario with K8s Without Akri Node Node K8s Cluster F = Frame Server Pod I = Inferencing Pod A = Alerting Pod GPU GPU F F F F F F I I A per camera X FPS GPU I A FFF Steps 1 2 3 4 5 6 7 8 9
  • 9. IoT device use scenario Simplified with Akri Node Node K8s Cluster F = Frame Server Pod I = Inferencing Pod A = Alerting Pod GPU GPU F F F F F F I I A per camera X FPS AKRI per camera X FPS Steps 1 2 3
  • 10. IoT device management scenario Simplified with Akri Node Node v1 v1 v1 v1 v1 v1 K8s Cluster F = Frame Server Pod I = Inferencing Pod A = Alerting Pod U = Upgrade Job GPU GPU F F F F F F I I A AKRI per camera X FPS U U U U U U v2 v2 v2 v2 v2 v2
  • 11. Akri Architecture Edge Cluster Control Plane Kubernetes Scheduler Akri Controller API Server Node Kubelet Akri Agent <protocol> kind: Configuration metadata: ..name: akri-<protocol> spec: ..discoveryHandler: name: <protocol> ..brokerSpec: containers: - name: custom-broker image: "ghcr.io/ etcd Configuration CRD Instance CRD <protocol> Configuration <protocol> Instance Leaf Device Leaf Device Leaf Device Broker Broker custom- broker <protocol> Discovery Handler
  • 12. Installing with Helm helm install akri akri-helm-charts/akri --set kubernetesDistro=k3s --set onvif.discovery.enabled=true --set onvif.configuration.enabled=true --set onvif.configuration.name='akri-onvif-fw-update' --set onvif.configuration.brokerJob.image.repository='ghcr.io/../onvif-upgrade-broker' --set onvif.configuration.capacity='2' Akri Controller and Agent Discovery Handler Configuration
  • 13. 2 Edge Nodes, 2 IP Cameras, Akri installed via Helm Node Node IP Cam B v1.0 Akri Demo Configuration CRD Instance CRD ONVIF Frame Server Configuration 1 Install Akri with ONVIF frame server Configuration to use the cameras 2 Akri Agent discovers cameras and creates Instance CRs 3 The Akri Controller deploys the frame server Pods and creates Services IP Cam A v1.0 Cam A Instance Cam B Instance Frame Server Pod Frame Server Pod Frame Server Pod Frame Server Pod K3s Cluster Streaming Application 4 Deploy streaming application 5 Install ONVIF firmware upgrade Configuration to manage the cameras ONVIF Firmware Upgrade Configuration Firmware Upgrade Job Firmware Upgrade Job 6 The Akri Controller deploys a firmware upgrade Job to each camera v2.0 v2.0 Steps to reproduce this demo: https://hackmd.io/@akri/HJZORp5l9
  • 14. Future of Device Management for Akri • What Akri currently supports: • Deployment of Kubernetes Jobs to each discovered device • Deploying multiple Configurations to use the same devices in different ways • What Akri does not currently support: • Managed roll outs • Displaying device management information in the Akri Instance docs.akri.sh
  • 15. Resources Learn more docs.akri.sh Akri overview at KubeCon EU May 2021 https://youtu.be/mcKNistZkrY Join the community via Slack and monthly Zooms K8s #akri Slack Try it out: End to end demo discovering mock USB cameras https://docs.akri.sh/demos This IP camera demo: https://hackmd.io/@akri/HJZORp5l9

Hinweis der Redaktion

  1. Emphasize both connect and manage
  2. Akri’s Agent and discovery modules run on each Node in the cluster Akri’s Controller runs in the control plane - First component: Akri config - How you tell akri what you want to find by specifying what discovery handler you want akri to use to discover devices (OPC, udev, ONVIF, custom) Specify what custom workload (“broker”) you want deployed to each discovered device Agent sees configuration and tells discovery handler to start looking across the network or locally for device Agent creates device plugin for each device it discovers, making it a requestable resource. And creates an Instance to represent it and its usage Controller sees instance and deploys broker to each discovered device. In the broker PodSpec, it requests the device’s resource. Via the device plugin framework, connection info is injected into the broker before it is run on a node.
  3. TO add: demo resources