Replies: 1 comment 1 reply
-
I found a workaround: If something is scheduled for deletion but stuck in var pvc = await kube.ReadNamespacedPersistentVolumeClaimAsync("some-claim", "mynamespace");
if(pvc.Metadata.DeletionTimestamp.HasValue) {
// Do something when deletion is scheduled
} |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When I have a PVC which is "terminating", when I do a
ReadNamespacedPersistentVolumeClaimAsync
or...VolumeClaimStatusAsync
(What is the difference by the way?), I still getBound
as its status phase.This is also the case when I manually
kubectl get pvc/myclaim -o yaml
.I only see
Terminating
when Idescribe
the PVC.Is it somehow possible to get this information with the C# client?
Beta Was this translation helpful? Give feedback.
All reactions