yuswift 我使用了外置的ES服务,还是提示ES没有找到;
ks-installer配置文件:
...
common:
es:
elasticsearchDataReplicas: 1
elasticsearchDataVolumeSize: 20Gi
elasticsearchMasterReplicas: 1
elasticsearchMasterVolumeSize: 4Gi
elkPrefix: logstash
externalElasticsearchPort: 9200
externalElasticsearchUrl: 172.27.243.200
jaeger-query 报错:
[root@iZwz9go2hn3kv068o5wpdpZ ~]# kubectl logs -f jaeger-query-b478c5655-cpjn5 jaeger-query -n istio-system
2021/06/17 07:03:04 maxprocs: Leaving GOMAXPROCS=2: CPU quota undefined
{"level":"info","ts":1623913384.3584802,"caller":"flags/service.go:115","msg":"Mounting metrics handler on admin server","route":"/metrics"}
{"level":"info","ts":1623913384.358688,"caller":"flags/admin.go:115","msg":"Mounting health check on admin server","route":"/"}
{"level":"info","ts":1623913384.3587577,"caller":"flags/admin.go:121","msg":"Starting admin HTTP server","http-port":16687}
{"level":"info","ts":1623913384.3587716,"caller":"flags/admin.go:107","msg":"Admin server started","http-port":16687,"health-status":"unavailable"}
{"level":"fatal","ts":1623913389.3920815,"caller":"query/main.go:93","msg":"Failed to init storage factory","error":"failed to create primary Elasticsearch client: health check timeout: Head http://elasticsearch-logging-data.kubesphere-logging-system.svc:9200: dial tcp: lookup elasticsearch-logging-data.kubesphere-logging-system.svc on 10.96.0.10:53: no such host: no Elasticsearch node available","stacktrace":"main.main.func1\n\tgithub.com/jaegertracing/jaeger@/cmd/query/main.go:93\ngithub.com/spf13/cobra.(*Command).execute\n\tgithub.com/spf13/cobra@v0.0.3/command.go:762\ngithub.com/spf13/cobra.(*Command).ExecuteC\n\tgithub.com/spf13/cobra@v0.0.3/command.go:852\ngithub.com/spf13/cobra.(*Command).Execute\n\tgithub.com/spf13/cobra@v0.0.3/command.go:800\nmain.main\n\tgithub.com/jaegertracing/jaeger@/cmd/query/main.go:135\nruntime.main\n\truntime/proc.go:203"}