Skip to content

Add cluster name to kiali URL

Marcel Chacon requested to merge mchacon-kiali-region into main

What

The code change updates the Kiali ingress hostname to include the cluster name. This will allow Kiali to be accessed using a more specific URL, which will make it easier for users to identify the correct Kiali instance they are trying to access.

Eg:

Why

Each kiali instance can connect to only one istio mesh. Therefore we need to make sure we are connecting to the right kiali instance to visualize the corresponding istio service mesh.

Related Issue: https://gitlab.com/gitlab-com/gl-infra/reliability/-/issues/24159

Flux Diff:

➜  components git:(mchacon-kiali-region) flux diff kustomization flux-components-kiali --path ./kiali
✓  Kustomization diffing...
► VirtualService/istio-system/kiali drifted

metadata.generation
  ± value change
    - 1
    + 2

spec.hosts.0
  ± value change
    - kiali.pre.gitlab.net
    + kiali.pre-gitlab-gke.pre.gitlab.net

⚠️ identified at least one change, exiting with non-zero exit code
Edited by Marcel Chacon

Merge request reports