Specific hostname for Prometheus or Kiali on OpenShift Service Mesh not applied

Solution Verified - Updated -

Issue

  • We are trying to specify the hostname for Prometheus, Grafana, Jaeger and Kiali in Service Mesh but the changes according to AddonsConfig have no effect.
  • Specific hostname for Prometheus or Kiali on OpenShift Service Mesh not applied.
  • The below SMCP specification is not applied as the hostname remain default even though they are specified otherwise.

    $ oc get smcp test -o json | jq '.spec'
    {
      "addons": {
        "grafana": {
          "enabled": true,
          "install": {
            "service": {
              "ingress": {
                "enabled": true,
                "hosts": [
                  "grafana.example.com"
                ]
              }
            }
          }
        },
        "jaeger": {
          "install": {
            "ingress": {
              "enabled": true
            },
            "storage": {
              "type": "Memory"
            }
          },
          "name": "jaeger-test"
        },
        "kiali": {
          "enabled": true,
          "install": {
            "service": {
              "ingress": {
                "enabled": true,
                "hosts": [
                  "kiali.example.com"
                ]
              }
            }
          },
          "name": "kiali-test"
        },
        "prometheus": {
          "enabled": true,
          "install": {
            "service": {
              "ingress": {
                "enabled": true,
                "hosts": [
                  "prom.example.com"
                ]
              }
            }
          }
        }
      },
      "policy": {
        "type": "Istiod"
      },
      "profiles": [
        "default"
      ],
      "telemetry": {
        "type": "Istiod"
      },
      "tracing": {
        "sampling": 10000,
        "type": "Jaeger"
      },
      "version": "v2.0"
    }
    

Environment

  • Red Hat OpenShift Container Platform 4
  • Red Hat OpenShift Service Mesh 2.x

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