Some checks failed
Terraform Plan / Terraform Plan (push) Failing after 9s
Provision 3 thin control planes and 3 workers with role-specific sizing and VMID ranges (701/711), generate per-node cloud-init snippets with SSH key injection, and add NixOS kubeadm host/module scaffolding for cp-1..3 and wk-1..3.
15 lines
264 B
Nix
15 lines
264 B
Nix
{ lib, ... }:
|
|
|
|
{
|
|
imports =
|
|
[
|
|
../modules/k8s-common.nix
|
|
../modules/k8s-control-plane.nix
|
|
]
|
|
++ lib.optional (builtins.pathExists ./hardware/cp-2.nix) ./hardware/cp-2.nix;
|
|
|
|
networking.hostName = "cp-2";
|
|
|
|
system.stateVersion = "25.05";
|
|
}
|