Hazelcast 3.12 and Kubernetes 1.11 Issue on AWS- Not able to create join nodes

78 views
Skip to first unread message

vikask...@gmail.com

unread,
May 2, 2019, 11:47:25 AM5/2/19
to Hazelcast
Hi,

I am facing issue is that Hazelcast IMDG 3.12 cluster in Kubernetes 1.11 on AWS cloud - node is not able to join Hazelcast cluster, logs show only one member, ideally it show all member join in cluster. details of the configuration file is below

<hz:hazelcast id="${hazelcast.instance.name}">
        <hz:config>
            <hz:spring-aware />
                     <hz:properties>
                <hz:property name="hazelcast.health.monitoring.level">${hazelcast.health.monitoring}</hz:property>
                <hz:property name="hazelcast.discovery.enabled">true</hz:property>
            </hz:properties>
            <hz:network port="${hazelcast.network.port}"
                port-auto-increment="${hazelcast.port.auto.increment}">
                <hz:join>
                    <hz:multicast enabled="false" />
                    <hz:tcp-ip enabled="false">
                        <hz:members>127.0.0.1</hz:members>
                    </hz:tcp-ip>
                    <hz:discovery-strategies>
                        <hz:discovery-strategy
                            discovery-strategy-factory="KubernetesDiscoveryStrategyFactory"
                            class-name="com.hazelcast.kubernetes.HazelcastKubernetesDiscoveryStrategy">
                            <hz:properties>
                                <hz:property name="service-dns">imdg-service.persistence.svc.cluster.local</hz:property>
                                <hz:property name="service-name">imdg-service</hz:property>                               
                                <hz:property name="namespace">persistence</hz:property>
                            </hz:properties>
                        </hz:discovery-strategy>
                    </hz:discovery-strategies>
                </hz:join>
            </hz:network>
        </hz:config>
    </hz:hazelcast>

Mesut Celik

unread,
May 2, 2019, 2:51:55 PM5/2/19
to haze...@googlegroups.com
Hi,

Can you please share your deployment configs for kubernetes?

--
You received this message because you are subscribed to the Google Groups "Hazelcast" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hazelcast+...@googlegroups.com.
To post to this group, send email to haze...@googlegroups.com.
Visit this group at https://groups.google.com/group/hazelcast.
To view this discussion on the web visit https://groups.google.com/d/msgid/hazelcast/3d237d5b-d1d6-492d-b46e-4c5a949abc84%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--

Mesut Celik
Services & Integration Team Lead 
me...@hazelcast.com 
hazelcast-logo-email.png
Reply all
Reply to author
Forward
0 new messages