-
Notifications
You must be signed in to change notification settings - Fork 371
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
Can Krew be Installed as Super User (su)? #857
Comments
I'm trying to understand wdym by
kubectl looks at If you followed the installation instructions on Krew website, the binary is likely at Krew installs any state into /kind support |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
I have been trying this as well and thus far am unable to get it to work. I am doing the following to install krew:
I have the following in
When I login, I can see the following...
Everything there looks good as far as I can tell, yet...
Invoking kubectl-krew directly works fine:
Any ideas? 🙏 |
Following up, it works fine if I copy the binaries to |
Hello,
I'm trying to use krew with RKE2 which runs by default as the superuser. When I install krew in the userspace, kubectl (which is located at
/var/lib/rancher/rke2/bin/kubectl
and KUBECONFIG is here/etc/rancher/rke2/rke2.yaml
) has no idea where or how to access krew when I typesudo /var/lib/rancher/rke2/bin/kubectl krew update
.I know it is probably pretty simple, but is there a trick to getting krew to work for superuser rather than current user?
Thank you for your time,
Jon
The text was updated successfully, but these errors were encountered: