Uploaded image for project: 'Maistra'
  1. Maistra
  2. MAISTRA-2250 Issues in MEC
  3. MAISTRA-2254

MEC: Implement garbage collection

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Major Major
    • maistra-2.1.0
    • None
    • wasm
    • None
    • Sprint 2, Sprint 3, Sprint 4, Sprint 5, Sprint 6, Sprint 7

      MEC currently creates Image Streams but never remove them - e.g., when the last ServiceMeshExtension resource that references an image stream is removed.

      If the ImageStream is in the same namespace as the SME, then adding an OwnerReference should suffice. If not, I'm not sure what the correct solution is. I don't think adding a finalizer and having istiod manage cleanup is the correct approach, as if istiod is deleted (e.g. uninstall), it could cause deletion of namespaces to hang, while waiting for the finalizers to be released.

              jsantana@redhat.com Jonh Wendell
              jsantana@redhat.com Jonh Wendell
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: