@wayne.swaniawski
To install Minikube on Amazon Linux, follow these steps:
- Open a terminal or connect to your Amazon Linux instance using SSH.
- Update the package manager and packages by running the following command:
sudo yum update -y
- Install the required dependencies by running the following command:
sudo yum install -y conntrack qemu-kvm libvirt libvirt-devel libvirt-daemon-kvm libguestfs-tools
- Add your user to the libvirt group to allow access to virtualization resources by running the following command:
sudo usermod -aG libvirt $(whoami)
- Start and enable the libvirt service by running the following commands:
sudo systemctl start libvirtd
sudo systemctl enable libvirtd
- Download the Minikube binary by running the following command:
curl -Lo minikube https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64
- Give executable permissions to the downloaded binary by running the following command:
chmod +x minikube
- Move the Minikube binary to a directory in your PATH by running the following command:
sudo mv minikube /usr/local/bin/
- Install the kubectl command-line tool by running the following command:
sudo curl -Lo kubectl https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl
- Give executable permissions to the kubectl binary by running the following command:
chmod +x kubectl
- Move the kubectl binary to a directory in your PATH by running the following command:
sudo mv kubectl /usr/local/bin/
- Verify that Minikube and kubectl are installed correctly by running the following commands:
minikube version
kubectl version --client
You have now successfully installed Minikube on Amazon Linux. You can start using Minikube by running the minikube start
command.