# How to Set Up Kubernetes on a Raspberry Pi Cluster with kubeadm

DevFeed: [How to Set Up Kubernetes on a Raspberry Pi Cluster with kubeadm](<https://devfeed.tech/articles/setup-kubernetes-on-a-raspberry-pi-cluster-easily-the-official-way-29475.md>)

Original publisher: [Read original article](<https://blog.hypriot.com/post/setup-kubernetes-raspberry-pi-cluster/>)

Published: 2017-01-11T13:03:34Z

Content type: tutorial

Language: en

Sources: [Hypriot](<https://devfeed.tech/sources/hypriot.md>)

Topics: [Kubernetes](<https://devfeed.tech/topics/kubernetes.md>), [Raspberry Pi](<https://devfeed.tech/topics/raspberry-pi.md>), [Orchestration](<https://devfeed.tech/topics/orchestration.md>), [Docker](<https://devfeed.tech/topics/docker.md>), [Arm](<https://devfeed.tech/topics/arm.md>), [Internet of things](<https://devfeed.tech/topics/iot.md>)

Tags: [arm](<https://devfeed.tech/tags/arm.md>), [cncf](<https://devfeed.tech/tags/cncf.md>), [docker](<https://devfeed.tech/tags/docker.md>), [iot](<https://devfeed.tech/tags/iot.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [orchestration](<https://devfeed.tech/tags/orchestration.md>), [raspberry-pi](<https://devfeed.tech/tags/raspberry-pi.md>)

## AI overview

This tutorial explains how to set up Kubernetes on a Raspberry Pi cluster using the official kubeadm approach introduced with Kubernetes v1.4. It presents Kubernetes as a lightweight, ARM-compatible, general-purpose orchestrator for resource-constrained IoT edge environments and compares it with Docker Swarm and other cluster-management software.

## Source excerpt

Kubernetes shares the pole position with Docker in the category "orchestration solutions for Raspberry Pi cluster". However it's setup process has been elaborate - until v1.4 with the kubeadm announcement. With that effort, Kubernetes changed this game completely and can be up and running officially within no time. I am very happy to announce that this blog post has been written in collaboration with Lucas Käldström, an independent maintainer of Kubernetes (his story is very interesting, you can read it in a CNCF blogpost). Why Kubernetes? As shown in my recent talk, there are many software suites available to manage a cluster of computers. There is Kubernetes, Docker Swarm, Mesos, OpenStack, Hadoop YARN, Nomad... just to name a few. However, at Hypriot we have always been in love with tiny devices. So when working with an orchestrator, the maximum power we wanna use is what's provided by a Raspberry Pi. Why? We have IoT networks in mind that will hold a large share in tomorrow's IT infrastructure. At their edges, the power required for large orchestrators simply is not available. This boundary of resources leads to several requirements that need to be checked before we start getting our hands dirty with an orchestrator: Lightweight: Software should be fit on a Raspberry Pi or smaller. As proofed in my talk mentioned above, Kubernetes painlessly runs on a Raspberry Pi. ARM compatible: Since the ARM CPU architecture is designed for low energy consumption but still able to deliver a decent portion of power, the Raspberry Pi runs an ARM CPU. Thanks to Lucas, Kubernetes is ARM compatible. General purpose: Hadoop or Apache Spark are great for data analysis. But what if your use case changes? We prefer general purpose software that allows to run anything. Kubernetes uses a container runtime (with Docker as the 100% supported runtime for the time being) that allows to run whatever you want. Production ready: Since we compare Kubernetes against a production ready Docker suite