修改启动参数
systemctl stop k3s
vi /etc/systemd/system/k3s.service
ExecStart=/usr/local/bin/k3s \
.....
'--kube-apiserver-arg' \ #添加参数
'service-node-port-range=0-65535' \ #端口范围
或者一行
--kube-apiserver-arg service-node-port-range=0-40000
systemctl daemon-reload
systemctl start k3s