Skip to content

你好,请问一下怎么修改nodeport的端口范围? #5041

Answered by chuabo
chuabo asked this question in Q&A
Discussion options

You must be logged in to vote

还是自己找答案
修改/etc/systemd/system/k3s.service文件
ExecStart=/usr/local/bin/k3s server --kube-apiserver-arg service-node-port-range=30000-39999
重启 systemctl restart k3s

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by chuabo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants