-
Task
-
Resolution: Unresolved
-
Normal
-
None
-
1.25.0, 1.26.0, 1.27.0
-
None
-
False
-
-
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: {}
...