You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describing Persistent Volume Claims displays a "Used By" field which can be used to determine if any pods are referencing the PVC (and hence the dataset).
We can use the same logic used by kubectl describe - i.e. loop through the pods in the namespace and add the name of the pods which have a PVC annotation for the dataset/PVC name to a list. if list is not empty, dataset cannot be detected.
Also, use this logic to populate a similar used-by field for the dataset.
Relates to #341
More description to follow
The text was updated successfully, but these errors were encountered: