Installing Kubernetes & Minikube on Linux Ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/bash | |
# Ubuntu dependencies | |
sudo apt install -y apt-transport-https curl | |
# Install Virtualbox and Extension Pack | |
sudo apt install -y virtualbox virtualbox-ext-pack | |
# Install kubectl | |
curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add - | |
sudo touch /etc/apt/sources.list.d/kubernetes.list | |
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 | |
# Install minikube | |
curl -Lo /tmp/minikube https://storage.googleapis.com/minikube/releases/v0.28.2/minikube-linux-amd64 | |
sudo mv /tmp/minikube /usr/local/bin/ && chmod +x /usr/local/bin/minikube |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment