【问题标题】:Issue in deploying spring cloud dataflow in Rancher在 Rancher 中部署 Spring Cloud 数据流的问题
【发布时间】:2020-07-30 06:53:50
【问题描述】:

我正在尝试在 Rancher 中部署 Spring Cloud 数据流。我正在使用 this 链接中提到的 yaml 文件进行部署。

在 Rancher 中部署船长服务器后。我在日志中收到以下警告消息:

从服务器获取配置:http://localhost:8888 2020-07-30 06:34:16.323 INFO 1 --- [nio-7577-exec-2] c.c.c.ConfigServicePropertySourceLocator:Url 上的连接超时异常 - http://localhost:8888。如果可用,将尝试下一个 url 2020-07-30 06:34:16.323 WARN 1 --- [nio-7577-exec-2] c.c.c.ConfigServicePropertySourceLocator :

无法定位 PropertySource: I/O error on GET request for "http://localhost:8888//kubernetes": Connection denied (Connection denied);嵌套异常是 java.net.ConnectException: Connection denied (Connection denied)。

我假设 Rancher 中的负载均衡器由于这个警告而没有被配置。

【问题讨论】:

    标签: spring kubernetes spring-cloud-dataflow rancher


    【解决方案1】:

    您在案例中看到的连接错误可以忽略,因为它不应该无法启动服务器(如果它无法连接到 Spring Cloud Config 服务器 - 使用默认设置)。

    您还可以通过将 spring.cloud.config.enabled 设置为 false 来禁用 Spring Cloud 配置。

    【讨论】:

      猜你喜欢
      • 2021-09-08
      • 2016-10-01
      • 1970-01-01
      • 2020-08-30
      • 2023-03-22
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多