Hi,

I was wondering if someone has used OSGI with Docker & ACE. We are figuring
out the best way to use it:

I. Build and Deploy Path
1. Developer builds and tests bundles locally using BndTools
2. Commits source code to Git
3. Git hock triggers CI build on Jenkins build server using Gradle,
executing integration tests and binary artifacts
4. Artifacts are uploaded to ORB repository
5. ACE Feature/distribution is updated with latest versions
Furthermore
1. Docker (Kubernetes) will be used for scaling out containers. No doubt
This, so far, makes sense to us. My questions would be the following. How do
I update an OSGI bundle on small or large scale. I see the following
scenarios

Scenario A: 
=========
* ACE agent is installed on each OSGI runtime
* A docker instance runs a OSGI runtime instance
* Many different docker instances are deployed
* Changes to the code (new bundle version) are automatically picked up
* OSGI handles the temporary downtime of the service when rebinding to the
new (latest) version of the service provided by the newly deployed bundle

Scenario B: 
=========
* For each change(set), a new docker image is created that creates the new
bundles and may be missing the replaced bundles
* A changeset consists of >=1 bundles and optionally configuration data
* Architecture needs to be able to register/deregister/pause endpoints
dynamically
* From a deployment perspective, docker instances are never upgraded. Rather
then modifying an instance, a new docker instance is being deployed
We feel that Sceanrio B is a better way forward
Any feedback, comments ?
Thanks a lot in advance
Frank







_______________________________________________
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to