Skip to content

Instantly share code, notes, and snippets.

@darobs
darobs / leaf-module-into-kubernetes.md
Last active May 2, 2019 01:38
Running an Azure IoT module as a remote module in a Kubernetes cluster.

Why did I do this?

I started this as an experiment - what can I do with an Azure IoT Edge module? Containers are inherently moveable, so I wanted to see if I could move an Azure IoT Edge module into a pod on a Kubernetes cluster. I succeeded in taking our sample temperature sensor image and running it as a pod.

Why would you do this?

You probably wouldn't. I haven’t come up with a use case for putting a single IoT Edge module container into a cluster, but I could think of a case where you have existing module image you would like to run on a device, but that device is too small or otherwise unable to run as an IoT Edge device. This document shows how software running the module SDK can be configured to connect to an external device.

What's the difference between a leaf device and a leaf module?