No, by design the Kubernetes system does not support transactions. If you just need it for tearing down partial deployments, you might be able to use the garbage collector to do that for you.
On Mon, Aug 6, 2018 at 3:20 PM Craig Buchanan <ctbuch...@gmail.com> wrote: > Is it possible to send multiple API requests atomically to the Kubernetes > master? Or do I need to implement rollback in my application code? > > E.g. I need to create a configmap, deployment, and service from an SDK. If > any of these API requests fails for any reason, I would like to rollback > and delete the resources that have already been created. > > -- > You received this message because you are subscribed to the Google Groups > "Kubernetes user discussion and Q&A" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to kubernetes-users+unsubscr...@googlegroups.com. > To post to this group, send email to kubernetes-users@googlegroups.com. > Visit this group at https://groups.google.com/group/kubernetes-users. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Kubernetes user discussion and Q&A" group. To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-users+unsubscr...@googlegroups.com. To post to this group, send email to kubernetes-users@googlegroups.com. Visit this group at https://groups.google.com/group/kubernetes-users. For more options, visit https://groups.google.com/d/optout.