K3s example config
This commit is contained in:
parent
5d890f9c9f
commit
778f52923f
2 changed files with 13 additions and 0 deletions
|
|
@ -2,4 +2,16 @@
|
|||
services.k3s = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
networking.firewall = {
|
||||
allowedTCPPorts = [
|
||||
6443 # Kubernetes API
|
||||
];
|
||||
allowedTCPPortRanges = [
|
||||
{
|
||||
from = 9000;
|
||||
to = 15000;
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue