Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with deprecated arguments when installing new K3s release (v1.24.3+k3s1) #55

Closed
ricsanfre opened this issue Jul 23, 2022 · 0 comments · Fixed by #59
Closed

Error with deprecated arguments when installing new K3s release (v1.24.3+k3s1) #55

ricsanfre opened this issue Jul 23, 2022 · 0 comments · Fixed by #59
Labels
bug Something isn't working

Comments

@ricsanfre
Copy link
Owner

K3s server process exits with failure:

Jul 23 12:08:46 node1 k3s[5237]:       --version version[=true]           Print version information and quit
Jul 23 12:08:46 node1 k3s[5237]: time="2022-07-23T12:08:46+02:00" level=fatal msg="controller-manager exited: unknown flag: --address"
Jul 23 12:08:47 node1 systemd[1]: k3s.service: Main process exited, code=exited, status=1/FAILURE
Jul 23 12:08:47 node1 systemd[1]: k3s.service: Failed with result 'exit-code'.

This is due to the address deprecated argument I am passing to controller-manager and scheduler through installation

k3s_install.sh server 
   --write-kubeconfig-mode '0644' 
  --disable 'servicelb'
  --node-taint 'node-role.kubernetes.io/master=true:NoSchedule'
  --kube-controller-manager-arg 'bind-address=0.0.0.0'
  --kube-controller-manager-arg 'address=0.0.0.0'
  --kube-proxy-arg 'metrics-bind-address=0.0.0.0'
  --kube-scheduler-arg 'bind-address=0.0.0.0'
  --kube-scheduler-arg 'address=0.0.0.0'

--kube-controller-manager-arg 'address=0.0.0.0' and --kube-scheduler-arg 'address=0.0.0.0' must be removed.

@ricsanfre ricsanfre added the bug Something isn't working label Jul 23, 2022
@ricsanfre ricsanfre changed the title Erro with deprecated arguments when installing new K3s release (v1.24.3+k3s1) Error with deprecated arguments when installing new K3s release (v1.24.3+k3s1) Jul 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant