![]()
$ sudo apt-mark hold kubelet kubeadm kubectl # Disable (mark as held) updates for the Kubernetes packages #Create services inside raspberry install#Install Docker on all of the Raspberry Pis: Install and configure DockerĪs of this writing, Ubuntu 20.04 ships the most recent version of Docker, v19.03, in the base repositories and can be installed directly using the apt command. Once Ubuntu is installed on the Raspberry Pis and they are accessible via SSH, you need to make a few changes before you can install Kubernetes. To simplify the initial setup, read Modify a disk image to create a Raspberry Pi-based homelab to add a user and SSH authorized_keys to the Ubuntu image before writing it to an SD card and installing on the Raspberry Pi. Install Ubuntu 20.04 ARM64 on all the Raspberry Pis.Three (or more) Raspberry Pi 4s (preferably the 4GB RAM models).The requirements for this exercise are minimal. It's time to install Kubernetes, so get to it! Requirements You can schedule images of a given architecture to run on the appropriate nodes by Kubernetes' scheduler through the use of Kubernetes taints and tolerations.Įnough about architectures and images. #Create services inside raspberry how to#In a future article in the "private cloud at home" project, I will cover how to build AArch64 images on your regular system.įor the best of both worlds, after you set up the Kubernetes cluster in this tutorial, you can add x86_64 nodes to it later. You will also need to build your own images on an AArch64-based system or jump through some hoops to allow your regular x86_64 systems to build AArch64 images. In practice, you will find some images that are not built for both architectures and may not be usable in your cluster. Without getting too deep in the woods explaining different architecture types, it is worth noting that ARM64/AArch64 and x86_64 architectures differ, and Kubernetes nodes running on 64-bit ARM architecture cannot run container images built for x86_64.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |