You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Dana Shaw <ds...@medata.com> on 2022/11/07 18:51:27 UTC

Clustering karaf, do I need to use cellar or can I use kubernetes?

Was going thru the documentation and some web searches.. 

From the documentation it loos like cellar is preferred for clustering.

My question is, can I use kubernetes instead?

I found a few blog posts on folk setting up Karaf with kubernetes, and would prefer to use a single platform for scaling.

Thanks in advance,

I'm new to Karaf, been playing around with a single instance in docker, was looking on how to scale up from here.

Re: Clustering karaf, do I need to use cellar or can I use kubernetes?

Posted by Dana Shaw <ds...@medata.com>.
Appreciate the response!

I'm currently using karaf with apache camel and Spring/osgi apps.

I think where I was getting confused is that I saw a kubernetes cluster using cellar.. which in my head didn't make a lot of sense.

Think I'm going to play with clustering karaf with cellar, and deploying karaf with kubernetes and see which one is easier to manage.

----- Original Message -----
From: "fpapon" <fp...@apache.org>
To: "user" <us...@karaf.apache.org>
Sent: Thursday, November 10, 2022 3:09:27 AM
Subject: Re: Clustering karaf, do I need to use cellar or can I use kubernetes?

Hi,

I'm joining JB, it's depend how you want to scale your Karaf instance, 
if you don't need hot configuration reloading or dynamic feature 
deployment synchronization you can use only K8S.

regards,

Francois

On 10/11/2022 10:29, Jean-Baptiste Onofré wrote:
> Hi,
>
> Actually, you can use both.
>
> Cellar brings synchronize of Karaf running instances (live, without
> restarting the instances), whereas K8S can orchestrate the startup of
> the Karaf instances.
>
> Regards
> JB
>
> On Mon, Nov 7, 2022 at 7:51 PM Dana Shaw <ds...@medata.com> wrote:
>> Was going thru the documentation and some web searches..
>>
>>  From the documentation it loos like cellar is preferred for clustering.
>>
>> My question is, can I use kubernetes instead?
>>
>> I found a few blog posts on folk setting up Karaf with kubernetes, and would prefer to use a single platform for scaling.
>>
>> Thanks in advance,
>>
>> I'm new to Karaf, been playing around with a single instance in docker, was looking on how to scale up from here.

-- 
--
François

Re: Clustering karaf, do I need to use cellar or can I use kubernetes?

Posted by fpapon <fp...@apache.org>.
Hi,

I'm joining JB, it's depend how you want to scale your Karaf instance, 
if you don't need hot configuration reloading or dynamic feature 
deployment synchronization you can use only K8S.

regards,

Francois

On 10/11/2022 10:29, Jean-Baptiste Onofré wrote:
> Hi,
>
> Actually, you can use both.
>
> Cellar brings synchronize of Karaf running instances (live, without
> restarting the instances), whereas K8S can orchestrate the startup of
> the Karaf instances.
>
> Regards
> JB
>
> On Mon, Nov 7, 2022 at 7:51 PM Dana Shaw <ds...@medata.com> wrote:
>> Was going thru the documentation and some web searches..
>>
>>  From the documentation it loos like cellar is preferred for clustering.
>>
>> My question is, can I use kubernetes instead?
>>
>> I found a few blog posts on folk setting up Karaf with kubernetes, and would prefer to use a single platform for scaling.
>>
>> Thanks in advance,
>>
>> I'm new to Karaf, been playing around with a single instance in docker, was looking on how to scale up from here.

-- 
--
François


Re: Clustering karaf, do I need to use cellar or can I use kubernetes?

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi,

Actually, you can use both.

Cellar brings synchronize of Karaf running instances (live, without
restarting the instances), whereas K8S can orchestrate the startup of
the Karaf instances.

Regards
JB

On Mon, Nov 7, 2022 at 7:51 PM Dana Shaw <ds...@medata.com> wrote:
>
> Was going thru the documentation and some web searches..
>
> From the documentation it loos like cellar is preferred for clustering.
>
> My question is, can I use kubernetes instead?
>
> I found a few blog posts on folk setting up Karaf with kubernetes, and would prefer to use a single platform for scaling.
>
> Thanks in advance,
>
> I'm new to Karaf, been playing around with a single instance in docker, was looking on how to scale up from here.