Files
nix-config/hosts/k8s
Ryan Yin f9c902691b refactor: name the youko service modules by purpose
Drop the retired host's name from the filenames:
aquamarine-services.nix -> homelab-services.nix and the aquamarine/
module dir -> homelab-services/. The "aqua" name now stays only in the
docs/vars, where it is kept for a possible later test microvm/qemu-vm on
idols-ai.
2026-09-21 15:46:55 +08:00
..

Kubernetes Clusters

WIP, not finished yet.

I'm running a Kubernetes cluster for testing and development.

I prefer to use k3s as the Kubernetes distribution, because it's lightweight, easy to install, and full featured(see what-have-k3s-removed-from-upstream-kubernetes for details).

KubeVirt Cluster

The KubeVirt cluster is running on physical machines, all my virtual machines are running on this cluster, including other Kubernetes clusters.

K3s Clusters

Clusters running as virtual machines on the KubeVirt cluster, for testing and development.

  1. k3s-test-1-master-1
  2. k3s-test-1-master-2
  3. k3s-test-1-master-3
  4. k3s-test-1-worker-1
  5. k3s-test-1-worker-2
  6. k3s-test-1-worker-3

TODO / Known issues

  • The USB HDD bridge is flaky. aquamarine's two HDDs sit behind a JMicron JMS567 USB-SATA bridge that keeps resetting (dmesg on kubevirt-youko). Find out how often it resets and how much it matters before putting anything critical (e.g. an NFS export) on it.
  • Move aquamarine out of KubeVirt. It is a "core" machine, so it should not depend on the k8s/KubeVirt control plane; run it as a NixOS microVM on kubevirt-youko (microvm.nix) instead, reusing its current disk. Consider consolidating the NFS server onto it afterwards (with a fast and a slow tier).

Kubernetes Resources

Kubernetes resources are deployed and managed separately through ryan4yin/k8s-gitops.