Skip to content

Instantly share code, notes, and snippets.

@aburan28
Created October 16, 2018 05:42
Show Gist options
  • Save aburan28/80b74e947ad6c300dc89c10e9d52135e to your computer and use it in GitHub Desktop.
Save aburan28/80b74e947ad6c300dc89c10e9d52135e to your computer and use it in GitHub Desktop.
#!/bin/bash
set -euxo pipefail
sudo apt-get update && sudo apt-get install -y apt-transport-https
curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -
echo "deb http://apt.kubernetes.io/ kubernetes-xenial main" | sudo tee -a /etc/apt/sources.list.d/kubernetes.list
sudo apt-get update
sudo apt-get install -y kubectl
exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment