Re: Replacing a Cassandra node in K8S

2020-07-28 Thread manish khandelwal
Thanks John for the answer.

Regards
Manish

On Tue, Jul 28, 2020 at 11:39 PM John Sanda  wrote:

> 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
>


Re: Replacing a Cassandra node in K8S

2020-07-28 Thread John Sanda
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


Replacing a Cassandra node in K8S

2020-07-27 Thread manish khandelwal
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