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

Namespace change in CRD result in duplicated ebpf agents

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • netobserv-1.2
    • netobserv-ocp4.12
    • eBPF
    • None
    • False
    • None
    • False
    • Hide
      Previously, after changing the `namespace` value from a FlowCollector spec, eBPF Agent pods running in the previous namespace would not get deleted as appropriate.
      With this patch, the pods running in the previous namespace are deleted as appropriate.
      Show
      Previously, after changing the `namespace` value from a FlowCollector spec, eBPF Agent pods running in the previous namespace would not get deleted as appropriate. With this patch, the pods running in the previous namespace are deleted as appropriate.
    • NetObserv - Sprint 230

      Steps to reproduce:

      Create flowCollector with default values

      > netobserv-ebpf-agent pods are created in netobserv-privileged

      Update CRD namespace to netobserv2

      > new netobserv-ebpf-agent pods are created in netobserv2-privileged namespace

      > old pods are not deleted

      We should delete old pods to avoid duplicated (or keep previous namespace ?) 

              jtakvori Joel Takvorian
              jpinsonn@redhat.com Julien Pinsonneau
              Amogh Rameshappa Devapura Amogh Rameshappa Devapura
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: