GridGain Community Edition

Expand all | Collapse all

Zookeeper Cluster = PV as persistent storage?

  • 1.  Zookeeper Cluster = PV as persistent storage?

    Posted 10-20-2020 06:54 PM
    Hi All,
    I am trying to deploy the zookeeper cluster in K8S as the specific implementation of ignite cluster discovery, is there anything that needs attention? I also want to know whether the zookeeper cluster must use PV as persistent storage? Are there any examples that do not use PV?
    Thanks!

    ------------------------------
    Qiaoqiao Sun
    office staff
    ASUS Technology
    ------------------------------


  • 2.  RE: Zookeeper Cluster = PV as persistent storage?

    Posted 10-21-2020 02:54 AM
    Hello!

    Please clarify what is `PV'?

    Regards,

    ------------------------------
    Ilya Kasnacheev
    Community Support Specialist
    GridGain
    ------------------------------



  • 3.  RE: Zookeeper Cluster = PV as persistent storage?

    Posted 10-22-2020 08:43 PM
    Hello, thanks for your reply!
     
    PV is PersistentVolume : https://kubernetes.io/docs/concepts/storage/persistent-volumes
     
    Best regards ,

    ------------------------------
    Qiaoqiao Sun
    office staff
    ASUS Technology
    ------------------------------



  • 4.  RE: Zookeeper Cluster = PV as persistent storage?

    Posted 10-26-2020 02:01 PM
    Hi,
      See here: https://www.gridgain.com/docs/latest/installation-guide/kubernetes/amazon-eks-deployment
      on how to install ignite w/persistence using a stateful set. 
     click on:

      When using Zookeeper w/K8, you need to make sure all relevant ports are open and are able to serve requests.

    https://www.gridgain.com/docs/latest/developers-guide/clustering/zookeeper-discovery

    You might need to use a special headless service to identify zookeper server.
    see: https://kubernetes.io/docs/concepts/services-networking/service/#headless-services


    <property name="discoverySpi">
    <bean class="org.apache.ignite.spi.discovery.zk.ZookeeperDiscoverySpi">

    <property name="zkConnectionString" value="..."/>    <---- create a service to identify zookeeper servers, make sure the necessary ports are correctly mapped, and put it into the connection string.

    <property name="sessionTimeout" value="30000"/>
    <property name="zkRootPath" value="/apacheIgnite"/>
    <property name="joinTimeout" value="10000"/>
    </bean>
    </property>


    Thanks,

    ------------------------------
    Alexander
    GridGain
    ------------------------------