Giter VIP home page Giter VIP logo

Comments (4)

ewoutp avatar ewoutp commented on May 31, 2024

This is not turned on by default, because we assume that you start the Starter using some init script (systemd...) which will just restart the containers for you.

We'll consider adding an option for this.

from arangodb.

ewoutp avatar ewoutp commented on May 31, 2024

While the concept of a restart sounds very reasonable, there is actually one more issue with it.
When the Starter terminates, it actively stops the created containers (this is very much by design). So the only way for the containers to be in a state where the docker daemon can restart them it upon a power failure or a very hard kill of the starter.

Therefore you're best of using the starter directly from you init system.

from arangodb.

fungiboletus avatar fungiboletus commented on May 31, 2024

I don't really have init scripts on my Docker Swarm cluster. Some nodes are running SystemD, some are still running Upstart. I prefer to use Docker for this kind of thing, but I get your point. An option would be convenient.

I killed the starters (docker kill adb) and Arango seems to go well without it. Is the starter required only for starting the containers, or does it also monitor the services ? An option to exit the starter without killing containers when the deployement is done would be interesting too.

from arangodb.

ewoutp avatar ewoutp commented on May 31, 2024

The starter monitors the started containers/process and takes care of restarting them when needed.

from arangodb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.