Hi,
I get the following when trying to verify installation of kubectl on Ubuntu 16.04.07 LTS on virtualBox 6.1
kubectl version --client
returns
cannot execute binary file : Exec format error
ran file /usr/local/bin/kubectl and got the following:
ELF 64-bit LSB executable, x86-64 …
ran dpkg --print-architecture and got the following:
i386
Can anyone help with kubectl install?
How did you install it?
You can specify the arch in the url when grabbing it:
The Kubernetes command-line tool, kubectl, allows you to run commands against Kubernetes clusters. You can use kubectl to deploy applications, inspect and manage cluster resources, and view logs. For a complete list of kubectl operations, see...
I followed the steps in the link you provided
Forgot about this when originally looking - upstream does not provide binaries for i386. I’d suggest switching over to an amd64 vm. For more info check out this thread:
In general you will not find any x86 32bit binaries from any official source, everything will need to be compiled.