The technology shift was also the opportunity to actually “break the monolith” . Pydio Cells is a set of micro-services that can be distributed of different physical or virtual machines on a network, allowing greater flexibility, interfacing and scaling.
Is there any advice/docs on how i would go about splitting up this monolith such that I can run each microservice on its own k8s node?
# For instance, to enable debug mode
./cells start --log debug
# Start just a couple of services
./cells start nats pydio.grpc.config pydio.api.proxy
# Start all services except one, here the dav server
./cells start -x pydio.rest.gateway.dav
to start specific microservices.
Do you see a way forward where the same docker image is deployed but with different entry points specifiing which service should be running?
Assuming that they share the same config files then “everything should just work” TM
I also assume I need to know the which machine NATS and infact that hostname should be static, would this be the only service?
If i get this working im happy to write up my findings…
Hi,
we are currently preparing a piece of documentation that will explain how and what you need to deploy your services on multiple machines, etc…, using for instance kubernetes and such.
When the article will be on site i will try to keep you updated.
And if you have notes that you want to share don’t hesitate.
my local disk datasources don’t recover when rebuilding the pods, i think because they get different IP and maybe associated sync services dont start up.
@zayn ive got things mostly working now, i had some problems and could only fix the through editing config files. Want to take a read and see if you had the same issue?
Hi @rossbeazley thanks for sharing your thoughts on that ! We still have some work to produce a comprehensive documentation for the usecase you describe. The team is mostly on holidays right now, but we’ll work on that more in the forthcoming weeks
Charles