GithubHelp home page GithubHelp logo

Swarm support about haven-platform HOT 9 CLOSED

codeabovelab avatar codeabovelab commented on May 13, 2024
Swarm support

from haven-platform.

Comments (9)

wayerr avatar wayerr commented on May 13, 2024

https://github.com/codeabovelab/haven-platform#installation see: Step 5
So, your do not need to install on each node anything except docker and our agent (need python).
On master node you can use swarm embedded into our app (it default behavior), or use custom swarm (it this case you need specify follow option (described here https://github.com/codeabovelab/haven-example-configuration/blob/master/cluster-manager.properties#L64 ):
dm.swarm.configs.clusterName.hosts=addres-of-your-swarm-service:2375

from haven-platform.

nickdoikov avatar nickdoikov commented on May 13, 2024

thanks .
so agent less feature not implemented?
thanks

from haven-platform.

wayerr avatar wayerr commented on May 13, 2024

so agent less feature not implemented?

which agent you mean in agent less feature statement?

from haven-platform.

wayerr avatar wayerr commented on May 13, 2024

Alss, if you mean our agent, it theoretically possible, but we use agent for gathering statistics from node, and no plans to throw out it.

When we implement support for docker in swarm mode, it possible but i can not guarantee it.

from haven-platform.

nickdoikov avatar nickdoikov commented on May 13, 2024

Which kind of statistics you gather ?
swarm api also provide some amount of stats (same as docker api can provide) + each node metrics and some other info

from haven-platform.

wayerr avatar wayerr commented on May 13, 2024

Which kind of statistics you gather ?

See https://github.com/codeabovelab/haven-platform/blob/master/doc/agent.md#data-sent-by-agents-to-the-master

swarm api also provide some amount of stats

i know it

from haven-platform.

mchwang avatar mchwang commented on May 13, 2024

@nickdoikov Any reason why you need to have it agentless? Is it for easy of installation on the nodes?

from haven-platform.

nickdoikov avatar nickdoikov commented on May 13, 2024

main idea - use any quantity of docker nodes in swarm cluster . Any extra service can be a point of failure and should be managed and deployed during deployment.
i do not see any sense to use external agent if you can easily get all listed info from swarm.

Also using pythoon agent instead of static binary(go compiled binary for example) can be a cause of problems on older systems or it needs to perform extra steps during provisioning.

in case of using swarm (not a swarm mode) - you already have to use KV (etcd,consul, zookeeper) for advertising nodes list, networks if present etc for swarm master.... (swarm standalone also need agent that advertise node to KV) .

Swarm standalone (as for me) more stable and more clear for using in big production installations instead of swarm mode with master auto election and on-board KV.

from haven-platform.

interair avatar interair commented on May 13, 2024

Swarm standalone (as for me) more stable and more clear for using in big production installations instead of swarm mode with master auto election and on-board KV.

Currently external KV storage like etcd works more stable then embedded (especially raft part), but in future we plan to migrate to swarm mode.
Regarding to agent for swarm mode we might will need to use agent for adding/removing node from cluster (clusters). Currently we use agent for gathering statistic and for notifying master about new nodes that is all

from haven-platform.

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.