Configure clustering with k3s
This commit is contained in:
parent
31267fa34c
commit
2249b4cc58
4 changed files with 14 additions and 1 deletions
|
@ -20,6 +20,11 @@
|
|||
|
||||
networking.hostName = "kube02"; # Define your hostname.
|
||||
|
||||
services.k3s = {
|
||||
serverAddr = "https://kube01:6443";
|
||||
clusterInit = false;
|
||||
};
|
||||
|
||||
# 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.
|
||||
# Most users should NEVER change this value after the initial install, for any reason,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue