Comments (7)
Here's where the masters are processed:
satellite/satellite-slave/src/satellite_slave/core.clj
Lines 88 to 90 in 48a3df8
That's the only place in the code where we ever look at the :satellites
key from the settings. We could instead have the
:satellites
is a collection or a function, and if it's a function, then we could create new clients on the fly if the function's return value changed. Of course, we'd want to memoize the client creation, but I think that storing the most recent 5 clients would be sufficient.from satellite.
Does the slave take a SIGHUP to reload its config? If so consul-template could keep the list of satellites up to date. (Or maybe simply restarting slaves does not cause much havac on the servers?)
from satellite.
The satellite slaves are meant to be fully restarted--as long as they come back w/in 60 seconds or so, there shouldn't be any problems (I can't recall the exact timeout off the top of my head).
from satellite.
Ok, for me this works great:
(def settings
{:satellites [{{range service "satellite-master"}}{:host "{{.Address}}:{{.Port}}"}
{{end}}]
...
I have the master and slave both running as docker containers, so I just have consul-template restart the slave when it updates the config.
from satellite.
Would you be interested in contributing your docker containers & consul
templates to Satellite? We'd love to have them!
On Thu, Nov 26, 2015 at 4:01 AM Barry Kaplan [email protected]
wrote:
Ok, for me this works great:
(def settings
{:satellites [{{range service "satellite-master"}}{:host "{{.Address}}:{{.Port}}"}
{{end}}]
...I have the master and slave both running as docker containers, so I just
have consul-template restart the slave when it updates the config.—
Reply to this email directly or view it on GitHub
#42 (comment).
from satellite.
Of course. Once everything is stable I'll clean it up and extract any local environment dependencies that may have creeped in. I also deploy with ansible. While that is not so general just yet, it could be made so.
from satellite.
We love ansible!
On Fri, Nov 27, 2015 at 11:05 PM Barry Kaplan [email protected]
wrote:
Of course. Once everything is stable I'll clean it up and extract any
local environment dependencies that may have creeped in. I also deploy with
ansible. While that is not so general just yet, it could be made so.—
Reply to this email directly or view it on GitHub
#42 (comment).
from satellite.
Related Issues (20)
- Provide docker images that launch satellite-master & satellite-slave
- Add integration tests for satellite using minimesos HOT 1
- Provide a user interface for Satellite
- Provide a CLI
- How to Install it without Ansible HOT 1
- Adevertise host HOT 2
- Limit number of hosts that can be disabled via black hole detector
- Consider a way to automatically re-enable black hole hosts HOT 6
- How to send riemann metrics to other Riemann host? HOT 3
- satellite-slave won't start using json specification of comets HOT 4
- Please use atomic filesystem operations to update the whitelist HOT 1
- Delay writing state to Zookeeper causes hosts to expire HOT 1
- Recipe which calculates free memory excludes buffers/cache
- Instructions unclear
- Handle Mesos Master election
- Satellite-slave configuration management
- Adding new recipes should not require a jar be re-deployed to satellite-slaves
- Configuration management mechanism for satellite-slaves HOT 1
- cache-state function broken for riak integration HOT 1
- Boolean inversion in whitelist hostname-malformed check
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from satellite.