While I’m waiting for my first #OrangePi #SBC to arrive so I can self-host my various koehn.com services at home, I started looking at how to attach Kubernetes Pods to my SAN, which supports both iSCSI and NFS out of the box.

Turns out both are super easy: you just install the client software on the node (open-iscsi and nfs-common). NFS also requires you to install a provisioner to create new volumes on your server (I have to manually provision iSCSI volumes on the NAS). In either case, you get RWX and RWO persistent volume support quickly and easily, and k3s manages all the networking, storage, configuration, scaling, load balancing, etc.

The new nodes will be much faster (SSDNodes where I’m currently hosting overloads its servers horribly), and migrating from the pods in the cloud to the new devices looks pretty straightforward. I can join them to the same k8s cluster that I use in the cloud, and then it’s just a matter of moving the workloads and the data.

3