https://rancher.com/ logo
Title
m

mammoth-forest-70320

05/01/2023, 10:57 PM
Hi all: I am working with K3S on windows via WSL2, what is the best way to set
service-node-port-range
via provisioning scripts?
In case anyone else is wondering...put this in a file (whatever you want to name it as long as it ends with
.start
) in
%AppData%\Roaming\rancher-desktop\provisioning
#!/bin/sh
echo 'K3S_EXEC="--kube-apiserver-arg service-node-port-range=25000-35000"' > /etc/environment