Created
July 16, 2019 11:46
-
-
Save mreferre/92b2f1ba05c6013a1d3d30de6aaa743f to your computer and use it in GitHub Desktop.
Minikube-on-Ubuntu-18
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
# This script can be run on an i3.metal EC2 instance running Ubuntu 18 TLS and will setup minikube | |
#!/bin/bash | |
sudo apt update | |
sudo apt upgrade | |
wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add - | |
wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add - | |
sudo add-apt-repository "deb http://download.virtualbox.org/virtualbox/debian bionic contrib" | |
sudo apt update | |
sudo apt install virtualbox-6.0 | |
curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl | |
chmod +x ./kubectl | |
sudo mv ./kubectl /usr/local/bin/kubectl | |
curl -Lo minikube https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64 && chmod +x minikube | |
sudo install minikube /usr/local/bin | |
minikube start | |
minikube addons enable ingress |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment