我已经在 AWS k8 上安装了 Kasten k10,并尝试从服务端口转发访问仪表板。
仪表板出现网络错误,错误日志记录在仪表板 svc pod 和网关 pod 上。
以下是网关 pod 的日志
网关 pod 日志 -
“GET /k10/dashboardbff-svc/v0/licenseStatus HTTP/1.1” 200 - 0 321 68 64 “10.112.16.161” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,如 Gecko) Chrome/121.0.0.0 Safari/537.36” “aa945eae-16e9-46c4-a1a5-dcef95116844” “127.0.0.1:8080” “172.20.107.124:8000”
访问 [2024-02-14T17:04:38.709Z] “GET /k10/dashboardbff-svc/v0/bff/policycrs/kasten-io HTTP/1.1” 200 - 0 3 33 31 “10.112.16.161” “Mozilla/5.0(Windows NT 10.0;Win64;x64)AppleWebKit/537.36(KHTML,如 Gecko)Chrome/121.0.0.0 Safari/537.36” “05c54010-8936-4a4d-a0a6-ae7f16d1dc61” “127.0.0.1:8080” “172.20.107.124:8000”
2024-02-14 17:04:52 diagd 3.9.1 [P16TThreadPoolExecutor-0_0] 信息:B9D8651D-8E09-48D6-87DD-1C5C091D0904:127.0.0.1 “GET /metrics” 9ms 200 成功
访问 [2024-02-14T17:04:56.721Z] “POST /k10/dashboardbff-svc/v0/log HTTP/1.1” 201 - 262 0 11 8 “10.112.16.161” “Mozilla/5.0(Windows NT 10.0;Win64;x64)AppleWebKit/537.36(KHTML,如 Gecko)Chrome/121.0.0.0 Safari/537.36” “b9ccba0a-6430-4c2e-ad16-7935b9d219cc” “127.0.0.1:8080” “172.20.107.124:8000”
2024-02-14 17:05:04 diagd 3.9.1 [P16TAEW] 信息:-global-:
2024-02-14 17:05:04 diagd 3.9.1 [P16TAEW] 错误:错误错误错误从配置错误开始
仪表板 svc 日志 -
错误:{“message”:“Fluentbit 连接错误”,“function”:“kasten.io/k10/kio/log/hooks/fluentbit。(*Hook).handle”,“linenumber”:97,“file”:“kasten.io/k10/kio/log/hooks/fluentbit/fluentbit.go:97”,“cause”:{“message”:“Fluentbit 连接问题”,“function”:“kasten.io/k10/kio/log/hooks/fluentbit。(*Hook).dial”,“linenumber”:88,“file”:“kasten.io/k10/kio/log/hooks/fluentbit/fluentbit.go:88”,“cause”:{“message”:“dial tcp 172.20.139.224:24224:i/o 超时”}}}
日志消息已丢弃(缓冲区):{“File”:“kasten.io/k10/rest/srv/dashboardbffserver/kio_frontend_log_handler.go”,“Function”:“kasten.io/k10/rest/srv/dashboardbffserver。(*frontendLogHandler).log”,“Level”:“error”,“Line”:“34”,“Message”:“响应数据”,“Time”:“2024-02-14T17:05:39.097668169Z”,“cluster_name”:“e64de663-d66a-4f1e-8b3b-f24789bd70a0”,“data”:[“上游请求超时“],”主机名“:”dashboardbff-svc-74477d7749-lxwjz“,”来源“:”前端“,”会话ID“:”5f4294d0-e66c-4fc0-a864-3dab4a12efc9“,”版本“:”6.5.4“}
{"File":"kasten.io/k10/rest/srv/dashboardbffserver/kio_frontend_log_handler.go","Function":"kasten.io/k10/rest/srv/dashboardbffserver.(*frontendLogHandler).log","Level":"info","Line":30,"Message":"网络错误调试信息”、“时间”:“2024-02-14T17:05:39.09785307Z”、“cluster_name”:“e64de663-d66a-4f1e-8b3b-f24789bd70a0”、“数据”:[],“主机名”:“dashboardbff-svc-74477d7749-lxwjz”,“来源”:“前端”,“sessionId”:“5f4294d0-e66c-4fc0-a864-3dab4a12efc9”,“版本”:“6.5.4”}
{"File":"kasten.io/k10/rest/srv/dashboardbffserver/kio_frontend_log_handler.go","Function":"kasten.io/k10/rest/srv/dashboardbffserver.(*frontendLogHandler).log","Level":"error","Line":34,"Message":"Response状态”、“时间”:“2024-02-14T17:05:39.114611471Z”、“cluster_name”:“e64de663-d66a-4f1e-8b3b-f24789bd70a0”、“数据”:[504],“主机名”:“dashboardbff-svc-74477d7749-lxwjz”,“来源”:“前端”,“sessionId”:“5f4294d0-e66c-4fc0-a864-3dab4a12efc9”,“版本”:“6.5.4”}
{“File”:“kasten.io/k10/rest/srv/dashboardbffserver/kio_frontend_log_handler.go”,“Function”:“kasten.io/k10/rest/srv/dashboardbffserver.(*frontendLogHandler).log”,“Level”:“error”,“Line”:“34”,“Message”:“响应头”,“Time”:“2024-02-14T17:05:39.133562583Z”,“cluster_name”:“e64de663-d66a-4f1e-8b3b-f24789bd70a0”,“data”:[{“content-length”:“24”,“content-type”:“text/plain”,“date”:“2024 年 2 月 14 日星期三 17:05:38 GMT”,“服务器”:“envoy”}],“主机名”:“dashboardbff-svc-74477d7749-lxwjz”,“来源”:“前端”,“sessionId”:“5f4294d0-e66c-4fc0-a864-3dab4a12efc9”,“版本”:“6.5.4”}