kubectl info exec fork exec usr local bin kubectl exec format error

0 votes

Hi Guys,

I installed kubectl in my system. I am trying to check version of kubectl, but it shows me the below error.

$ kubectl version
Failed to execute process '/usr/local/bin/kubectl'. Reason:
exec: Exec format error
The file '/usr/local/bin/kubectl' is marked as an executable but could not be run by the operating system.
May 19, 2020 in Kubernetes by akhtar
• 38,260 points
8,404 views

1 answer to this question.

0 votes

Hi@akhtar,

The most common reason for this error is that after updating your Minikube installation, you also need to upgrade kubectl. So you have to upgrade your kubectl installation.

$ brew upgrade kubectl

Now you can start your minikube.

answered May 19, 2020 by MD
• 95,460 points

Related Questions In Kubernetes

+1 vote
5 answers
+1 vote
1 answer
0 votes
2 answers

" apt-get install -y kubelet kubeadm kubectl" giving error

apt-get install -y kubelet kubeadm kubectl kubernetes-cni READ MORE

answered Sep 11, 2020 in Kubernetes by anonymous
10,697 views
0 votes
1 answer

permissions related to AWS ECR

if you add allowContainerRegistry: true, kops will add those permissions ...READ MORE

answered Oct 9, 2018 in Kubernetes by Kalgi
• 52,350 points
1,402 views
+1 vote
1 answer
0 votes
3 answers

Error while joining cluster with node

Hi Kalgi after following above steps it ...READ MORE

answered Jan 17, 2019 in Others by anonymous
15,488 views
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP