@clyde_reichert
To install Minikube on an EC2 instance, follow these steps:
That's it! You now have Minikube installed and running on your EC2 instance. You can proceed to deploy and manage your Kubernetes clusters using Minikube.
@clyde_reichert
1
|
sudo yum update -y # for Amazon Linux |
or
1
|
sudo apt update # for Ubuntu |
1
|
sudo yum install docker -y # for Amazon Linux |
or
1
|
sudo apt install docker.io # for Ubuntu |
1
|
sudo service docker start |
1 2 |
sudo curl --silent --location -o /usr/local/bin/kubectl https://storage.googleapis.com/kubernetes-release/release/$(curl --silent --location https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl sudo chmod +x /usr/local/bin/kubectl |
1 2 3 |
sudo curl -Lo minikube https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64 sudo chmod +x minikube sudo mv minikube /usr/local/bin/ |
1
|
minikube start |
Note: This command will start Minikube using the default virtual machine driver, which might be VirtualBox. If you want to use a different driver, such as KVM or Hyper-V, you need to specify it with the --vm-driver
flag.
1
|
kubectl version |
If everything is set up correctly, you should see the version details of both the Kubernetes client and server.
That's it! You now have Minikube installed and running on your EC2 instance. You can proceed to deploy and manage your Kubernetes clusters using Minikube.