Raspberry Pi Kubernetes Cluster — OS Installation| Issue #2
ubuntu + raspberrypi

Raspberry Pi Kubernetes Cluster — OS Installation| Issue #2

Welcome to the Raspberry PI Kubernetes home lab series. A bite sized informative guide to help you provision a cluster from scratch.

1. Install Ubuntu on a Raspberry Pi

The Raspberry PI nodes are provisioned using?Ubuntu 22.04 LTS?for ARM. Download and unzip the iso image from the?link.

No alt text provided for this image

2. Locate the SD card

Diskutil?provides information about formats of disks which include disk images.

diskutil list        
No alt text provided for this image

3. Unmount the disk


diskutil unmountDisk /dev/disk2
        

Unmount the disk so you can write onto it. Note that unmount is not the same as eject. unmount means to remove the connection to the disk internally, eject means to physically remove it.

4. dd the image into the disk


sudo dd if=<path-to-image>/raspbian.img of=/dev/rdisk2 bs=1m
        

It is important that you set up the block size read/write buffering to optimise the overall time of the task.

5. Enable ssh


touch /Volumes/system-boot/ssh
        

SSH needs to be enabled so we can talk to the nodes later

6. Unmount and eject/remove card


diskutil unmountDisk /dev/disk2
        

Leave a comment if you have any questions, we will be installing and preparing the nodes next first manually and then in an automated fashion via Ansible. Happy Coding.

← Previous Issue?: Equipment | Issue #1

要查看或添加评论,请登录

社区洞察

其他会员也浏览了