ACM Observability
Configure Kiali to use Red Hat Advanced Cluster Management (ACM) and the multicluster observability add-on for centralized, federated mesh metrics in multi-cluster OpenShift environments.
Kiali has support for Istio multi-cluster installations.

Before proceeding with the setup, ensure you meet the requirements.
Aggregated metrics and traces. Kiali needs a single endpoint for metrics and a single endpoint for traces where it can consume aggregated metrics/traces across all clusters. There are many ways to aggregate metrics/traces such as Prometheus federation or using OTEL collector pipelines but setting these up are outside of the scope of Kiali.
Anonymous, OpenID or OpenShift authentication strategy. The unified multi-cluster configuration currently only supports anonymous, OpenID and OpenShift authentication strategies. In addition, current support varies by provider for OpenID across clusters.
The unified Kiali multi-cluster setup requires the Kiali Service Account (SA) to have read access to each Kubernetes cluster in the mesh. This is separate from the user credentials that are required when a user logs into Kiali. The user credentials are used to check user access to a namespace and to perform write operations. In anonymous mode, the Kiali SA is used for all operations. Write access need not be required if you only want to give Kiali “view-only” capabilities. To give the Kiali SA access to each remote cluster, a kubeconfig with credentials needs to be created and mounted into the Kiali pod. While the location of Kiali in relation to the controlplane and dataplane may change depending on your Istio deployment model, the requirements will remain the same.
Although not required for some deployment models, it is recommended that the Kiali namespace and instance name be consistent across all clusters, including remote clusters without a Kiali server deployed. If not using default values, the following Kiali CR settings should typically have consistent values:
spec.deployment.namespacespec.deployment.instance_nameIf you would like to keep a separate Kiali per cluster and do not want to give Kiali access to remote clusters, you can still manually specify the remote cluster and remote Kiali URLs in the Kiali configuration and the UI will try to provide links to the remote Kiali where appropriate. See below for more details.
Create a SA and its associated resources on the remote cluster. In order for Kiali to access a remote cluster, you first must create a SA and its role/role binding with the proper permissions. There are three ways to do this:
Kiali Operator (recommended): Deploy the Kiali Operator on the remote cluster and create a Kiali CR with spec.deployment.remote_cluster_resources_only: true. The Operator will create and manage the SA, role, and role binding. Deleting the Kiali CR will remove these resources.
Kiali Server helm chart: Use the kiali-server helm chart with --set deployment.remote_cluster_resources_only=true.
kiali-prepare-remote-cluster.sh script: The script grants cluster-wide access with --process-remote-resources true. For per-namespace access, create the remote RBAC with the Operator or Server Helm Chart. You can still use the script to create the secret in step 2.
If using the openshift auth strategy, there are additional OpenShift-specific requirements for this step. See the OpenShift multi-cluster documentation before proceeding.
Create a remote cluster secret. Kiali needs a kubeconfig stored in a Kubernetes secret in order to access the remote cluster. This secret contains the SA token from step 1 and the remote cluster’s connection info. A remote cluster secret will look something like this:
apiVersion: v1
kind: Secret
metadata:
name: my-cluster-name
labels:
kiali.io/multiCluster: "true"
stringData:
my-cluster-name: |
apiVersion: v1
kind: Config
preferences: {}
current-context: my-cluster-name
contexts:
- name: my-cluster-name
context:
cluster: my-cluster-name
user: my-cluster-name
users:
- name: my-cluster-name
user:
token: <...the long remote cluster SA token string goes here...>
clusters:
- name: my-cluster-name
cluster:
server: <...the URL to your remote cluster goes here...>
certificate-authority-data: <...the long CA data goes here...>
You can place multiple kubeconfigs in a single secret, each under its own key in stringData where the key name must be the name of the remote cluster. The single clusters entry inside each kubeconfig must also be named the same as its stringData key: Kiali registers the cluster under the key name, and a kubeconfig whose internal cluster name differs (for example, a kubeconfig extracted from your own ~/.kube/config whose cluster entry carries an API-server-derived name) is treated as a broken registration and skipped, with an error logged at startup. Name the secret kiali-multi-cluster-secret for the added benefit of having the operator automatically detect this secret without having to configure anything within the Kiali CR. If you do name the secret kiali-multi-cluster-secret you also can add to it the label kiali.io/kiali-multi-cluster-secret="true" which will tell the operator to restart the Kiali Server pod automatically when the secret changes thus allowing the server to pick up the changes immediately. A multi-cluster secret with two clusters named my-cluster-name and my-other-cluster would look like this:
apiVersion: v1
kind: Secret
metadata:
name: kiali-multi-cluster-secret
labels:
kiali.io/kiali-multi-cluster-secret: "true"
stringData:
my-cluster-name: |
apiVersion: v1
kind: Config
preferences: {}
current-context: my-cluster-name
contexts:
- name: my-cluster-name
context:
cluster: my-cluster-name
user: my-cluster-name
users:
- name: my-cluster-name
user:
token: <...the long remote cluster SA token string goes here...>
clusters:
- name: my-cluster-name
cluster:
server: <...the URL to your remote cluster goes here...>
certificate-authority-data: <...the long CA data goes here...>
my-other-cluster: |
apiVersion: v1
kind: Config
preferences: {}
current-context: my-other-cluster
contexts:
- name: my-other-cluster
context:
cluster: my-other-cluster
user: my-other-cluster
users:
- name: my-other-cluster
user:
token: <...the long remote cluster SA token string goes here...>
clusters:
- name: my-other-cluster
cluster:
server: <...the URL to your remote cluster goes here...>
certificate-authority-data: <...the long CA data goes here...>
The verify-kiali-permissions.sh script can be used to check that your remote cluster secret provides the necessary permissions that Kiali needs to access the remote cluster. See the comments at the top of the script and its --help output for details on how to run it, but here’s an example:
curl -L -o verify-kiali-permissions.sh https://raw.githubusercontent.com/kiali/kiali/master/hack/istio/multicluster/verify-kiali-permissions.sh
chmod +x verify-kiali-permissions.sh
./verify-kiali-permissions.sh --kubeconfig-secret istio-system:kiali-multi-cluster-secret:my-cluster-name --kiali-version v2.10.0
It is up to you how you want to create and manage the token and secret, however, you can use the kiali-prepare-remote-cluster.sh script (with the --process-kiali-secret true option) to simplify this process for you.
The kiali-prepare-remote-cluster.sh script can be used to:
and/or,
In order to run this script you will need adequate permissions configured in your local kubeconfig for both the cluster on which Kiali is deployed and the remote cluster.
For example:
curl -L -o kiali-prepare-remote-cluster.sh https://raw.githubusercontent.com/kiali/kiali/master/hack/istio/multicluster/kiali-prepare-remote-cluster.sh
chmod +x kiali-prepare-remote-cluster.sh
./kiali-prepare-remote-cluster.sh --kiali-cluster-context east --remote-cluster-context west --view-only false --process-kiali-secret true --process-remote-resources true
If you used the Kiali Operator (or helm chart) to create the remote cluster resources (step 1 above) and are using this script only to create the remote cluster secret (--process-remote-resources false --process-kiali-secret true), you must pass --kiali-resource-name set to the name of the Service Account created by the Operator. The Operator names the SA <instance_name>-service-account (e.g. kiali-service-account for the default instance name kiali). For example:
./kiali-prepare-remote-cluster.sh \
--kiali-cluster-context east \
--remote-cluster-context west \
--kiali-resource-name kiali-service-account \
--process-remote-resources false \
--process-kiali-secret true \
--view-only false
Specifying the remote cluster name: The script derives the remote cluster name from the kubeconfig context, which may contain characters not valid in a Kubernetes secret key (e.g. colons in OpenShift-generated context names). Always pass --remote-cluster-name explicitly, set to the name Istio uses for the remote cluster, to avoid this issue:
./kiali-prepare-remote-cluster.sh \
... \
--remote-cluster-name west
Use the option --help for additional details on using the script to create and delete the remote cluster resources and secrets.
Kiali matches trace telemetry’s cluster attribution (istio.cluster_id) against Kiali’s cluster names. These must match the Istio cluster IDs, which they do by default (Kiali derives its home cluster name from istiod’s cluster ID). If you explicitly configure kubernetes_config.cluster_name or deployment.cluster_name_overrides with names that differ from the Istio cluster IDs, the namespaces the telemetry attributes to the misnamed clusters can no longer be matched, which makes the affected traces inaccessible. A trace can still be authorized through another span that identifies a namespace the user can access: in the identified cluster when cluster attribution is present, or in any accessible cluster when it is absent. A cluster-name mismatch therefore does not hide every trace, but it can make traces inaccessible when no participating namespace can be authorized.
Configure Kiali. The Kiali Operator needs to know about the remote cluster secrets so it can mount them into the Kiali Server pod. There are three ways to do this:
Auto-discovery by label (default): The Kiali Operator will automatically detect any secret in the Kiali deployment namespace that has the label kiali.io/multiCluster="true". The secrets created by the kiali-prepare-remote-cluster.sh script are labeled this way and will be auto-detected with no additional Kiali CR configuration needed.
Explicit configuration: In the Kiali CR you can explicitly specify each remote cluster secret rather than rely on auto-discovery.
Single combined secret: Create a single secret named kiali-multi-cluster-secret in the Kiali deployment namespace containing kubeconfigs for all remote clusters, each under its own top-level key in stringData where the key is the cluster name. If you also label this secret with kiali.io/kiali-multi-cluster-secret="true", the Kiali Operator will auto-detect changes and roll out a new Kiali Server pod automatically.
Do not use the label kiali.io/kiali-multi-cluster-secret="true" on any other secret not specifically named kiali-multi-cluster-secret. The operator will not have permission to see that secret and errors will occur if you attempt this.
If you have multiple Kiali Servers deployed in the same namespace, and you want to use that single secret named kiali-multi-cluster-secret, all Kiali Servers in that namespace are required to use that secret. If you want each Kiali Server to talk to a different set of clusters, you must not use the kiali-multi-cluster-secret secret.
Once the Kiali Operator knows about the remote cluster secrets (either through auto-discovery or through explicit configuration) it will mount them into the Kiali Server pod, putting Kiali in “multi-cluster” mode. Kiali will begin using those credentials to communicate with the other clusters in the mesh.
Configure user access. When using anonymous mode, the Kiali SA credentials will be used to display mesh info to the user. When not using anonymous mode, Kiali will check the user’s access to each configured cluster’s namespace before showing the user any resources from that namespace.
spec.auth.openshift.impersonation.enabled: true), users log in once to the home cluster and Kiali uses API impersonation for all other clusters. See the OpenShift impersonation documentation for setup. Without impersonation mode, see the OpenShift multi-cluster documentation for per-cluster login setup.In multi-tenant multi-cluster environments where users have broad LIST permission but restricted per-namespace GET permission, consider enabling kiali_feature_flags.authz.require_namespace_get to enforce strict per-namespace visibility.
Some Kiali views combine data from all clusters at once — for example the ztunnel dashboard and aggregate metrics. For those views, the user must have access to the namespace in every cluster where it exists; otherwise the request is denied. A user who has not logged in to (has no session for) a remote cluster where the namespace exists will also be denied these views. Per-namespace views (workload, app and service detail pages) only require access on the cluster being viewed.
A user who has not logged in to every cluster still gets working views — they just see less of the mesh. Views scoped to a single cluster (lists, detail pages) show data only from the clusters the user has a session for. In the traffic graph, nodes in a cluster without a session can still appear (the metrics store spans the whole mesh) but are shown without their Istio configuration decoration (for example, virtual service or circuit breaker badges), because Kiali cannot query that cluster’s configuration. Cluster-scoped views that name a cluster the user has no session for (for example, the Istio config list or the mesh TLS status) return empty results rather than an error. To see the whole mesh, log in to every cluster.
For those same combined views, configure discovery selectors so that the mesh’s namespaces are selected in every cluster where they exist.
Optional - Narrow metrics to mesh. If your unified metrics store also contains data outside of your mesh, you can limit which metrics Kiali will query for by setting the query_scope configuration.
That’s it! From here you can login to Kiali and manage your mesh across all clusters from a single Kiali instance.
To remove a cluster from Kiali, you must delete the associated remote cluster secret. If you originally created the remote cluster secret via the kiali-prepare-remote-cluster.sh script, run that script again with the same command line options as before but also pass in the command line option --delete true.
Don’t forget to remove the resources (such as the SA and its role/role binding) from the remote cluster. If you created these resources with the Kiali Operator, simply delete the Kiali CR from the remote cluster and these resources will be removed. If you used the kiali-prepare-remote-cluster.sh script to create these resources, use it to remove these resources.
After the remote cluster secret has been removed, you must then tell the Kiali Operator to re-deploy the Kiali Server so the Kiali Server no longer attempts to access the now-deleted remote cluster secret. If you are using auto-discovery, you can tell the Kiali Operator to do this by touching the Kiali CR. The easiest way to do this is to simply add or modify any annotation on the Kiali CR. It is recommended that you use the kiali.io/reconcile annotation as described here. If you did not rely on auto-discovery but instead explicitly specified each remote cluster secret in the Kiali CR, then you simply have to remove the now-deleted remote cluster secret’s information from the Kiali CR’s clustering.clusters section. Finally, if you are using the single kiali-multi-cluster-secret to define all of your remote clusters (and you labeled that secret with kiali.io/kiali-multi-cluster-secret="true"), then you do not have to do anything other than delete that one secret. The Kiali Operator will detect that the secret has been removed and will re-deploy the Kiali Server automatically.
The Kiali Service Account’s access to a remote cluster can change after Kiali is running — an administrator revokes its RBAC, a Role or namespace is deleted, or the credentials expire. Kiali is designed to keep serving the rest of the mesh when that happens:
pods is removed): the cluster is skipped. The mesh, graph, and list and status views keep rendering with no data for that cluster; a detail view of an object on that cluster (a single workload, app, service or configuration object) shows an error instead — no meaningful empty entity exists to serve. Kiali does not need a restart to recover: a background probe re-checks the cluster’s access roughly every 30 seconds, and its data returns on its own once access is restored. A running server notices the revocation when its background connections to the cluster are re-established, which can take a few minutes; restarting the Kiali Server detects it immediately, before any request is served.cluster_wide_access is false, where access is per-namespace): the cluster stays healthy and keeps serving its other namespaces; the affected namespace’s data is hidden rather than shown. The same detection delay applies — the data is hidden once Kiali’s connections to that namespace are re-established, or immediately after a restart. It recovers the same way when the namespace’s access is restored.Note that a remote cluster being skipped is a Kiali Service Account problem, not a user access problem: users whose own credentials grant access to the remote cluster may still see its namespaces in the namespace list, with no data behind them, until Kiali’s access is restored. During a network outage, cached views can show the last data Kiali received. Once Kiali confirms a revocation, it also hides cached health for the affected namespaces. The home cluster — the cluster Kiali runs on — is never skipped: if its access is revoked, requests fail with an error (HTTP 503) until access is restored.
To diagnose a cluster that disappeared from the UI, look for these messages in the Kiali Server log:
| Log message | Meaning |
|---|---|
Confirmed revocation: Kiali can no longer read cluster [name]. Removing the cluster's informers | A revocation was just confirmed; the cluster’s cached data is being discarded and the cluster is now skipped |
Kiali lost access to [resource] in cluster [name] | The cluster’s access was confirmed revoked; it is being skipped |
Kiali can read cluster [name] again | Access was restored; the cluster’s data will return |
Kiali can still read [resource] in cluster [name]. Keeping the cache | A suspected revocation was checked and disproved; the cluster keeps serving |
Access to [resource] in cluster [name] was revoked in namespaces [...] | A partial, per-namespace revocation; those namespaces’ data is hidden |
Kiali can read the partially-revoked namespaces of cluster [name] again | A partially-revoked namespace recovered |
Remote cluster [name] rejected Kiali's credentials; skipping the cluster | The cluster’s credentials are invalid; it is skipped until the secret is fixed and the Kiali Server is restarted |
Remote cluster [name] is unreachable or unavailable at startup | The cluster could not be reached at startup; it is kept configured and its data will appear once it is reachable again |
no cache is configured for it. The cluster is likely misconfigured | The cluster name does not match a mounted credential — a configuration error |
Kiali is designed so that a slow or unreachable remote cluster degrades the console rather than breaking it: startup is not blocked by remotes that cannot be reached, and a request that must wait on an unreachable remote fails within a bounded time instead of hanging. If your environment makes those bounds too tight or too loose, a few settings are worth knowing about:
Slow remote clusters (for example, connected over a WAN): By default Kiali allows 10 seconds for a live Kubernetes API request and 2 seconds to establish a connection for a remote cache watch. An open pod log stream can continue beyond the request timeout. Remote clusters that legitimately take longer than that to answer will appear to have missing data, because requests against them fail fast rather than wait. If your link to a remote cluster is genuinely that slow, raise the bounds in the kiali_internal.kubernetes_client section of the Kiali CR:
spec:
kiali_internal:
kubernetes_client:
dial_timeout: "2s" # remote cache connection setup
request_timeout: "10s" # live API request budget
discovery_timeout: "10s" # REST mapper discovery round trips
cluster_probe_timeout: "10s" # credentials/reachability probe
pod_log_header_timeout: "10s" # pod log stream establishment
port_forward_establish_timeout: "10s" # port-forward handshake
oauth_config_timeout: "60s" # OAuth config fetch on the login path
The same section also bounds the mesh rebuild for very large meshes (mesh_resolve_timeout, 60 seconds), the console’s capability discovery in one /api/config page load (capability_discovery_timeout, 5 seconds — raise it only if a proxy in front of Kiali allows longer page loads), and the startup wait for remote caches to sync (remote_cache_sync_timeout, 45 seconds — it must stay inside the startup probe’s budget, so raise the probe budget alongside it).
If a healthy remote cluster is missing from the namespace picker, fetching all accessible namespaces on that cluster has a separate 15-second budget. For clusters that need longer, raise namespace_set_compute_timeout in the same section. Set a timeout to 0 to disable that Kiali limit. A remote that fails at the network level is not re-probed by requests at all: Kiali marks it unreachable and a background prober re-checks it roughly every 30 seconds, so its data returns on its own (within about a probe interval) once the cluster answers again — no restart and no per-request cost. Until then a remote that goes down stays out of the namespace picker, and requests that name the cluster return HTTP 503 (temporarily unavailable) rather than an access denial. Note that raising the timeouts also makes genuinely dead clusters take longer to fail, so only raise them as far as your slowest healthy cluster requires. These are advanced settings — they are not part of the documented CRD schema and are subject to change.
Very large clusters: each cluster’s data is served from background caches whose first population can be slow on a very large cluster. A read waits for that first population for at most 30 seconds; if the Kiali Server log shows kube cache read timeouts against a large but healthy cluster, raise kiali_internal.cache_read_timeout in the Kiali CR.
Slow Kiali startup: the Kiali pod must report healthy to its startup probe within a fixed budget (90 seconds by default). Startup is not held back by unreachable remote clusters, but a very large or slow home cluster can still take time. If the kubelet restarts the Kiali pod during startup, raise the startup probe’s failure_threshold.
If you would like to keep a separate Kiali per cluster or you do not want to give Kiali access to remote clusters, you can still manually specify the remote clusters and remote Kiali URLs in the Kiali configuration and the Kiali UI will try to provide links to the remote Kiali UIs where appropriate.
For example, if there is a Kiali on the east cluster that does not have access to the west cluster and a Kiali on the west cluster that does not have access to the east cluster, you can add the following to your Kiali configurations to have each Kiali generate links to the Kiali for that cluster.
East Kiali configuration
clustering:
clusters:
name: west
kiali_urls:
cluster_name: west
instance_name: kiali
namespace: istio-system
url: https://kiali-external.west.example.com
West Kiali configuration
clustering:
clusters:
name: east
kiali_urls:
cluster_name: east
instance_name: kiali
namespace: istio-system
url: https://kiali-external.east.example.com
Configure Kiali to use Red Hat Advanced Cluster Management (ACM) and the multicluster observability add-on for centralized, federated mesh metrics in multi-cluster OpenShift environments.
Deploy Kiali on a Management Cluster.