Prasyarat

  • Windows 10
  • WSL 2
  • Docker Desktop WSL 2 Backend

Panduan

  1. 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
  1. Jalankan minikube menggunakan driver docker
minikube start --driver=docker
  1. 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
  1. Verifikasi status minikube
minikube status

kubectl get pods -n kube-system

Referensi