【发布时间】: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