-
Notifications
You must be signed in to change notification settings - Fork 474
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting "Cannot load the graph: cluster [kubernetes] is not found or is not accessible for Kiali" with certain prometheus configurations. #7305
Comments
Hi @deuxailes , is there a second cluster "kubernetes" configured in your environment? |
There may still be a bug here. It looks like the service entry appender is trying to use the cluster from the node directly from: kiali/graph/telemetry/istio/appender/service_entry.go Lines 109 to 115 in a55c5c5
and kiali/graph/telemetry/istio/appender/service_entry.go Lines 94 to 100 in a55c5c5
I think most appenders check if the node is accessible first before trying to use the cluster right @jshaughn? It'd be good not to error out when a node's cluster from telemetry doesn't match what kiali is configured with but rather log a warning or something. |
Right, there is a bug in appenders, also in Workload entries: |
@hhovsepy @nrfox Thanks for the speedy replies. To add more context, we utilize Azure Monitor Workspace as our hosted Prometheus server. We utilize Azure APIM to forward requests to the Query endpoint of the AMW with the proper /api/v1 path appended. All of our environments send prometheus logs to the AMW instance. |
Describe the bug
Trying to get Kiali to work with my AKS cluster with the kube-prometheus-stack Helm chart.
Currently, features revolving around Istio work. It seems like Kiali is having a hard time picking up Prometheus info.
Getting "Cannot load the graph: cluster [kubernetes] is not found or is not accessible for Kiali" when attempting to open the traffic graph of Kiali.
Getting this unhelpful error message in the logs of Kiali:
Expected Behavior
A traffic graph, showing applications, etc.
What are the steps to reproduce this bug?
Environment
Learn about how to determine versions here.
KialiCR Values:
The text was updated successfully, but these errors were encountered: