In this article, I will be primarily focusing on building the K3s cluster for Azure DevOps Agents and also the required setup for Edge Device to be integrated with CI/CD. If you have not set up a K3s cluster, please follow my previous post right here for configuring a single cluster. It’s pretty straightforward and even can be set up as a single master/slave.

On the base level, I have used the following hardware and software

1. 1 x Pi4 (4GB) — Raspbian Buster Lite

2. 2 x Pi3 (1GB) — Raspbian Buster Lite

3. K3s Kubernetes Distribution

4. Docker CE 19

5. IoT Edge Runtime

My K3s cluster is powered with two raspberry pis’ with one as master and other as slave. Once the K3s cluster has been setup, apply the below manifest to deploy Azure DevOps Agents specifically for building Az IoT modules and deploying it to Edge Device.

#devops #azure #raspberry-pi #iot #azure-devops

Build Az IoT Modules inside Raspberry Pi using K3s Az Devops Agents
1.70 GEEK