Prasyarat
- Windows 10
- WSL 2
- Docker Desktop WSL 2 Backend
Panduan
- Unduh dan install binary file minikube
curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64
sudo install minikube-linux-amd64 /usr/local/bin/minikube
- Jalankan minikube menggunakan driver docker
minikube start --driver=docker
- Unduh dan install kubectl
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
- Verifikasi status minikube
minikube status
kubectl get pods -n kube-system