|
|
|
@@ -522,7 +522,7 @@ public class K8sClientUtil { |
|
|
|
} catch (ApiException e) { |
|
|
|
throw new RuntimeException("创建pod异常:" + e.getResponseBody()); |
|
|
|
} catch (Exception e) { |
|
|
|
throw new RuntimeException("创建pod系统异常:", e); |
|
|
|
throw new RuntimeException("创建pod系统异常:" + e.getMessage()); |
|
|
|
} |
|
|
|
|
|
|
|
V1Service service = createService(namespace, podName + "-svc", port, selector); |
|
|
|
|