We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Environmental Info: K3s Version:
go version go1.21.9
Node(s) CPU architecture, OS, and Version:
Linux k3s.ds.skarke.net 5.14.0-427.16.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Wed May 8 17:48:14 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Cluster Configuration:
1 node fresh install
Describe the bug:
Path /usr/local/bin missing while running sudo This is resolved by running visudo and editing this line
Defaults secure_path = /sbin:/bin:/usr/sbin:/usr/bin
Add :/usr/local/bin
Steps To Reproduce:
Expected behavior:
[k3suser@k3s ~]$ sudo k3s kubectl get nodes NAME STATUS ROLES AGE VERSION k3s.domain.net Ready control-plane,master 3h38m v1.29.4+k3s1
Actual behavior:
the k3s command could not be found
Additional context / logs:
The text was updated successfully, but these errors were encountered:
The install script could provide a warning and instructions to resolve.
Sorry, something went wrong.
Validating sudo's path is somewhat outside the realm of what k3s is expected to manage.
No branches or pull requests
Environmental Info:
K3s Version:
go version go1.21.9
Node(s) CPU architecture, OS, and Version:
Linux k3s.ds.skarke.net 5.14.0-427.16.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Wed May 8 17:48:14 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Cluster Configuration:
1 node fresh install
Describe the bug:
Path /usr/local/bin missing while running sudo
This is resolved by running visudo and editing this line
Defaults secure_path = /sbin:/bin:/usr/sbin:/usr/bin
Add :/usr/local/bin
Steps To Reproduce:
Expected behavior:
[k3suser@k3s ~]$ sudo k3s kubectl get nodes
NAME STATUS ROLES AGE VERSION
k3s.domain.net Ready control-plane,master 3h38m v1.29.4+k3s1
Actual behavior:
the k3s command could not be found
Additional context / logs:
The text was updated successfully, but these errors were encountered: