Comments (5)
Unfortunately there is no easy way to do that.
One way is to edit /etc/supervisord.conf
and run supervisorctl reread
or reload (but reload can restart apps)
about this escaping. how about using '
single quotes instead of \\\\\"
?
from panteras.
Actually, I do something like:
ROLES_COMBINED="compute:truelog:true" # fed from somewhere else
MESOS_SLAVE_PARAMS="--attributes=\\\\\"${ROLES_COMBINED}\\\\\" --resources=\\\\\"ports(*):[8000-9999, 31000-32999]\\\\\""
In this case I cannot use the single quotes '
since ${ROLES_COMBINED}
would not be replaced anymore...
from panteras.
hmm I have just check it and it works for me:
# ROLES_COMBINED="compute:truelog:true"
# MESOS_SLAVE_PARAMS="--attributes='${ROLES_COMBINED}' --resources='ports(*):[8000-9999, 31000-32999]'"
# echo $MESOS_SLAVE_PARAMS
--attributes='compute:truelog:true' --resources='ports(*):[8000-9999, 31000-32999]'
from panteras.
Is it working for you ?
from panteras.
Oh, haven't got the time to test that out; but since this is working for me as it is right now, no pressure on changing it... I will consider it next time I need to touch that file/mechanism...
we can close this for now, since there doesn't seem to be an easy and nice way to adjust the mesos
attributes for a running mesos slave
...
from panteras.
Related Issues (20)
- maxconn configuration HOT 2
- haproxy 100% cpu usage HOT 22
- Struggling to use HTTPS / Enable HAPROXY_SSL HOT 5
- Checkpointing not working HOT 22
- HAProxy SSL Passthrough HOT 3
- Accessing consul services inside container HOT 2
- How to use ssl proxy properly and is fabio ready for replacing haproxy ? HOT 3
- Upgrade version and impossible to build image `/bin/sh: 1: locale-gen: not found` HOT 1
- [Question] Recommendation and details on how to migrate web service into Fabio. HOT 2
- [Feature] Set env JAVA_HOME within Panteras HOT 4
- Help upgrade marathon HOT 2
- [feedback] Chronos/Netdata HOT 6
- How to use verdaccio behind the HA proxy loadbalancer
- Where is consul template file for HAproxy? HOT 2
- evaluate traefik to replace fabio HOT 1
- Marathon crash, /migration-in-progress, where is zkCli/zookeepercli in panteras ? HOT 7
- g HOT 1
- Things to consider when joing a slave into a mesosphere?
- How can I get marathon to restart all services after reboot ? HOT 2
- How to disable panteras http/80 page on Panteras v3
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 panteras.