rhtyd commented on a change in pull request #4639:
URL: https://github.com/apache/cloudstack/pull/4639#discussion_r568498231



##########
File path: 
plugins/integrations/kubernetes-service/src/main/java/com/cloud/kubernetes/cluster/utils/KubernetesClusterUtil.java
##########
@@ -218,7 +221,10 @@ public static boolean 
isKubernetesClusterServerRunning(final KubernetesCluster k
         boolean k8sApiServerSetup = false;
         while (System.currentTimeMillis() < timeoutTime) {
             try {
-                String versionOutput = IOUtils.toString(new 
URL(String.format("https://%s:%d/version";, ipAddress, port)), 
StringUtils.getPreferredCharset());
+                URL url = new URL(String.format("https://%s:%d/version";, 
ipAddress, port));
+                HttpsURLConnection con = 
(HttpsURLConnection)url.openConnection();

Review comment:
       should we configure it to ignore ssl cert validation?




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to