I am trying to write an application in Go that would drain the nodes. Currently the client-go doesn't have a way to do that. I just found that there is a Delete() available with a TerminationGracePeriod. But afaik it is a little different than the way Drain works. Can someone help me on how I can do a Drain in Go.
-- 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.