vi /etc/systemd/system/k3s.service ExecStart=/usr/local/bin/k3s \ ..... '--kube-apiserver-arg' \ #添加参数 'service-node-port-range=0-40000' \ #端口范围