Home Server 3.1 Home Server 3.1

Home Server 3.1

Continuing from my previous post

Last night I tripped over the power strip I was using for the new server and storage, so i’m pretty sure that’s not gonna boot right - but i’m moving forward. I immediately ordered a UPS to arrive early this morning.

I started off my morning by adding the UPS and swapping the server gear around in the server cupboard. I moved the old media server to under my desk for now and got that wired in as well.

Storage Failure

Once everything was situated and booted, I checked on the Proxmox storage and found the ZFS missing entirely. Searching Google rested my worries as it seems this is common on power failure, and is a simple solve.

I ran zfs import using the ZFS name and it came right back. Hopefully having the UPS will keep that failure mode to a minimum, and I have a recovery plan for the inevitable next time.

Storage

Speaking of Storage - I realized that if I’m going to avoid using microk8s hostpath storage again, I’ll need to make SSD space available to k8s.

I did this by adding a new CT volume and mounting it to the file sharing container and then adding the newly mounted folder to the NFS settings in the file sharing app.

Next I needed to copy the app files to the SSD, which I needed to do anyway before migration so I followed the same process mentioned in my previous post to copy files using the old home server again.

Rebuild

I decided that resetting microk8s and starting over would be a good move since I wanted all the k8s container storage to be on the new SSD space.

Once microk8s was reset and running again, the first addon I enabled was dns with microk8s enable dns:1.1.1.1 because I read somewhere that this needs to be enabled first and I use cloudflare as my internal DNS.

Then I followed the guides again and install NGINX ingress and ArgoCD, this time leaving ingress helm out of ArgoCD in case that was an issue. I had a minor issue getting ArgoCD working through the ingress, but now seems to be working.

Adding Apps

Again the first apps i wanted to install with ArgoCD were cert-manager and external dns. These were added smoothly and immediately started functioning properly - woo hoo!

Next app to move again was homepage. I prepared the values file for a different URL and added it to ArgoCD. No issues with this one either.

For the media apps, I thought it might be better to create pv and pvc resources for the new config folders instead of trying to have the pvc folder created and then copy files over. This enabled me earlier to copy the files over to named folders without needing to create anything in ArgoCD first.

I think I’m almost ready for migration, my next steps will be to add and start each app to see if it runs or not. I’m worried I’ll run into tricky permission issues but I have some ideas for solving that when I get there.

Project is continued here


← Back to blog