Repository navigation
How to change Nodeport #8050
Answered
by
brandond
josetemitayoHH96
asked this question in
Q&A
|
I am trying to change nodeport on k3s and I tried this command FATA[0000] starting kubernetes: preparing server: init cluster datastore and https: listen tp :6443: bind: address already use |
Answered by
brandond
Jul 26, 2023
Replies: 1 comment
|
You appear to be trying to run another copy of k3s, instead of modifying the CLI flags for the service. Use Also, the format you want for that flag is |
0 replies
Answer selected by
brandond
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You appear to be trying to run another copy of k3s, instead of modifying the CLI flags for the service. Use
systemctl edit --full k3sto 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.