Hi,

I have deployed 4 pods (ignite server) on a  K8s cluster. I am using ignite
2.3 docker image.
I have followed the steps from the  link
<https://apacheignite.readme.io/docs/kubernetes-deployment>  . 

Inside the container, I can see the ignite process running with the config
file:

root        54    12  0 11:20 ?        00:00:34 /docker-java-home/bin/java
-Xms512m -Xmx1536m -XX:+AlwaysPreTouch -XX:+UseG1GC
-XX:+ScavengeBeforeFullGC -XX:+DisableExplicitGC -DIGNITE_QUIET=true
-DIGNITE_SUCCESS_FILE=/opt/ignite/apache-ignite-fabric-2.3.0-bin/work/ignite_success_22e88558-2de7-4b54-b0c4-e958859baa57
-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=49112
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false
-DIGNITE_HOME=/opt/ignite/apache-ignite-fabric-2.3.0-bin
-DIGNITE_PROG_NAME=/opt/ignite/apache-ignite-fabric-2.3.0-bin/bin/ignite.sh
-cp
/opt/ignite/apache-ignite-fabric-2.3.0-bin/libs/*:/opt/ignite/apache-ignite-fabric-2.3.0-bin/libs/ignite-indexing/*:/opt/ignite/apache-ignite-fabric-2.3.0-bin/libs/ignite-spring/*:/opt/ignite/apache-ignite-fabric-2.3.0-bin/libs/licenses/*
org.apache.ignite.startup.cmdline.CommandLineStartup
*file:////tmp/ignite/ignite-config.xml*
root       866   271  0 12:32 ?        00:00:00 grep ignite


>From inside the container, when I try to connect using same config file in
the ignite visor console. 

Command to connect to the cluster:
visor> open -cpath=/tmp/ignite/ignite-config.xml

+------------------------------------------------------+
| Status               | Connected                     |
| Ignite instance name | <default>                     |
| Config path          | /tmp/ignite/ignite-config.xml |
| Uptime               | 00:00:00                      |
+------------------------------------------------------+
visor>
*visor> node
(wrn) <visor>: Topology is empty.*

When I do a curl request using below command, I get the list of topology as
expected.
curl 'http://10.254.61.219:8080/ignite?cmd=top' | jq

I think it is not able to discover the other pods. How to use the ignite
visor script in a K8s environment ? 

Regards,
Vishwas



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Reply via email to