java icon indicating copy to clipboard operation
java copied to clipboard

Using the Kubernetes Client API with Kubeadm

Open smaillns opened this issue 7 years ago • 4 comments

Some errors occurred while using the API by a Master node with kubeadm

smaillns avatar Jul 24 '19 14:07 smaillns

In fact the error due to using Docker container !!

java.net.ConnectException: Failed to connect to localhost/127.0.0.1:8080

smaillns avatar Jul 24 '19 15:07 smaillns

Looks like this is resolved. If it's not, it's some sort of configuration error unrelated to this client.

Closing this issue.

brendandburns avatar Jul 24 '19 15:07 brendandburns

How can I configure the docker container inorder to be able to use the API ? thanks

smaillns avatar Jul 24 '19 15:07 smaillns

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]

smaillns avatar Jul 24 '19 19:07 smaillns