The Cassandra pod will get scheduled to run on a different worker node,
provided there is an available node that satisfies affinity rules, resource
requirements, etc. And you are correct that the volume will get remounted.
If however you are using a local or hostPath volume, then it will be lost
and you will want to restart Cassandra with the -Dcassandra.replace_address
option.

On Mon, Jul 27, 2020 at 5:17 AM manish khandelwal <
manishkhandelwa...@gmail.com> wrote:

> Hi Team
>
> I was wondering how Cassandra node is replaced if one of the worker node
> fails in k8s.  My understanding is that since PVCs are remounted to their
> volume mounts, no matter where the pods are rescheduled (any node), so
> replacing a node will not be a issue only ip will get changed.
>
>
> Regards
> Manish
>


-- 

- John

Reply via email to