nicolaferraro edited a comment on issue #1274: Refactoring traits to allow 
addons and add master trait (as addon)
URL: https://github.com/apache/camel-k/pull/1274#issuecomment-586154069
 
 
   > I am curious, you are talking about `leader election`. Can you elaborate 
on that? How does it related to the addons idea?
   
   Not directly related. There was the need to move some logic out of the core, 
and it was easier for me to do this kind of refactoring while developing a new 
trait (master).
   
   The leader election is part of the camel master component. The why/how is 
explained here: 
https://www.nicolaferraro.me/2017/10/17/creating-clustered-singleton-services-on-kubernetes/
   
   That example was for spring-boot and required some configuration to work. In 
Camel K now it works out-of-the-box (just use a `master:...` endpoint).

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to