-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[fix][doc] Rewrite the steps of docker-deploy #17853
[fix][doc] Rewrite the steps of docker-deploy #17853
Conversation
### Motivation The old implementation is incompletely. ### Modification Rewrite it.
@Demogorgon314 |
I also have another idea about docker deployment, we can add a |
@Demogorgon314 @momo-jun The docker-compose.yaml has been completed at the google doc, you can review it when you have time. |
After trying the For more details, please refer to https://gist.github.com/Demogorgon314/c0d397a21c5a05b40235bb43272a4a88 |
I write the health check according to this PR https://github.com/apache/skywalking-rust/pull/9/files#diff-29d8d8c569345f7e4339e3bab5342fa39d73d2293303d372c0f00cd04ad242eb |
@Demogorgon314 Thanks for your support of my work. After verifying the changes for the health check and other optimizations, I will accept them in the google doc. And then if you have other suggestions, feel free to leave comments in the google doc. |
There are some exceptions when using the docker-compose.yaml to start up the cluster. The exception happens after 9 minutes, Is this an expected behavior? |
@liangyepianzhou Thanks for reporting the issue. Maybe you should pull the latest version of Pulsar image. See #12353 already removed the check. |
The image of the docker is configured in the docker-compose.yaml, It is the latest, right? |
Actually, "latest" is just a label, just like other versions. When you pull the ”latest“ image to local, the image will never update. You need to delete the ”latest“ image and re-pull it again. |
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.
Thanks for refreshing this document. Only a minor suggestion left.
@liangyepianzhou Thanks for your contribution! In this PR, the correct local preview screenshots are not attached in the PR description.
|
## Prepare | ||
|
||
To run Pulsar on Docker, you need to create a container for each Pulsar component: ZooKeeper, BookKeeper and broker. You can pull the images of ZooKeeper and BookKeeper separately on [Docker Hub](https://hub.docker.com/), and pull a [Pulsar image](https://hub.docker.com/r/apachepulsar/pulsar-all/tags) for the broker. You can also pull only one [Pulsar image](https://hub.docker.com/r/apachepulsar/pulsar-all/tags) and create three containers with this image. This tutorial takes the second option as an example. | ||
— |
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.
This is an obvious syntax error that fails the site build.
Please be careful when reviewing...Always previewing your changes helps.
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.
I made a suggestion to modify the description template. I think we should guarantee correctness from the process and institutional should be, rather than expecting reviewers and authors always to be correct.
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.
No. The community runs by meritocracy so reviewers should be careful. It's not irreversible to make mistake like this and I'm not blaming you here. But send a notice that you should follow the process. Adding more description hints you to follow the process also but I believe few people really read the whole description.
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.
Shouldn't there be a sanity check CI job for any documentation change in the repo if full pipeline is too expensive?
@Anonymitaet Thanks for the reminder again.
|
@liangyepianzhou I don't think it helps so much. Longer and longer templates attract little careness to read, except we add some clear failure. Basically, the doc reviewers should be careful. And a clean solution is to sort out the site build process and add a CI task to pre-commit site changes. |
@tisonkun When the PR contains more documents, we hope this document can be placed in Google Docs or other documents first so that it can be reviewed more quickly. |
@tisonkun If this PR is about documentation, he only cares about the description in the document section. If it's not about the documentation, maybe he'll just choose |
Hi @liangyepianzhou thanks for your feedback!
When talking about "local preview screenshots", it refers to the "local preview screenshots" in #14314 (comment) rather than "preview screenshots" in #17853 (comment)
Google docs is not a must for every doc PR. But if you working on a large doc set, to accelerate the review process and collaborate efficiently, it is recommended to follow the steps below: (1) Draft in a google doc In this way, you can get PRs merged faster and more smoothly. cc @DaveDuggins @momo-jun @D-2-Ed 🔹🔹🔹 Besides, I've added a simple reminder to the PR template, #17999, PTAL @liangyepianzhou @tisonkun |
@tisonkun Agree, adding a CI task to give a site changes preview is a better solution. |
We cannot now, although XD. The build scripts and relative paths are quite brittle to modularize and automatize: apache/pulsar-site#246 (comment) It still needs some efforts to refactor the build process. |
Master #17774
Motivation
The old implementation is incomplete.
Modification
Rewrite it, and add a docker-compose.yaml.
preview

### Documentation - [x] `doc`Document in the google doc: https://docs.google.com/document/d/1MS9KDvmdOBMK58kZtHlqOUl5z7oNBjPNXayP7_uu_D4/edit#heading=h.5mlhk32k72hb
Website local preview: