K3s: the way to change the nodeport

Created on 5 May 2019  路  2Comments  路  Source: k3s-io/k3s

hi,
can you please tell me How to modify the default port range of nodeport 30000-32767锛宼hanks a lot.

Most helpful comment

try this:
k3s server --kube-apiserver-arg --service-node-port-range=20618-20828

All 2 comments

try this:
k3s server --kube-apiserver-arg --service-node-port-range=20618-20828

@warmchan this method works very well,thank you very much.

Was this page helpful?
0 / 5 - 0 ratings