Using the Kubernetes Client API with Kubeadm
Some errors occurred while using the API by a Master node with kubeadm
In fact the error due to using Docker container !!
java.net.ConnectException: Failed to connect to localhost/127.0.0.1:8080
Looks like this is resolved. If it's not, it's some sort of configuration error unrelated to this client.
Closing this issue.
How can I configure the docker container inorder to be able to use the API ? thanks
How can we solve the problem in case of Pod that carry a container which use the k8s Client API ?
java.net.ConnectException: Failed to connect to localhost/127.0.0.1:8080 at com.squareup.okhttp.internal.io.RealConnection.connectSocket(RealConnection.java:143) ~[okhttp-2.7.5.jar!/:na]