HomeLab - Install Minikube
HomeLab - Install Minikube
HomeLab - Install Minikube
Introduction
- Install a Minikube cluster
Prerequisites
- (Docker)[]
- (kubectl)[]
Installing k3d
- Install using wget or curl
1
wget -q -O - https://raw.githubusercontent.com/k3d-io/k3d/main/install.sh | bash
1
curl -s https://raw.githubusercontent.com/k3d-io/k3d/main/install.sh | bash
- To install a specific release
1
wget -q -O - https://raw.githubusercontent.com/k3d-io/k3d/main/install.sh | TAG=v5.0.0 bash
- Verify the installation
1
k3d version
Configuring the Cluster
- Create a cluster
1
k3d cluster create mycluster
- Check the kubernetes nodes
1
kubectl get nodes
Cleanup
- Steps to delete the application and cluster to free up resources.
1
kubectl cluster delete mycluster
1
rm -f $(which k3d)
Conclusion
- We installed k3d and configured a cluster.
- Once the installation and configuration was sucessful, we delete the cluster and remove k3d.
This post is licensed under CC BY 4.0 by the author.