I use minikube running k8s cluster on my macOS:
and I added a nginx-service:
$ kubectl get services
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
kubernetes ClusterIP 10.96.0.1 <none> 443/TCP 10d
nginx-service ClusterIP 10.103.142.141 <none> 80/TCP 5s
I cannot access the cluster-ip:
in my macOS there is no interface with a IP 10.x.x.x
:
$ ifconfig | grep 10.
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
maxage 0 holdcnt 0 proto stp maxaddr 100 timeout 1200