Skip to content

Commit

Permalink
Add conntrack to minikube setup script.
Browse files Browse the repository at this point in the history
  • Loading branch information
tejal29 authored Mar 27, 2020
1 parent 1978f1e commit 54c2a7a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions scripts/minikube-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ chmod +x kubectl
sudo mv kubectl /usr/local/bin/
kubectl version --client

# conntrack is required for minikube 1.19 and higher for none driver
if ! conntrack --version &>/dev/null; then
echo "WARNING: No contrack is not installed"
sudo apt-get update -qq
sudo apt-get -qq -y install conntrack
fi

curl -Lo minikube https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64
chmod +x minikube
sudo mv minikube /usr/local/bin/
Expand Down

0 comments on commit 54c2a7a

Please sign in to comment.