Install minikube (Kubernetes) because I have only one master server / node, but it is not pointing to my IP, but to IP 172.17.0.2
You are not doing anything wrong 👌. minikube is basically using the docker driver so 172.17.0.2
is the IP address of the container where your cluster is running.
But looks like you are using a proxy somewhere in your system. So you need to include the 172.17.0.0/24
range in the NO_PROXY
environment variable.
Something like this:
export HTTP_PROXY=http://<proxy hostname:port>export HTTPS_PROXY=https://<proxy hostname:port>export NO_PROXY=localhost,127.0.0.1,10.96.0.0/12,192.168.99.0/24,192.168.39.0/24,172.17.0.0/24 👈minikube start# get podsminukube kubectl -- get pods --all-namespaces
✌️