Install kubectl on termux ( android)

Hello All .

I’m very new to this Kubernetes and Linux platform. I’m starting to practice my kube exercises with the playwithk8s site. I’m looking for a way to practice it on my phone as well. Is it possible to install kubectl on Termux ?

If yes , please help me with the steps.

Not easily - Your best bet would be to ssh into a client where it could be run.

1 Like

I somehow managed to install kubectl in termux and used it to access a cluster. It was a while ago so I cannot recall every detail. I simply followed the official installation guide. Note that you may need to change the ARCH in the download link to arm64 or whatever you are using.

1 Like

install termux, run command
pkg install kubectl
Done. :blush: