Closed teja-rafay closed 1 year ago
Sorry that's not enough information for me to understand what is going on. Most likely it's a behavior with your set up. Krew is installed in $HOME/.krew
and if it's disappearing on every restart, there's nothing much we can help with, since it sounds like it's specific to your set up.
/kind support
Is there any way we can check this if it is the problem with my setup or something else?
You can ls -al $HOME
, see if .krew
is there, and see if it persists between reloads.
Another issue might be that you did not update your shell profile file with the export PATH
command after installation, as instructed in the installation instructions.
You can try reinstalling and follow the post-installation instructions more closely.
/close
@ahmetb: Closing this issue.
I checked with ls -al $HOME
, .krew is present. I also did export it a post installation steps and after that when I restart the system it is saying ubuntu@teja-20230202-1-18-1-21:~$ kubectl krew Error: unknown command "krew" for "kubectl" Run 'kubectl --help' for usage.
Sorry but I recommend seeking help at other forums to troubleshoot shell/PATH issues. :) If kubectl-krew
binary is not in your PATH and you are unsure how to check, plenty of resources available on the web.
the binary is present in my path
This sometime happens if kubectl is pointing to a bash function or alias. Can u try it with absolute path of kubectl
After installing when I restart my linux machine the krew is getting uninstalled