operating icon indicating copy to clipboard operation
operating copied to clipboard

Bug: deleting CollaSet is blocked

Open wu8685 opened this issue 1 year ago • 0 comments

Minimal reproduce step

There is a probability of being blocked when deleting a CollaSet with at lease one Pod.

Following codes may have problems:

  1. When ownedIDs is empty, UpdateToPodContext will do nothing, instead of cleaning the ResourceContext.
  2. CollaSet also need to watch resource ResourceContext.

What did you expect to see?

PodContext needs to be clean up, and CollaSet will then be deleted successfully.

What did you see instead

PodContext has not been deleted, holding Pod IDs, so that CollaSet will not be deleted.

What is your KusionStack components and its version?

v0.3.0

wu8685 avatar Apr 03 '24 12:04 wu8685