用于Spring Boot应用程序的Kubernetes服务未与IBM Cloud上的cloudant db连接。 错误提示为:unknownhostexception
java.net.UnknownHostException:xxxxx-bluemix.cloudant.com 在java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)〜[na:1.8.0_111] 在java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)〜[na:1.8.0_111] 在java.net.Socket.connect(Socket.java:589)〜[na:1.8.0_111] 在sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:668)〜[na:1.8.0_111] 在sun.net.NetworkClient.doConnect(NetworkClient.java:175)〜[na:1.8.0_111] 在sun.net.www.http.HttpClient.openServer(HttpClient.java:432)〜[na:1.8.0_111] 在sun.net.www.http.HttpClient.openServer(HttpClient.java:527)〜[na:1.8.0_111] 在sun.net.www.protocol.https.HttpsClient。(HttpsClient.java:264)〜[na:1.8.0_111] 在sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367)〜[na:1.8.0_111] 在sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)〜[na:1.8.0_111]