apiVersion: k3d.io/v1alpha5 kind: Simple metadata: name: nereus # Three nodes so this is a real multi-node k3s, not a single-node toy. # Mirrors the two Fedora VMs plus room for a rollout to spread across nodes. servers: 1 agents: 2 image: docker.io/rancher/k3s:v1.33.4-k3s1 ports: # Traefik on 8080/8443 so it never fights the Mini PC stack or a local dev server. - port: 8080:80 nodeFilters: [loadbalancer] - port: 8443:443 nodeFilters: [loadbalancer] options: k3d: wait: true timeout: 180s k3s: extraArgs: # kube-prometheus-stack scrapes these; k3s binds them to localhost by default. - arg: --kube-controller-manager-arg=bind-address=0.0.0.0 nodeFilters: [server:*] - arg: --kube-scheduler-arg=bind-address=0.0.0.0 nodeFilters: [server:*] kubeconfig: updateDefaultKubeconfig: true switchCurrentContext: true