-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
63 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
rec { | ||
controlPlaneVIP = "fca7:b01:f00d:4800::1"; | ||
|
||
clusterBase = { | ||
controlPlane.endpoint = "https://[${controlPlaneVIP}]:6443"; | ||
clusterNetwork = { | ||
dnsDomain = "k8s.nya.haus"; | ||
podSubnets = [ "fca7:b01:f00d:4001::/64" ]; | ||
serviceSubnets = [ "fca7:b01:f00d:4000::/64" ]; | ||
}; | ||
|
||
# control plane will only do control plane stuff | ||
allowSchedulingOnControlPlanes = false; | ||
}; | ||
|
||
machineBase = { | ||
install = { | ||
disk = "/dev/vda"; | ||
wipe = true; | ||
}; | ||
|
||
# All hosts only have one interface. This will pick the interface | ||
# https://www.talos.dev/v1.6/talos-guides/network/predictable-interface-names/#single-network-interface | ||
network.interfaces = [{ deviceSelector.busPath = "0*"; }]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
let common = import ./common.nix; | ||
in { | ||
cluster = common.clusterBase // { | ||
apiServer = { certSANs = [ common.controlPlaneVIP ]; }; | ||
clusterName = "ca7dc"; | ||
}; | ||
machine = common.machineBase; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
let common = import ./common.nix; | ||
in { | ||
cluster = common.clusterBase; | ||
machine = common.machineBase; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters