Kubernetes Cluster Using Raspberry Pi

I setup a Kubernetes Kubernetes (), also known as K8s is an open-source container orchestration system for automating software deployment, scaling, and management. Originally designed by Google, the project is now maintained by a worldwide community of contributors, and the trademark is held by the Cloud Native Computing Foundation. cluster using Raspberry Pi Raspberry Pi () is a series of small single-board computers (SBCs) developed in the United Kingdom. The original Raspberry Pi computer was developed by the Raspberry Pi Foundation in association with Broadcom. Since 2012, all Raspberry Pi products have been developed by Raspberry Pi Ltd, which began as a wholly-owned subsidiary of the Foundation. In June 2024 Raspberry Pi created a new holding company, Raspberry Pi Holdings, which began trading as a public company on the London Stock Exchange in June 2024. . It was much easier than I had imagined.

https://i.imgur.com/GlSDW8O.png

I used a Raspberry 4 for the master, and an agent. And I used two Raspberry B for two agents.

https://i.imgur.com/kCB1tq0.png

I setup using mhausenblas tutorial, which uses k3s for setting up of kubernetes on raspberry pis. I used k3sup tool for installation of packages, which worked well.

My overall goal ran into some challenges.

  • I was not able to setup the kubernetes dashboard via helm Helm is a package manager for Kubernetes. It uses 'charts' as its package format, which is based on YAML. Helm was accepted to Cloud Native Computing Foundation on June 1, 2018 at the Incubating maturity level and then moved to the Graduated maturity level on May 1, 2020. package, and I had to use instructions from github.

  • I was not able to setup Minecraft Minecraft is a 2011 sandbox game developed and published by the Swedish video game developer Mojang Studios. Originally created by Markus "Notch" Persson using the Java programming language, the first public alpha build was released on 17 May 2009. The game was continuously developed from then on, receiving a full release on 18 November 2011. Afterwards, Persson left Mojang and gave Jens "Jeb" Bergensten control over development. In the years since its release, it has been ported to several platforms, including smartphones, tablets, and various video game consoles. In 2014, Mojang and the Minecraft intellectual property were purchased by Microsoft for US$2.5 billion. using the available helm package: https://github.com/itzg/docker-minecraft-server/issues/433

  • I used k3sup to install packages, but I do not know how to uninstall the package using k3sup https://github.com/alexellis/k3sup/issues/179

Givem all these, I still have the my local kubernetes cluster up and running and I am excited about the possiblities of using kubernetes on raspberry pis.