The Ops Community ⚙️

Cover image for Install Minikube on your Ubuntu 18.04(AWS)
Feng Lei
Feng Lei

Posted on

Install Minikube on your Ubuntu 18.04(AWS)

Step1.Lanuch EC2 Instance

Image description

1.Choose Image(Ubuntu 18.04)

Image description

2.Choose Instance Type(T3.medium)

Image description

3.Add Storage(Least 10GiB)

Image description

4.Add Tags(Options)

Image description

5.Add SecurityGroup

Image description

6.Check and lanuch

Image description

7.View Your Instance

Image description

Step2.Login into your Instance

1.Open SecureCRT Connect Tool

Image description

2.Add .PEM key

Image description
Image description

3.Login use ubuntu User

Image description
Image description

Step3.Install Kubectl(Use ubuntu User)

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
Enter fullscreen mode Exit fullscreen mode

Image description

Step4.Install Docker(Use ubuntu User)

sudo apt-get update && sudo apt-get install docker.io -y
sudo systemctl start docker
Enter fullscreen mode Exit fullscreen mode

Image description

Step5.Install and check Minikube

1.Install conntrack(Root User)

sudo -i
apt install conntrack
Enter fullscreen mode Exit fullscreen mode

Image description

2.Install Minikube

curl -Lo minikube https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64 && chmod +x minikube && sudo mv minikube /usr/local/bin/
Enter fullscreen mode Exit fullscreen mode

Image description

Step6.Start and check Minikube

minikube start --vm-driver=none
minikube status
Enter fullscreen mode Exit fullscreen mode

Image description
Image description

Top comments (0)