Hi Kasun,

On Wed, Jun 8, 2016 at 5:42 PM, Akila Ravihansa Perera <[email protected]>
wrote:

> On Wednesday, 8 June 2016, KasunG Gajasinghe <[email protected]> wrote:
>
>>
>> We've also written rsync based artifact synchronization for the
>> stand-alone cluster mode. [1] This pushes the artifacts to workers
>> periodically via a cron job. A shared public key is used for
>> authentication.
>>
>> [1] https://gist.github.com/kasunbg/444df28a2e51a16bbd74
>>
>
Thanks for this! However if we are apply this in a container cluster
environment the issues Akila have raised would surface. Mainly sharing the
lock between multiple pod replicas/instances. We can prebake the ssh key in
to the image, still multiple managers would run this script. We could
restrict the manager containers to one host and mount a host path, but that
would defeat the purpose of container cluster managers like Kubernetes and
Mesos.


Hi Akila,

On Wed, Jun 8, 2016 at 5:05 PM, Akila Ravihansa Perera <[email protected]>
>> wrote:
>>
>>>
>>>

>
>>> I think the whole artifacts deployment/sync strategy is going to be
>>> changed from C5 on-wards. AFAIU, we will not be publishing artifacts to
>>> gateway nodes directly in C5. Rather those artifacts will be injected at
>>> the Docker image build process. So why don't we stick with SVN based
>>> DepSync for now (C4 products)? What is the problem that we are trying to
>>> solve by moving to rsync that we couldn't/cannot fix in SVN based model?
>>>
>>
 For products such as ESB or even GREG (with a separate publisher and a
store) the artifacts can be pre-baked in to the image and the cluster could
rolling-updated. However for dynamic artifact generation involved scenarios
such as that of the API Manager, a quick dep sync would be required. I
agree that the existing SVN based dep sync is the easiest, but this is to
explore the possibility of overcoming existing issues in SVN based dep sync
in a container cluster environment.


>>> Thanks.
>>>
>>> __________
>>
>>



Regards,
Chamila de Alwis
Committer and PMC Member - Apache Stratos
Software Engineer | WSO2 | +94772207163
Blog: code.chamiladealwis.com
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to