Kiali in Red Hat OpenShift Service Mesh cannot detect application traffic if alternative labels different than "app" and "version" are used.

Solution Verified - Updated -

Issue

Visualization in Kiali does not work when resources are tagged using labels different to the default ones, which are 'app' and 'version'.

From Upstream Kiali Github Examples:

metadata:  
  labels:
    app: music-store-backend  <-- The label default name 'app' can't be changed, Kiali will search for this specific label.
    version: v1  <-- The label default name 'version' can't be changed, Kiali will search for this specific label.
  name: music-store-backend-v1
  namespace: music-store  
spec:
  replicas: 1  
  selector:
    matchLabels:
      app: music-store-backend
      version: v1
  strategy:

Environment

  • Red Hat Openshift Container Platform v4.x.
  • Red Hat Openshift Service Mesh

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content