If you expose the TCP connector port (default 11211), you should be able to 
connect to your k8s cluster using the —host parameter, e.g.,

./control.sh —host service_ip —activate

I didn’t test this, but it should work.

You don’t need to reactivate your cluster again. You do need to add and remove 
nodes from your baseline topology as you expand/contract your cluster. The 
recommendation is generally to use StatefulSets so pods are added/removed in a 
predictable manner.

./control.sh —host host —baseline add new_node

Finally, just to be explicit since you say you’re new to Ignite: you only need 
to do all this if you enable native persistence. You don’t need to define your 
baseline topology with a memory-only Ignite cluster.

Regards,
Stephen

> On 4 Dec 2018, at 12:15, radha <[email protected]> wrote:
> 
> Hi,
>   I am new to ignite usage.
>   Can someone help me, how to activate the ignite cluster on k8s
> environment without login to the ignite server pods to activate it by
> executing the command ./control.sh --activate?
> 
>  Is there any rest api call that i can use to activate the cluster.
>  Also let me know , how the cluster gets activated automatically in case of
> ignite server pod restart?
> 
> Thanks in Advance.
> 
> 
> 
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/


Reply via email to