- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback
Minikube Stopped Working After Latest GC2 Update
We’re currently addressing the issue of Minikube not functioning correctly in GC2 instances.
Minikube In GC2
[Linux]
# Download and Install Minikube
# Set-Up Minikube Using the docker driver
curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64
sudo install minikube-linux-amd64 /usr/local/bin/minikube && rm minikube-linux-amd64
Install Kubectl
[Linux]
Follow these Instruction: https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/
Start Minikube Cluster With GPU Access
# Verify that everything is set up before moving further
sudo apt-get update
curl -O https://raw.githubusercontent.com/rajat709/Cloud-API-Builder/main/meta/minikube-verify.sh && chmod +x minikube-verify.sh && ./minikube-verify.sh; status=$? && rm -f minikube-verify.sh
# Check if bpf_jit_harden is set to 0
sudo sysctl net.core.bpf_jit_harden
# If it’s not 0 run:
echo "net.core.bpf_jit_harden=0" | sudo tee -a /etc/sysctl.conf
sudo sysctl -p
# Start minikube with gpus access
minikube start --driver docker --container-runtime docker --gpus all
Now you're all set! Enjoy your Kubernetes pods with GPU acceleration. 🔥
Was this article helpful?