On Thu, Jul 2, 2020 at 9:21 AM Manu Chadha <manu.cha...@hotmail.com> wrote:

> Hi
>
>
>
> I have created a cluster using cass-operator -
> https://github.com/datastax/cass-operator. I suppose by default 3
> replicas (3 node cluster) are created.
>
>
>
> I want to scale down the cluster from 3 to 1 nodes? I executed
>
>
>
> kubectl scale sts cluster1-dc1-default-sts --replicas=1 -n cass-operator
>
> statefulset.apps/cluster1-dc1-default-sts scaled
>
> I think that you should be editing the spec.size attribute of
your CassandraDatacenter resource, instead of modifying the Statefulset
directly.

--
Alex

Reply via email to