You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by "prateekjainaa@gmail.com" <pr...@gmail.com> on 2023/03/13 09:45:58 UTC
cloud-native deployment
Hi All,
How are you? I am trying to deploy artemis on kubernetes (k8s) cluster. I
would like to know if any of you can share any thoughts or experience while
doing similar tasks. Especially, if I choose this to be a statefulset; what
will be the impacts while monitoring and backup.
My current approach is to create cluster (with shared persistence) and
stateful pods of artemis. I also looked at this project
https://github.com/artemiscloud but couldn't decide as that is based upon
the operator approach.
Any thoughts would be appreciated.
Regards
Prateek Jain
--------------------------------------------------------------
EXPECTATION : Causes all troubles......
--------------------------------------------------------------
Re: cloud-native deployment
Posted by Ephemeris Lappis <ep...@gmail.com>.
Hello again.
As I said, we use JDBC persistence, and in a 2 instances
configuration, the two brokers compete to gain the leadership on
the DB lock table. The only special configuration of the broker
is setting the JDBC datasource to reoplace the KahaDB default
configuration.
On the clients side (Camel routes in containrized Karaf
instances and Java application, both as producers and consumers)
the brokers access URL is something like
"failover(tcp:amqservice1:port1, tcp:amqservice2:port1)" where
amqserviceX and portX are defined by our k8s services and
endpoints. Nothing more.
We've tested with batches of more than 1 million messages, and
all seems to be stable. Sometimes the leadership changes, but
clients detect it and the failover do its job.
Ephemeris Lappis
Le 13/03/2023 à 11:24, prateekjainaa@gmail.com a écrit :
> split brain scenarios
--
Cet e-mail a été vérifié par le logiciel antivirus d'Avast.
www.avast.com
Re: cloud-native deployment
Posted by "prateekjainaa@gmail.com" <pr...@gmail.com>.
Thanks for the feedback, Ephemeris. Did you do anything special to avoid
split brain scenarios?
Regards,
Prateek Jain
--------------------------------------------------------------
EXPECTATION : Causes all troubles......
--------------------------------------------------------------
On Mon, Mar 13, 2023 at 10:08 AM Ephemeris Lappis <
ephemeris.lappis@gmail.com> wrote:
> Hello.
>
> We've not experienced deployment of Artemis yet, but for our last works
> we use "classic" ActiveMQ 5.17.x on our K8s clusters. Our PODs are
> stateless, since we use JDBC (postgresql) persistence instead of KahaDB.
> We've also tested 2 PODs configurations.
>
> In both cases Openwire and HTTP connectors are exposed to other PODs as
> K8s services and endpoints. All seems to work as expected.
>
> Regards.
>
> Ephemeris Lappis
>
> Le 13/03/2023 à 10:45, prateekjainaa@gmail.com a écrit :
> > Hi All,
> >
> > How are you? I am trying to deploy artemis on kubernetes (k8s)
> cluster. I
> > would like to know if any of you can share any thoughts or experience
> while
> > doing similar tasks. Especially, if I choose this to be a statefulset;
> what
> > will be the impacts while monitoring and backup.
> >
> > My current approach is to create cluster (with shared persistence) and
> > stateful pods of artemis. I also looked at this project
> > https://github.com/artemiscloud but couldn't decide as that is based
> upon
> > the operator approach.
> >
> > Any thoughts would be appreciated.
> >
> > Regards
> > Prateek Jain
> >
> > --------------------------------------------------------------
> > EXPECTATION : Causes all troubles......
> > --------------------------------------------------------------
> >
>
> --
> Cet e-mail a été vérifié par le logiciel antivirus d'Avast.
> www.avast.com
>
Re: cloud-native deployment
Posted by Ephemeris Lappis <ep...@gmail.com>.
Hello.
We've not experienced deployment of Artemis yet, but for our last works
we use "classic" ActiveMQ 5.17.x on our K8s clusters. Our PODs are
stateless, since we use JDBC (postgresql) persistence instead of KahaDB.
We've also tested 2 PODs configurations.
In both cases Openwire and HTTP connectors are exposed to other PODs as
K8s services and endpoints. All seems to work as expected.
Regards.
Ephemeris Lappis
Le 13/03/2023 à 10:45, prateekjainaa@gmail.com a écrit :
> Hi All,
>
> How are you? I am trying to deploy artemis on kubernetes (k8s) cluster. I
> would like to know if any of you can share any thoughts or experience while
> doing similar tasks. Especially, if I choose this to be a statefulset; what
> will be the impacts while monitoring and backup.
>
> My current approach is to create cluster (with shared persistence) and
> stateful pods of artemis. I also looked at this project
> https://github.com/artemiscloud but couldn't decide as that is based upon
> the operator approach.
>
> Any thoughts would be appreciated.
>
> Regards
> Prateek Jain
>
> --------------------------------------------------------------
> EXPECTATION : Causes all troubles......
> --------------------------------------------------------------
>
--
Cet e-mail a été vérifié par le logiciel antivirus d'Avast.
www.avast.com
Re: cloud-native deployment
Posted by "prateekjainaa@gmail.com" <pr...@gmail.com>.
Hi Tobias,
I have already looked at this project and I mentioned it in my original
email. Unfortunately, I don't see any commercial support (apart from
Redhat) around that project and documentation is not very good. I have got
enough information for now to proceed with my POC. In case you faced any
specific issues on cloud, that I should be aware of; please let me know.
Regards,
Prateek Jain
--------------------------------------------------------------
EXPECTATION : Causes all troubles......
--------------------------------------------------------------
On Mon, Mar 13, 2023 at 1:34 PM Tobias Letschka <tl...@covernet.de> wrote:
> Hi,
>
> have a look to below project https://artemiscloud.io/
>
> we using artemis in azure aks environment. do you have questions?
>
> Regards
>
> Tobias
> ________________________________
> Von: prateekjainaa@gmail.com <pr...@gmail.com>
> Gesendet: Montag, 13. März 2023 12:28
> An: users@activemq.apache.org <us...@activemq.apache.org>
> Betreff: Re: cloud-native deployment
>
> Thanks Vilius and Ephemeris for your input.
>
> Regards,
> Prateek Jain
>
> --------------------------------------------------------------
> EXPECTATION : Causes all troubles......
> --------------------------------------------------------------
>
>
> On Mon, Mar 13, 2023 at 11:07 AM Vilius Šumskas <vi...@rivile.lt>
> wrote:
>
> > Hi,
> >
> > check the mailing list archives. This question comes up regulary.
> >
> > --
> > Vilius
> >
> > -----Original Message-----
> > From: prateekjainaa@gmail.com <pr...@gmail.com>
> > Sent: Monday, March 13, 2023 11:46 AM
> > To: users@activemq.apache.org
> > Subject: cloud-native deployment
> >
> > Hi All,
> >
> > How are you? I am trying to deploy artemis on kubernetes (k8s) cluster.
> > I would like to know if any of you can share any thoughts or experience
> > while doing similar tasks. Especially, if I choose this to be a
> > statefulset; what will be the impacts while monitoring and backup.
> >
> > My current approach is to create cluster (with shared persistence) and
> > stateful pods of artemis. I also looked at this project
> >
> https://deu01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fartemiscloud&data=05%7C01%7Ctle%40covernet.de%7C2187c99af2a64f2cc23d08db23b624c7%7C208430bc6bc34416b38372f0236b7581%7C0%7C0%7C638143037421773884%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=uo3%2BMC2STZ1DH7Yt3hfwel24EfGCspQqWsF1P%2Bfz%2BEU%3D&reserved=0
> but couldn't decide as that is based upon
> > the operator approach.
> >
> > Any thoughts would be appreciated.
> >
> > Regards
> > Prateek Jain
> >
> > --------------------------------------------------------------
> > EXPECTATION : Causes all troubles......
> > --------------------------------------------------------------
> >
>
AW: cloud-native deployment
Posted by Tobias Letschka <tl...@covernet.de>.
Hi,
have a look to below project https://artemiscloud.io/
we using artemis in azure aks environment. do you have questions?
Regards
Tobias
________________________________
Von: prateekjainaa@gmail.com <pr...@gmail.com>
Gesendet: Montag, 13. März 2023 12:28
An: users@activemq.apache.org <us...@activemq.apache.org>
Betreff: Re: cloud-native deployment
Thanks Vilius and Ephemeris for your input.
Regards,
Prateek Jain
--------------------------------------------------------------
EXPECTATION : Causes all troubles......
--------------------------------------------------------------
On Mon, Mar 13, 2023 at 11:07 AM Vilius Šumskas <vi...@rivile.lt>
wrote:
> Hi,
>
> check the mailing list archives. This question comes up regulary.
>
> --
> Vilius
>
> -----Original Message-----
> From: prateekjainaa@gmail.com <pr...@gmail.com>
> Sent: Monday, March 13, 2023 11:46 AM
> To: users@activemq.apache.org
> Subject: cloud-native deployment
>
> Hi All,
>
> How are you? I am trying to deploy artemis on kubernetes (k8s) cluster.
> I would like to know if any of you can share any thoughts or experience
> while doing similar tasks. Especially, if I choose this to be a
> statefulset; what will be the impacts while monitoring and backup.
>
> My current approach is to create cluster (with shared persistence) and
> stateful pods of artemis. I also looked at this project
> https://deu01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fartemiscloud&data=05%7C01%7Ctle%40covernet.de%7C2187c99af2a64f2cc23d08db23b624c7%7C208430bc6bc34416b38372f0236b7581%7C0%7C0%7C638143037421773884%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=uo3%2BMC2STZ1DH7Yt3hfwel24EfGCspQqWsF1P%2Bfz%2BEU%3D&reserved=0 but couldn't decide as that is based upon
> the operator approach.
>
> Any thoughts would be appreciated.
>
> Regards
> Prateek Jain
>
> --------------------------------------------------------------
> EXPECTATION : Causes all troubles......
> --------------------------------------------------------------
>
Re: cloud-native deployment
Posted by "prateekjainaa@gmail.com" <pr...@gmail.com>.
Thanks Vilius and Ephemeris for your input.
Regards,
Prateek Jain
--------------------------------------------------------------
EXPECTATION : Causes all troubles......
--------------------------------------------------------------
On Mon, Mar 13, 2023 at 11:07 AM Vilius Šumskas <vi...@rivile.lt>
wrote:
> Hi,
>
> check the mailing list archives. This question comes up regulary.
>
> --
> Vilius
>
> -----Original Message-----
> From: prateekjainaa@gmail.com <pr...@gmail.com>
> Sent: Monday, March 13, 2023 11:46 AM
> To: users@activemq.apache.org
> Subject: cloud-native deployment
>
> Hi All,
>
> How are you? I am trying to deploy artemis on kubernetes (k8s) cluster.
> I would like to know if any of you can share any thoughts or experience
> while doing similar tasks. Especially, if I choose this to be a
> statefulset; what will be the impacts while monitoring and backup.
>
> My current approach is to create cluster (with shared persistence) and
> stateful pods of artemis. I also looked at this project
> https://github.com/artemiscloud but couldn't decide as that is based upon
> the operator approach.
>
> Any thoughts would be appreciated.
>
> Regards
> Prateek Jain
>
> --------------------------------------------------------------
> EXPECTATION : Causes all troubles......
> --------------------------------------------------------------
>
RE: cloud-native deployment
Posted by Vilius Šumskas <vi...@rivile.lt>.
Hi,
check the mailing list archives. This question comes up regulary.
--
Vilius
-----Original Message-----
From: prateekjainaa@gmail.com <pr...@gmail.com>
Sent: Monday, March 13, 2023 11:46 AM
To: users@activemq.apache.org
Subject: cloud-native deployment
Hi All,
How are you? I am trying to deploy artemis on kubernetes (k8s) cluster. I would like to know if any of you can share any thoughts or experience while doing similar tasks. Especially, if I choose this to be a statefulset; what will be the impacts while monitoring and backup.
My current approach is to create cluster (with shared persistence) and stateful pods of artemis. I also looked at this project https://github.com/artemiscloud but couldn't decide as that is based upon the operator approach.
Any thoughts would be appreciated.
Regards
Prateek Jain
--------------------------------------------------------------
EXPECTATION : Causes all troubles......
--------------------------------------------------------------