3 ms·
I actually just got a NUC with 64gb ram. Alpine installed to encrypted NVMe zfs zpool. This runs KVM One of these guests is alpine with k3s (tried k3os, very l
by ncrmro 6y ago
I actually just got a NUC with 64gb ram. Alpine installed to encrypted NVMe zfs zpool. This runs KVM
One of these guests is alpine with k3s (tried k3os, very limiting in a good way) that allows me to pass a host directory directly into the vm using p9 (tried nfs but lil heavy)
So any storage needs get the benifit of regular snapshots, compression and sync to nas.
Really wish it would be more know that k8 single node is all most people need to get started!
Actual kubernetes deployments and services etc deployed with ansible managed helm
- alexellisuk 6y agoMaybe you could set up multiple K3s hosts and form a cluster with the VMs? Have you taken a look at inlets-operator that I mention in the post for hosting? My favourite party trick is exposing the IngressController's port 80 and 443. https://docs.inlets.dev/#/get-started/quickstart-ingresscontroller-cert-manager?id=expose-your-ingresscontroller-and-get-tls-from-letsencrypt https://docs.inlets.dev/#/get-started/quickstart-ingresscont... There was a user who was paying 7 USD / mo per site to host 20 side-project sides.. expensive. They switched out to a computer under their desk and saved a lot of money that way.
- ncrmro 6y agoThat is the plan eventually so that I can do node upgrades with lil downtime
- ClumsyPilot 6y agoI think this is accurate, but thrre is great educational value when you can see several physical computers working in a cluster, scaling pod on CPU, etc. I used to have 3 low-power Nuc-style computers, and after playing around for a few months I did the same thing as you have - replaced them with a single beefier machine, and its a lot more practical.
- ncrmro 6y agoTotes agree, I think I got the vms set up once a long time ago before k3s and it was some real work
- mitjam 6y agoCan you explain what p9 is?
- CodesInChaos 6y agoA network filesystem developed for the Plan 9 operating system https://en.wikipedia.org/wiki/9P_(protocol) https://en.wikipedia.org/wiki/9P_(protocol)
- ncrmro 6y agoWhen you create or a edit a vm you can add a file system passthrough. You mount this in your guest vms fstab and specify 9p in the options