How to change Nodeport #8050
-
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 |
Beta Was this translation helpful? Give feedback.
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 |
Beta Was this translation helpful? Give feedback.
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
.