Uploaded image for project: 'Knative Serving'
  1. Knative Serving
  2. SRVKS-1062

Enable Logging and Observability configuration for net-kourier via the operator

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Major Major
    • 1.30.0
    • None
    • None
    • None

      From Slack
      Hi guys, seems like putting net-kourier-controller in knative-serving-ingress leads to, reading the config-*  (including config-logging) from SYSTEM_NAMESPACE (which is knative-serving-ingress instead of knative-serving). The only way to enable the debug log seems to be:

       

      cat <<-EOF | oc apply -f -
      apiVersion: v1
      data:
        loglevel.net-kourier-controller: debug
      kind: ConfigMap
      metadata:
        labels:
          app.kubernetes.io/component: logging
          app.kubernetes.io/name: knative-serving
          app.kubernetes.io/version: 1.7.0
        name: config-logging
        namespace: knative-serving-ingress
      EOF 

       

      We cannot configure that from the operator using https://issues.redhat.com/browse/SRVCOM-2451.

      I think we should fix it for config-logging and config-observability ...
      (Ideally we should move net-kourier-controller  into knative-serving  namespace but it is more difficult, I think.)

              rhn-support-knakayam Kenjiro Nakayama (Inactive)
              rh-ee-rlehmann Reto Lehmann (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: