Uploaded image for project: 'Network Observability'
  1. Network Observability
  2. NETOBSERV-1934

Network Policy blocks FlowMetrics API

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • netobserv-1.8
    • netobserv-1.7
    • None
    • False
    • None
    • False
    • NetObserv - Sprint 261

      When FlowCollector.networkPolicy is enabled, hence installing a network policy on netobserv namespace, is then becomes impossible to use the FlowMetrics API, as the netpol blocks calls to the validation webhook:

      $ oc apply -f config/samples/flowmetrics/flows_with_flags_per_source.yaml 
      Error from server (InternalError): error when creating "config/samples/flowmetrics/flows_with_flags_per_source.yaml": Internal error occurred: failed calling webhook "flowmetricvalidationwebhook.netobserv.io": failed to call webhook: Post "https://netobserv-webhook-service.netobserv.svc:443/validate-flows-netobserv-io-v1alpha1-flowmetric?timeout=10s": context deadline exceeded
       

            jtakvori Joel Takvorian
            jtakvori Joel Takvorian
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: