Comments (7)
yep, we need better uninstall instructions for etcd on DCOS.
go to <dcos-hostname>/exhibitor
and view the node tree. you should see etcd
as a child of root. delete it. then try to re-install.
from etcd-mesos.
from etcd-mesos.
Brilliant. thank you @jdef this worked.
from etcd-mesos.
Quick addition - it looks like as soon as I try to scale out etcd using marathon (going from default 1 instance to 3 as recommended) the deployment of the 3 instances fails for the same reason.
from etcd-mesos.
@spacejam is this supported? I was under the impression that cluster size
should be determined at framework startup time, and only then.
On Mon, Feb 22, 2016 at 1:11 PM, Radek Dabrowski [email protected]
wrote:
Quick addition - it looks like as soon as I try to scale out etcd using
marathon (going from default 1 instance to 3 as recommended) the deployment
of the 3 instances fails for the same reason.—
Reply to this email directly or view it on GitHub
#95 (comment)
.
from etcd-mesos.
That's correct, @jdef. Marathon starts the etcd-mesos scheduler, rather than the instances of etcd (the instances are managed by what marathon or another higher-order supervisor framework starts). Marathon will show 1 instance running because there is only 1 etcd-mesos framework running with a particular configuration. The number of etcd instances should be determined at initialization time when submitting the app definition to marathon, for instance with the CLUSTER_SIZE
env var in the provided example marathon spec:
{
"id": "etcd",
"container": {
"docker": {
"forcePullImage": true,
"image": "mesosphere/etcd-mesos:0.1.0-alpha-target-23-24-25"
},
"type": "DOCKER"
},
"cpus": 0.2,
"env": {
"FRAMEWORK_NAME": "etcd",
"WEBURI": "http://etcd.marathon.mesos:$PORT0/stats",
"MESOS_MASTER": "zk://master.mesos:2181/mesos",
"ZK_PERSIST": "zk://master.mesos:2181/etcd",
"AUTO_RESEED": "true",
"RESEED_TIMEOUT": "240",
"CLUSTER_SIZE": "3",
"CPU_LIMIT": "1",
"DISK_LIMIT": "4096",
"MEM_LIMIT": "2048",
"VERBOSITY": "1"
},
"healthChecks": [
{
"gracePeriodSeconds": 60,
"intervalSeconds": 30,
"maxConsecutiveFailures": 0,
"path": "/healthz",
"portIndex": 0,
"protocol": "HTTP"
}
],
"instances": 1,
"mem": 128.0,
"ports": [
0,
1,
2
]
}
from etcd-mesos.
actually, since you're using DCOS, you can specify the "cluster-size"
configuration option for etcd to be something other than 3, but 3 is the default and recommended unless you are willing to trade slower writes for faster reads and additional availability with a cluster of 5.
from etcd-mesos.
Related Issues (20)
- sync to latest gozookeeper library HOT 1
- etcd-mesos HA fails HOT 1
- Building inside a Docker Container failing HOT 2
- tasks not being cleaned up
- Build is failing... HOT 2
- Give etcd a Minuteman VIP HOT 2
- reject offers if there's no etcd servers to launch
- add flag to enable etcd to receive offers on clusters where all nodes have GPU resources HOT 1
- Automate steps for e2e testing HOT 2
- Upgrade to etcd 3.x
- Container base image is insecure.
- Automate publishing container image HOT 2
- Migrate to Mesos API v1
- [PROPOSAL] Allow for multiple scheduler instances HOT 1
- [PROPOSAL] Add framework deployment collision handling strategy HOT 1
- etcd Framework fails to deploy all instances rejecting resource offers HOT 2
- Mesos dns for servers? HOT 1
- etcd-mesos scheduler doesnt clean up healthcheck tcp socket HOT 1
- Discovery SRV record syntax?
- Inconsistent listen port (1026, 1025, 1027?)
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 etcd-mesos.