MutantMahesh's Blog

Seeking to know.

May 9, 2021 - 2 minute read - Raspberry PI Kubernetes MacOS Ubuntu

My journey of running Kubernetes cluster on Raspberry PI and Mac

This is going to be series of posts where I am going to share my learning journey of running kubernetes cluster on Raspberry PI cluster.

  1. How to boot Raspberry PI from usb drive (by changing boot order with raspi-config command.)
  2. How to permanently disable the swap in raspberry pi
  3. Install the docker and kubernetes on raspberry pi
  4. How to run kubernetes cluster on Raspberry PI (using kubeadm init command)
  5. How to join the running kubernetes cluster on Raspberry PI (from another node using kubeadm join command)
  6. How to install the kubernetes-dashboard
  7. How to generate the kubernetes dashboard login token (with kubectl command)
  8. How to set the VirtualBox as backend driver for the multipass on mac
  9. How to launch the VM on MacOs with specific network driver with Multipass (using the multipass launch command)
  10. How to ssh into VM instance running by multipass from another host (Using ssh-copy-id command, link github issue)
  11. How to remote login into Raspberry pi with Remote desktop client using the VNC
  12. How to give multiple hostnames to a single host in <code>/etc/hosts</code> file
  13. How to access multipass instance with Remote Desktop with xrdp
  14. How to access multipass instance with Remote Desktop client on Mac
  15. How to recover from Multipass Instance stopped while starting


Below is the list of Hardware and Software tools I used.

Hardware tools

  1. Samsung Micro SD card 32GB
  2. One SanDisk SDCZ430-032G-I35 Ultra Fit 3.1 32GB USB Flash Drive
  3. One Raspberry Pi 4 Model B with 8GB Ram
  4. One Raspberry Pi 4 Model B with 2GB Ram
  5. Tobo Micro HDMI Adapter - HDMI Female (Type-A) to Micro HDMI Male (Type-D) Compatible with Raspberry pi 4 Gold Plated Connector Converter Adapter (Optional)
  6. Mini USB Expander 4 Port USB 3.0 Hub Splitter
  7. USB type A to type C cables for Power supply

Software tools

  1. Multipass
  2. Raspberry PI Imager
  3. tmux (optional)
  4. Microsoft Remote Desktop