can't start minikube in ec2 shows "X Sorry, Kubernetes v1.18.0 requires conntrack to be installed in root's path"
I had the same issue. Install 'conntrack' with
sudo apt install conntrack
Then continue to start your minikube:
sudo minikube start --vm-driver=none
Execute following commands
yum install conntrack
start minikube as rootstart --driver=none
TL;DR : update minkikube
You need minkikube
not older than v1.9.0-beta
It's a known issue
There is a known issue #7179 reproduced in 1.18
Fixed in Pull Request #7180, the latest commit is 1273d4f:
install conntrack for github action integration tests #7180
Minimal minikube
ver that contain commit 1273d4f is v1.9.0-beta
:
git clone https://github.com/kubernetes/minikube/cd minikubegit describe 1273d4f8e756ac5eca89d94c449450fb2da21a5a>v1.9.0-beta.2-16-g1273d4f8e
Explanation of git describe
Explanation of git describe
is here
The command is useful for cases such as:
- which tag is closest to the commit? (
git describe <sha>
)- which tag contains commit? (
git describe <sha> --contains
)- which branch or annotated tag is closest to the commit? (
git describe <sha>--all
)