I have started playing with kubernetes. I followed the guide to set it up locally via minikube. I have perfectly managed to configure I am facing a weird issue. Whenever I try running some command using kubectl I get segmentation fault (core dumped). Even when I tried accessing the directory 'kubectl', it threw the same error. I have searched around the internet and have tried different solutions, but no luck
Operation system: Mac OSX High Sierra
I had the same problem when I download using the link below:
curl -Lo kubectl http://storage.googleapis.com/kubernetes-release/release/v1.3.0/bin/darwin/386/kubectl && chmod +x kubectl && sudo mv kubectl /usr/local/bin/
I could solve it when I installed the kubectl using brew:
brew install kubectl
I hope it can help.
I managed to solve this issue by removing all kubectl configurations and reinstalling it. Make sure after downloading, the binary is executable and move it into your PATH:
$ chmod +x kubectl
$ mv kubectl /usr/local/bin/kubectl