-
Install the termux app for Android
-
Open Termux
-
Install google-cloud-sdk by
# install dependencies pkg install python2 curl gcloud_version="281.0.0" cd ~ gcsdk=google-cloud-sdk-${gcloud_version}-linux-x86_64.tar.gz # do not mind the x86_64, AFAIK it is mostly python so it works on ARM curl -O https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/${gcsdk} tar -xzf ${gcsdk} unlink ${gcsdk} cd google-cloud-sdk # select add to $PATH Y during install bash ./install.sh cd .. # update to latest ./google-cloud-sdk/bin/gcloud components update # add gcloud to available commands source ~/.bashrc
-
Install kubectl in Termux
pkg install kubectl
-
Login to gcloud and continue as usual
gcloud auth login
Last active
February 6, 2022 10:30
-
-
Save r3code/efc8bf2d83a7194968637215ee7c5754 to your computer and use it in GitHub Desktop.
How to install and use kubectl on Android
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment