Home

Running an IoT Edge module in a Kubernetes Cluster (or as a standalone container).

%3CLINGO-SUB%20id%3D%22lingo-sub-393887%22%20slang%3D%22en-US%22%3ERunning%20an%20IoT%20Edge%20module%20in%20a%20Kubernetes%20Cluster%20(or%20as%20a%20standalone%20container).%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-393887%22%20slang%3D%22en-US%22%3E%3CP%3EA%20few%20months%20back%2C%20I%20did%20an%20experiment%20to%20see%20what%20it%20would%20take%20to%20run%20an%20Azure%20IoT%20Edge%20module%20image%20in%20a%20Kubernetes%20cluster%20independent%20of%20the%20IoT%20Edge's%20runtime.%26nbsp%3B%20There's%20no%20(known)%20use%20case%20for%20this%2C%20I%20was%20just%20curious.%26nbsp%3B%20Containers%20are%20inherently%20redeployable%2C%20so%20I%20wanted%20to%20see%20if%20I%20could%20move%20an%20Azure%20IoT%20Edge%20module%20into%20a%20pod%20on%20a%20Kubernetes%20cluster.%20%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fgist.github.com%2Fdarobs%2F1a17fc2fbea6b98e9970e28b6bba6e01%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3EI%20wrote%20up%20my%20findings%20in%20a%20Gist.%3C%2FA%3E%3C%2FP%3E%0A%3CP%3ESummary%3A%20You%20need%20to%20set%20up%20certificates%20like%20you%20are%20deploying%20a%20leaf%20device%2C%20and%20you%20need%20to%20manually%20manage%20the%20module%2C%20but%20it%20works.%20%26nbsp%3B%20I%20ran%20the%20module%20as%20a%20pod%20in%20Kubernetes%2C%20but%20this%20could%20also%20be%20done%20for%20any%20container%20deployment%20system.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
darobs
Microsoft

A few months back, I did an experiment to see what it would take to run an Azure IoT Edge module image in a Kubernetes cluster independent of the IoT Edge's runtime.  There's no (known) use case for this, I was just curious.  Containers are inherently redeployable, so I wanted to see if I could move an Azure IoT Edge module into a pod on a Kubernetes cluster.  

 

I wrote up my findings in a Gist.

Summary: You need to set up certificates like you are deploying a leaf device, and you need to manually manage the module, but it works.   I ran the module as a pod in Kubernetes, but this could also be done for any container deployment system.

 

Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
35 Replies
Extentions Synchronization
ChirmyRam in Discussions on
3 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies