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

[DOC] Remove NetworkPolicy for monitoring when setting observability is prometheus

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 1.25.0, 1.26.0, 1.27.0
    • Documentation
    • None
    • False
    • Hide

      None

      Show
      None
    • True

      In https://docs.openshift.com/container-platform/4.12/serverless/integrations/serverless-ossm-setup.html#serverless-ossm-enabling-serving-metrics_serverless-ossm-setup
      The docs asks uses to create NetworkPolicy "allow-from-openshift-monitoring-ns" but it should be generated automatically as SO code
      The docs should remove it.

      Here is the part to be removed:

      NOTE: I set affects Version/s to 1.25+ but it affects all released versions.

      [DRAFT]
      Just remove the instruction:

      2. Apply the following network policy to allow traffic from the Prometheus namespace:

      apiVersion: networking.k8s.io/v1
      kind: NetworkPolicy
      metadata:
        name: allow-from-openshift-monitoring-ns
        namespace: knative-serving
      spec:
        ingress:
        - from:
          - namespaceSelector:
              matchLabels:
                name: "openshift-monitoring"
        podSelector: {}
      ...
      

              kaldesai Kalyani Desai
              rhn-support-knakayam Kenjiro Nakayama (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: