Home
%3CLINGO-SUB%20id%3D%22lingo-sub-977006%22%20slang%3D%22en-US%22%3EBuild%20a%20Kubernetes%20%22Intelligent%20Edge%22%20Cluster%20on%20Raspberry%20Pi%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-977006%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-left%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F154451i118660E65BF86BC9%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22network.png%22%20title%3D%22network.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EFollow%20me%20on%20Twitter%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Ftwitter.com%2Fdglover%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%40dglover%3C%2FA%3E%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-1851658425%22%20id%3D%22toc-hId-1851658425%22%20id%3D%22toc-hId-1851658425%22%20id%3D%22toc-hId-1851658425%22%3E%3CA%20class%3D%22anchor%22%20href%3D%22https%3A%2F%2Fdev.to%2Fazure%2Fpart-1-build-a-kubernetes-intelligent-edge-cluster-on-raspberry-pi-5h3k%23introduction%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%20name%3D%22introduction%22%3E%3C%2FA%3EIntroduction%3C%2FH2%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EBuilding%20a%20Kubernetes%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CEM%3EIntelligent%20Edge%3C%2FEM%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Ecluster%20on%20Raspberry%20Pi%20is%20a%20great%20learning%20experience%2C%20a%20stepping%20stone%20to%20building%20robust%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CEM%3EIntelligent%20Edge%3C%2FEM%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Esolutions%2C%20and%20an%20awesome%20way%20to%20impress%20your%20friends.%20Skills%20you%20develop%20on%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CEM%3Eedge%3C%2FEM%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Ecan%20be%20used%20in%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CEM%3Ecloud%3C%2FEM%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Ewith%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fazure.microsoft.com%2Fen-au%2Fservices%2Fkubernetes-service%2F%3FWT.mc_id%3Dtech-communities-blog-dglover%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAzure%20Kubernetes%20Service%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3EThe%20Kubernetes%20cluster%20is%20built%20with%20Raspberry%20Pi%204%20nodes%20and%20is%20very%20capable.%20It%20has%20been%20tested%20with%20Python%20and%20C%23%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fazure.microsoft.com%2Fen-au%2Fservices%2Ffunctions%3FWT.mc_id%3Dtech-communities-blog-dglover%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAzure%20Functions%3C%2FA%3E%2C%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fazure.microsoft.com%2Fen-au%2Fservices%2Fcognitive-services%2Fcustom-vision-service%3FWT.mc_id%3Dtech-communities-blog-dglover%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAzure%20Custom%20Vision%3C%2FA%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3EMachine%20Learning%20models%2C%20and%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fwww.nginx.com%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3ENGINX%3C%2FA%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3EWeb%20Server.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThis%20project%20forms%20the%20basis%20for%20a%20four-part%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CEM%3EIntelligence%20on%20the%20Edge%3C%2FEM%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eseries.%20The%20followup%20topics%20will%20include%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CP%3EBuild%2C%20debug%2C%20and%20deploy%20Python%20and%20C%23%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fazure.microsoft.com%2Fen-au%2Fservices%2Ffunctions%3FWT.mc_id%3Dtech-communities-blog-dglover%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAzure%20Functions%3C%2FA%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eto%20a%20Raspberry%20Pi%20Kubernetes%20Cluster%2C%20and%20learn%20how%20to%20access%20hardware%20from%20a%20Kubernetes%20managed%20container.%3C%2FP%3E%0A%3C%2FLI%3E%0A%3CLI%3E%3CP%3EDeveloping%2C%20deploying%20and%20managing%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CEM%3EIntelligence%20on%20the%20Edge%3C%2FEM%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Ewith%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fiot-edge%2Fhow-to-install-iot-edge-kubernetes%3FWT.mc_id%3Dtech-communities-blog-dglover%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAzure%20IoT%20Edge%20on%20Kubernetes%3C%2FA%3E.%3C%2FP%3E%0A%3C%2FLI%3E%0A%3CLI%3E%3CP%3EGetting%20started%20with%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdapr.io%2F%3FWT.mc_id%3Dtech-communities-blog-dglover%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Edapr.io%3C%2FA%3E%2C%20an%20event-driven%2C%20portable%20runtime%20for%20building%20microservices%20on%20cloud%20and%20edge.%3C%2FP%3E%0A%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CH2%20id%3D%22toc-hId--700498536%22%20id%3D%22toc-hId--700498536%22%20id%3D%22toc-hId--700498536%22%20id%3D%22toc-hId--700498536%22%3E%3CA%20class%3D%22anchor%22%20href%3D%22https%3A%2F%2Fdev.to%2Fazure%2Fpart-1-build-a-kubernetes-intelligent-edge-cluster-on-raspberry-pi-5h3k%23system-configuration%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%20name%3D%22system-configuration%22%3E%3C%2FA%3ESystem%20Setup%3C%2FH2%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F154452i50CFFDEC9F31EEAC%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20alt%3D%22rpi-kube-cluster.jpg%22%20title%3D%22rpi-kube-cluster.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-1042311799%22%20id%3D%22toc-hId-1042311799%22%20id%3D%22toc-hId-1042311799%22%20id%3D%22toc-hId-1042311799%22%3EGet%20Started%3C%2FH2%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20Kubernetes%20cluster%20set%20up%20is%20fully%20scripted%20and%20well%20documented.%3C%2FP%3E%0A%3CP%3EHead%20to%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fgloveboxes%2FRaspberry-Pi-Kubernetes-Cluster%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EBuilding%20a%20Kubernetes%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CEM%3EIntelligent%20Edge%3C%2FEM%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3ECluster%20on%20Raspberry%20Pi%3C%2FA%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eon%20GitHub%20to%20learn%20more.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-977006%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%3EBuilding%20a%20Kubernetes%26nbsp%3B%3C%2FSPAN%3E%3CEM%3EIntelligent%20Edge%3C%2FEM%3E%3CSPAN%3E%26nbsp%3Bcluster%20on%20Raspberry%20Pi%20is%20a%20great%20learning%20experience%2C%20a%20stepping%20stone%20to%20building%20robust%26nbsp%3B%3C%2FSPAN%3E%3CEM%3EIntelligent%20Edge%3C%2FEM%3E%3CSPAN%3E%26nbsp%3Bsolutions%2C%20and%20an%20awesome%20way%20to%20impress%20your%20friends.%20Skills%20you%20develop%20on%20the%26nbsp%3B%3C%2FSPAN%3E%3CEM%3Eedge%3C%2FEM%3E%3CSPAN%3E%26nbsp%3Bcan%20be%20used%20in%20the%26nbsp%3B%3C%2FSPAN%3E%3CEM%3Ecloud%3C%2FEM%3E%3CSPAN%3E%26nbsp%3Bwith%26nbsp%3B%3C%2FSPAN%3E%3CA%20title%3D%22Azure%20Kubernetes%20Service%22%20href%3D%22https%3A%2F%2Fazure.microsoft.com%2Fen-au%2Fservices%2Fkubernetes-service%2F%3FWT.mc_id%3Dtech-communities-blog-dglover%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAzure%20Kubernetes%20Service%3CSPAN%3E.%3C%2FSPAN%3E%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-SUB%20id%3D%22lingo-sub-977289%22%20slang%3D%22en-US%22%3ERe%3A%20Build%20a%20Kubernetes%20%22Intelligent%20Edge%22%20Cluster%20on%20Raspberry%20Pi%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-977289%22%20slang%3D%22en-US%22%3E%3CP%3EThank%20you%20for%20this%20Cool%20Blogpost%20!%3C%2FP%3E%0A%3CP%3EI%20have%20shared%20this%20with%20Education%20in%20the%20Netherlands%26nbsp%3B%3CIMG%20class%3D%22lia-deferred-image%20lia-image-emoji%22%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Fhtml%2Fimages%2Femoticons%2Fcool_40x40.gif%22%20alt%3D%22%3Acool%3A%22%20title%3D%22%3Acool%3A%22%20%2F%3E%20for%20the%20Students.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-977386%22%20slang%3D%22en-US%22%3ERe%3A%20Build%20a%20Kubernetes%20%22Intelligent%20Edge%22%20Cluster%20on%20Raspberry%20Pi%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-977386%22%20slang%3D%22en-US%22%3EHey%20James%2C%20thanks%20for%20the%20feedback%2C%20it%20was%20a%20lot%20of%20fun%20to%20build%20and%20it%20almost%20broke%20me%2C%20but%20the%20project%20and%20the%20installers%20have%20now%20stabilized%2C%20phew%3A)%20There%20are%20a%20lot%20of%20opportunities%20to%20extend%20the%20project.%20Let%20me%20know%20how%20the%20students%20get%20on%20and%20please%20encourage%20them%20to%20post%20issues%20on%20the%20GitHub%20page.%20Cheers%20Dave%3C%2FLINGO-BODY%3E
Microsoft

network.png

Follow me on Twitter @dglover

Introduction

 

Building a Kubernetes Intelligent Edge cluster on Raspberry Pi is a great learning experience, a stepping stone to building robust Intelligent Edge solutions, and an awesome way to impress your friends. Skills you develop on the edge can be used in the cloud with Azure Kubernetes Service.

The Kubernetes cluster is built with Raspberry Pi 4 nodes and is very capable. It has been tested with Python and C# Azure Functions, Azure Custom Vision Machine Learning models, and the NGINX Web Server.

 

This project forms the basis for a four-part Intelligence on the Edge series. The followup topics will include:

  • Build, debug, and deploy Python and C# Azure Functions to a Raspberry Pi Kubernetes Cluster, and learn how to access hardware from a Kubernetes managed container.

  • Developing, deploying and managing Intelligence on the Edge with Azure IoT Edge on Kubernetes.

  • Getting started with the dapr.io, an event-driven, portable runtime for building microservices on cloud and edge.

System Setup

 

rpi-kube-cluster.jpg

 

Get Started

 

The Kubernetes cluster set up is fully scripted and well documented.

Head to Building a Kubernetes Intelligent Edge Cluster on Raspberry Pi on GitHub to learn more.

2 Comments

Thank you for this Cool Blogpost !

I have shared this with Education in the Netherlands :cool: for the Students.

Microsoft
Hey James, thanks for the feedback, it was a lot of fun to build and it almost broke me, but the project and the installers have now stabilized, phew:) There are a lot of opportunities to extend the project. Let me know how the students get on and please encourage them to post issues on the GitHub page. Cheers Dave