--
You received this message because you are subscribed to the Google Groups "kubernetes-sig-storage" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-sig-st...@googlegroups.com.
To post to this group, send email to kubernetes-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubernetes-sig-storage/9677fd3a-90ac-4f1e-ba91-fb11f3c974f2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Kubernetes does not have a concept of cancelling a delete. Can you explain what you are trying to do?
On Sun, Jul 29, 2018, 8:35 PM Pippin Wallace <nip...@gmail.com> wrote:
I apologize in advance for asking here, but where should I seek assistance for how to "cancel/undo/rollback" a PV delete?--I have asked on stackoverflow and entered a case with GCP but with over 60 PV's in a "Status: Terminating (lasts 4h)" the suggestions are not practical.Regards and apologizes again,Pippin
You received this message because you are subscribed to the Google Groups "kubernetes-sig-storage" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-sig-storage+unsub...@googlegroups.com.
Hello Tim.First, thank you very much for replying. You are one of the top k8s leaders and I grateful for your contributions!What I did was try to shoot my foot off by thinking that PV's where namespace scoped like PVC so I ran a # kubectl delete pv -n <namespace> and it tried to nuke them all.So at this point I have all my PV's in a "Status: Terminating" but since they still have bound PVC's they are not being deleted.What I would love to do is get the PV's back to a sane state with minimal data lose if possible.Kind regards,Pippin
On Sunday, July 29, 2018 at 10:17:40 PM UTC-6, Tim Hockin wrote:
Kubernetes does not have a concept of cancelling a delete. Can you explain what you are trying to do?
On Sun, Jul 29, 2018, 8:35 PM Pippin Wallace <nip...@gmail.com> wrote:
I apologize in advance for asking here, but where should I seek assistance for how to "cancel/undo/rollback" a PV delete?--I have asked on stackoverflow and entered a case with GCP but with over 60 PV's in a "Status: Terminating (lasts 4h)" the suggestions are not practical.Regards and apologizes again,Pippin
You received this message because you are subscribed to the Google Groups "kubernetes-sig-storage" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-sig-st...@googlegroups.com.
To post to this group, send email to kubernetes-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubernetes-sig-storage/9677fd3a-90ac-4f1e-ba91-fb11f3c974f2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "kubernetes-sig-storage" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-sig-st...@googlegroups.com.
To post to this group, send email to kubernetes-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubernetes-sig-storage/a581c6f3-8b62-4de7-b433-200a6d6ab2d2%40googlegroups.com.
Yikes! Boy, we should really make that safer. Maybe the API and/or CLI should fail somehow if namespace is specified for non-namespaced operations.That said, there isn't really an undo. It's not part of the object lifecycle, as currently defined. Your only guaranteed option, probably, is to make new PVs as clones of the current ones (did you say which cloud?). This is probably something you have to do manually, though it may get easier in the future.The problem is that, while you have a finalizer blocking progress, we don't know generically that no other finalizers have already run. Something else might have been first and done some non-reversible operation. So we can only go forward or stop, but not backwards.I am sorry to say this. It seems like an easy landmine to step on. I didn't even know we supported bulk-delete like this - maybe we just shouldn't?Tim
On Sun, Jul 29, 2018, 9:25 PM Pippin Wallace <nip...@gmail.com> wrote:
Hello Tim.First, thank you very much for replying. You are one of the top k8s leaders and I grateful for your contributions!What I did was try to shoot my foot off by thinking that PV's where namespace scoped like PVC so I ran a # kubectl delete pv -n <namespace> and it tried to nuke them all.So at this point I have all my PV's in a "Status: Terminating" but since they still have bound PVC's they are not being deleted.What I would love to do is get the PV's back to a sane state with minimal data lose if possible.Kind regards,Pippin
On Sunday, July 29, 2018 at 10:17:40 PM UTC-6, Tim Hockin wrote:
Kubernetes does not have a concept of cancelling a delete. Can you explain what you are trying to do?
On Sun, Jul 29, 2018, 8:35 PM Pippin Wallace <nip...@gmail.com> wrote:
I apologize in advance for asking here, but where should I seek assistance for how to "cancel/undo/rollback" a PV delete?--I have asked on stackoverflow and entered a case with GCP but with over 60 PV's in a "Status: Terminating (lasts 4h)" the suggestions are not practical.Regards and apologizes again,Pippin
You received this message because you are subscribed to the Google Groups "kubernetes-sig-storage" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-sig-storage+unsub...@googlegroups.com.
To post to this group, send email to kubernetes-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubernetes-sig-storage/9677fd3a-90ac-4f1e-ba91-fb11f3c974f2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "kubernetes-sig-storage" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-sig-storage+unsub...@googlegroups.com.
You received this message because you are subscribed to the Google Groups "kubernetes-sig-architecture" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-sig-arch...@googlegroups.com.
To post to this group, send email to kubernetes-si...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubernetes-sig-architecture/CAO_RewYkkOrbJ%3Dxydj%2BJj50pRSbqzR25ysALCOZo5VhmBgXyxQ%40mail.gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-sig-storage+unsub...@googlegroups.com.
To post to this group, send email to kubernetes-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubernetes-sig-storage/9677fd3a-90ac-4f1e-ba91-fb11f3c974f2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "kubernetes-sig-storage" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-sig-storage+unsub...@googlegroups.com.
To post to this group, send email to kubernetes-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubernetes-sig-storage/a581c6f3-8b62-4de7-b433-200a6d6ab2d2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "kubernetes-sig-architecture" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-sig-architecture+unsub...@googlegroups.com.
You received this message because you are subscribed to the Google Groups "kubernetes-sig-architecture" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-sig-arch...@googlegroups.com.
To post to this group, send email to kubernetes-si...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubernetes-sig-architecture/CAO_RewYkkOrbJ%3Dxydj%2BJj50pRSbqzR25ysALCOZo5VhmBgXyxQ%40mail.gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-sig-storage+unsub...@googlegroups.com.
To post to this group, send email to kubernetes-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubernetes-sig-storage/9677fd3a-90ac-4f1e-ba91-fb11f3c974f2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "kubernetes-sig-storage" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-sig-storage+unsub...@googlegroups.com.
To post to this group, send email to kubernetes-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubernetes-sig-storage/a581c6f3-8b62-4de7-b433-200a6d6ab2d2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "kubernetes-sig-architecture" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-sig-architecture+unsub...@googlegroups.com.
You received this message because you are subscribed to the Google Groups "K8s API Machinery SIG" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-sig-api-m...@googlegroups.com.
To post to this group, send email to kubernetes-sig...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubernetes-sig-api-machinery/3DA6A16B-EA72-4307-B568-98FC784E58B8%40gmail.com.
You received this message because you are subscribed to the Google Groups "K8s API Machinery SIG" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-sig-api-m...@googlegroups.com.
To post to this group, send email to kubernetes-sig...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubernetes-sig-api-machinery/3DA6A16B-EA72-4307-B568-98FC784E58B8%40gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-sig-storage+unsub...@googlegroups.com.
To post to this group, send email to kubernetes-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubernetes-sig-storage/9677fd3a-90ac-4f1e-ba91-fb11f3c974f2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "kubernetes-sig-storage" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-sig-storage+unsub...@googlegroups.com.
To post to this group, send email to kubernetes-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubernetes-sig-storage/a581c6f3-8b62-4de7-b433-200a6d6ab2d2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "kubernetes-sig-architecture" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-sig-architecture+unsub...@googlegroups.com.
To post to this group, send email to kubernetes-si...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubernetes-sig-architecture/CAO_RewYkkOrbJ%3Dxydj%2BJj50pRSbqzR25ysALCOZo5VhmBgXyxQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "K8s API Machinery SIG" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-sig-api-machinery+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubernetes-sig-api-machinery/CAFS1MjK%3DqK2wJxuh8Ccay%3D5FdEC6F%2BesH_HJks%2B_YPm_hejmcw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubernetes-sig-storage/CAH16Sh%2BCPv0BRo_wYgbW0OwPdveEESxVppT3jf4FHGZDLv2xuw%40mail.gmail.com.
| #! /bin/bash | |
| NAMESPACE=application | |
| kubectl delete $(kubectl get pvc -o name --namespace=$NAMESPACE) --namespace=$NAMESPACE | |
| kubectl delete $(kubectl get pv -o name --namespace=$NAMESPACE) --namespace=$NAMESPACE |
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-sig-storage+unsub...@googlegroups.com.
To post to this group, send email to kubernetes-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubernetes-sig-storage/9677fd3a-90ac-4f1e-ba91-fb11f3c974f2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "kubernetes-sig-storage" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-sig-storage+unsub...@googlegroups.com.
To post to this group, send email to kubernetes-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubernetes-sig-storage/a581c6f3-8b62-4de7-b433-200a6d6ab2d2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "kubernetes-sig-architecture" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-sig-architecture+unsub...@googlegroups.com.
To post to this group, send email to kubernetes-si...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubernetes-sig-architecture/CAO_RewYkkOrbJ%3Dxydj%2BJj50pRSbqzR25ysALCOZo5VhmBgXyxQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "K8s API Machinery SIG" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-sig-api-machinery+unsub...@googlegroups.com.
To post to this group, send email to kubernetes-sig...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubernetes-sig-api-machinery/3DA6A16B-EA72-4307-B568-98FC784E58B8%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "K8s API Machinery SIG" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-sig-api-machinery+unsub...@googlegroups.com.
To post to this group, send email to kubernetes-sig...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubernetes-sig-api-machinery/CAFS1MjK%3DqK2wJxuh8Ccay%3D5FdEC6F%2BesH_HJks%2B_YPm_hejmcw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "kubernetes-sig-storage" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-sig-storage+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubernetes-sig-storage/1A3C52DFCD06494D8528644858247BF01C15E563%40EX10MBOX03.pnnl.gov.
This message and its contents are confidential. If you received this message in error, do not use or rely upon it. Instead, please inform the sender and then delete it. Thank you.
--
You received this message because you are subscribed to the Google Groups "kubernetes-sig-storage" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-sig-st...@googlegroups.com.
To post to this group, send email to kubernetes-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubernetes-sig-storage/7d0cde63-ebfe-4bd2-aba7-5373ada480fa%40googlegroups.com.
You received this message because you are subscribed to the Google Groups "K8s API Machinery SIG" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-sig-api-m...@googlegroups.com.
To post to this group, send email to kubernetes-sig...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubernetes-sig-api-machinery/CAO_RewZN%3DOHga1hTs4Zs%2BVbN9SyafN%3DevwjZSHH_HDvQo9D2kA%40mail.gmail.com.
You received this message because you are subscribed to the Google Groups "kubernetes-sig-architecture" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-sig-arch...@googlegroups.com.
To post to this group, send email to kubernetes-si...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubernetes-sig-architecture/CACd0WeE-nQKFS-J5k004W8qs0CraPZsxgku%3DOb051yh_Q6QxuQ%40mail.gmail.com.