-
Notifications
You must be signed in to change notification settings - Fork 2
关于etcd cluster 和 discovery 的试验记录 #4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
discovery/README.md
Outdated
| 编辑 `Vagrantfile`,引入两个修改: | ||
|
|
||
| 1. `$num_instances = 1` 改成 `$num_instances = 4`,这样机群里有四个nodes。 | ||
| 1. `$vm_memory = 1024` 改成 `$vm_memory = 2048`,这样每个node有4GB内存。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
$vm_memory = 2048应该是2GB内存?typo?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
|
文档里提到 CoreOS 中自带的 etcd 很老,所以应该在 docker 里运行最新的 etcd 程序。其实当前的 CoreOS 里自带了 etcd 和 etcd2 两个程序,etcd2 的版本在 CoreOS 1010.5.0 中是 2.3.1。我觉得对于 CoreOS 自带的程序可能不需要用 docker 来运行。 |
|
谢谢总理指正。 @lipeng-unisound |
|
|
||
| ``` | ||
| docker run --net=host --rm --name etcd quay.io/coreos/etcd:v2.3.2 | ||
| vagrant ssh core-04 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
上行的 core-01 和这行的 core-04 不一致
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
|
完成了discovery试验:
请大家review。 @lipeng-unisound @sunxs1101 @jiamliang @pineking @vienlee |
No description provided.