"kubectl" command not found error..
See original GitHub issue[root@localhost ~]# kube-shell
kube-shell> kubectl get services
/bin/sh: kubectl: command not found
kube-shell> exit
Any thoughts why this happens?
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Kubernetes: kubectl run: command not found - Stack Overflow
I get the error: -bash: kubectl: command not found. Here's how I fixed it: Download the latest Kubernetes release with the command:
Read more >Install and Set Up kubectl on Linux - Kubernetes
In order for kubectl to find and access a Kubernetes cluster, it needs a kubeconfig file, which is created automatically when you create...
Read more >kubectl: command not found - The Geek Diary
The Kubernetes command-line tool, kubectl is used to run commands against Kubernetes clusters. You'll use kubectl to inspect and manage your service's cluster ......
Read more >Troubleshoot kubectl issues - Bitnami Documentation
Error 1: kubectl does not permit access to certain resources. This occurs when you run the kubectl command and see the following error:...
Read more >Command not found error while running exec command on ...
I am trying this- kubectl exec -it examplepod -n namespacename-ci -- /bin/bash. ... Tried running apt-get install commands but kept in getting ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I really don’t know thats is necessary… But I solved that with symlink
ln -s /usr/local/bin/kubectl /usr/bin/
Hi, Any answers for this, becoz I am facing the same issue, though I have installed the kops and kubectl in linux machine. Please share your thoughts
bash: kubectl: command not found