It takes a few minutes to declare a node lost, this is configurable via kube-controller-manager flags.
There are a few things you can do on a pod that prevents them being put on the same node, such as declaring a hostPort. How will Cassandra react when a pod disappears and another one appears (the is no "pod migration", only replacement)? I think this is a fairly complex problem; research how others have solved this. A common pattern is to name a thing that manages some technology in Kubernetes an Operator, googling "cassandra operator kubernetes" I see several candidates but I haven't used any so I can't say which one works best for you. /MR On Mon, Aug 6, 2018, 09:06 Niranjan Kolly <niranjanko...@gmail.com> wrote: > Hi, > > I have a K8 cluster with 3 master and 3 slave on centOS VM. > > we have installed KONG and cassandra with 3 replica each. As a part of the > resiliency we brought down one node , but still the "kubectl get pods" > command shows the pods running in that node showing up. > > As a K8 feature the master should spin the pods in the available node. How > to do this configuration, but the master is not doing until we delete the > pod manually. > > Please help me how to setup this. > > > -- > Regards > NiranjanKolly > > -- > 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.