Amazon EC2 & Minikube
Choonho Son
Posted on June 13, 2023
In a Amazon EC2 VM, this guide is to install
- docker
- kubernetes (minikube)
- kubectl
- helm
Docker
https://docs.docker.com/desktop/install/fedora/
init docker repository
sudo dnf -y install dnf-plugins-core
sudo dnf config-manager --add-repo https://download.docker.com/linux/fedora/docker-ce.repo
Install docker
sudo yum update
sudo yum install docker
Start docker
sudo service docker start
sudo usermod -aG docker ec2-user && newgrp docker
Minikube
https://minikube.sigs.k8s.io/docs/start/
curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-latest.x86_64.rpm
sudo rpm -Uvh minikube-latest.x86_64.rpm
start minikube
minikube start --driver=docker --memory=4096mb
kubectl
https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl
helm
https://helm.sh/docs/intro/install/
curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3
chmod 700 get_helm.sh
./get_helm.sh
💖 💪 🙅 🚩
Choonho Son
Posted on June 13, 2023
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.