Configure clustering with k3s
This commit is contained in:
parent
31267fa34c
commit
2249b4cc58
4 changed files with 14 additions and 1 deletions
|
@ -21,6 +21,9 @@
|
|||
|
||||
networking.hostName = "kube01"; # Define your hostname.
|
||||
|
||||
services.k3s = {
|
||||
clusterInit = true;
|
||||
};
|
||||
|
||||
# This option defines the first version of NixOS you have installed on this particular machine,
|
||||
# and is used to maintain compatibility with application data (e.g. databases) created on older NixOS versions.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue