K3s: Difference between revisions
imported>KazaniAvali m Spelling correction for Raspberry  | 
				imported>Mcsaucy  document that you need ports 2379 and 2380 for etcd peers and clients if using HA with etcd  | 
				||
| Line 5: | Line 5: | ||
<syntaxHighlight lang=nix>  | <syntaxHighlight lang=nix>  | ||
{  | {  | ||
   #   | |||
   networking.firewall.allowedTCPPorts = [  | |||
    6443 # k3s: required so that pods can reach the API server (running on port 6443 by default)  | |||
    # 2379 # k3s, etcd clients: required if using a "High Availability Embedded etcd" configuration  | |||
    # 2380 # k3s, etcd peers: required if using a "High Availability Embedded etcd" configuration  | |||
   ];  | |||
   services.k3s.enable = true;  |    services.k3s.enable = true;  | ||
   services.k3s.role = "server";  |    services.k3s.role = "server";  | ||