vi /etc/k0s/k0s.yaml 中添加或修改spec.api.extraArgs部分
spec: api: extraArgs: service-node-port-range: 30000-32767 systemctl restart k0s