Can’t connect to kubernetes API from inside the cluster

I’m trying to use the fabric8io/kubernetes-client in a simple example on my local minikube cluster where I get an IP of a pod import io.fabric8.kubernetes.client.Config; import io.fabric8.kubernetes….