Skip to content

How to change Nodeport #8050

Answered by brandond
josetemitayoHH96 asked this question in Q&A
Discussion options

You must be logged in to vote

You appear to be trying to run another copy of k3s, instead of modifying the CLI flags for the service. Use systemctl edit --full k3s to edit the systemd unit, make your changes to the CLI flags, and then restart the service.

Also, the format you want for that flag is--kube-apiserver-arg=service-node-port-range=20618-20828.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by brandond
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
Converted from issue

This discussion was converted from issue #8048 on July 26, 2023 19:07.