Re: Run ignite kubernetes pod on java 11

2021-11-19 Thread Surinder Mehra
Thanks everyone for your help. I got it working with below Dockerfile and run.sh copied from git repo of apache-ignite ARG OPTION_LIBS and CONFIG_URI are set in kubernetes stateful-set.yaml file where this image is used as container FROM adoptopenjdk/openjdk11 # Settings ARG

Re: Run ignite kubernetes pod on java 11

2021-11-18 Thread Surinder Mehra
Thanks Maksim for reply. Actually I ddint need to set it. When this image is used in statefulset.yaml, we are setting config_uri and other jvm_opts there. Issue is ignite still using jdk 8 although when I login to container and print java version, it prints 11. This is another simpler way to

Re: Run ignite kubernetes pod on java 11

2021-11-18 Thread Maksim Timonin
Hi, you should move ignite-kubernetes (and others optional libs you're going to use) from optional to $IGNITE_HOME/libs/ On Wed, Nov 17, 2021 at 6:50 PM Surinder Mehra wrote: > Thanks for the suggestion. I tried to fix dependencies and it works with > default-ignite-config.xml, which means when

Re: Run ignite kubernetes pod on java 11

2021-11-17 Thread Surinder Mehra
Thanks for the suggestion. I tried to fix dependencies and it works with default-ignite-config.xml, which means when CONFIG_URI ARG is not provided. When I pass my custom node configuration file which contains KubernetesIP finder, the container fails to find the K8 Ip finder class. I have verified

Re: Run ignite kubernetes pod on java 11

2021-11-17 Thread Surinder Mehra
Yes, thanks for replying. I tried doing that but it assumes the ignite binary is present in the local directory somewhere. " COPY apache-ignite* apache-ignite " Could you please explain 1. where is it reading ignite binaries from and 2. ignite binaries zip doesn't have run.sh. If I copy run.sh as

Re: Run ignite kubernetes pod on java 11

2021-11-17 Thread Stephen Darlington
I’d just take the original Dockerfile (Dockerfile ) and replace the reference to Java 8 with Java 11 > On 17 Nov 2021, at 10:50, Surinder Mehra wrote: > > Hi, > I tried to build one with two

Re: Run ignite kubernetes pod on java 11

2021-11-17 Thread Surinder Mehra
Hi, I tried to build one with two approaches. I was thinking the 1st one is simple and should work but it didn't so I tried the 2nd approach which seems to be missing something. Can you point out the missing piece please. 1. Extend base image and update java home as below FROM apacheignite/ignite

Re: Run ignite kubernetes pod on java 11

2021-11-16 Thread Stephen Darlington
I don’t see an image with Java 11. I think you’d have to build your own. There are tickets for this: https://issues.apache.org/jira/browse/IGNITE-14031 and https://issues.apache.org/jira/browse/IGNITE-15209 > On 16 Nov 2021, at 09:55, Surinder Mehra wrote: > > Hi, > I followed below link to

Run ignite kubernetes pod on java 11

2021-11-16 Thread Surinder Mehra
Hi, I followed below link to deploy ignite pod on kubernetes. It uses apache ignite 2.11 docker image which has java openjdk 8. Is there a way to configure java 11 on this pod or ignite image with jdk11 ? https://ignite.apache.org/docs/latest/installation/kubernetes/amazon-eks-deployment