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 in Kubernetes by akhtar
• 11,250 points
47 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 by MD
• 24,500 points

Related Questions In Kubernetes

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

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

Make sure you've followed these steps accurarely, ...READ MORE

answered Dec 18, 2018 in Kubernetes by Charlie
1,878 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
• 51,850 points
117 views
0 votes
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
6,640 views
0 votes
1 answer