Skip to content
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

docker: add scripts for packing docker image & local docker cluster d… #335

Merged
merged 9 commits into from Jun 21, 2019

Conversation

neverchanje
Copy link
Contributor

@neverchanje neverchanje commented Jun 6, 2019

…eployment

What problem does this PR solve?

Support deployment of local docker cluster that can help diagnose bugs
on the unstable network environment using tools like pumba.

What is changed and how it works?

Add scripts for running docker onebox. Underhood I use docker-compose to start
the cluster, it will start 5 replicas and 2 meta running in docker, along with 1
zookeeper (by ./start_zk.sh, not docker).
The cluster configuration can be specified in cluster_args.sh.

asciicast

Check List

Tests

  • Manual test (add detailed scripts or steps below)

Related changes

  • Need to update the documentation

@neverchanje
Copy link
Contributor Author

pack_server 和 pack_tools 还做了改动:

后面 release 包名不会带 "ubuntu" / "centos",因为没有意义,pegasus 的包和它编译的时候用哪个 linux 发行版没有关系。真正有关系的是 glibc 的版本,MySQL 的二进制下载也是让用户选择 glibc 2.12 的(glibc 向上兼容),不会标记是哪个 linux 发行版编译的。

后面 Pegasus 每次发版都会打包用 glibc 2.12 编译的 binary 供社区用户下载。

Copy link
Contributor

@vagetablechicken vagetablechicken left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@qinzuoyan
Copy link
Contributor

pack_client为什么不改呢?

@neverchanje
Copy link
Contributor Author

pack_client为什么不改呢?

fixed

qinzuoyan
qinzuoyan previously approved these changes Jun 14, 2019
@neverchanje neverchanje merged commit 040af1e into apache:master Jun 21, 2019
@neverchanje neverchanje deleted the docker branch June 21, 2019 07:19
@neverchanje neverchanje mentioned this pull request Jul 12, 2019
neverchanje pushed a commit to neverchanje/pegasus that referenced this pull request Jul 13, 2019
apache#335)

Former-commit-id: 462e051dd062f8cdf8384563774ec67c015eef70 [formerly 040af1e]
Former-commit-id: 1d8113a5dd337da4df2ed2a88c03bc340b03ced6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants