-
Notifications
You must be signed in to change notification settings - Fork 733
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
K8docsupdate #2306
K8docsupdate #2306
Changes from 2 commits
bfa4178
8a18663
e4dbdf0
5243a1a
c144551
c39155f
dfac6d4
57722e7
c14599c
c67987b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,6 +20,22 @@ Analytics Zoo hyperzoo image has been built to easily run applications on Kubern | |
sudo docker pull intelanalytics/hyper-zoo:0.8.0-SNAPSHOT-2.4.3-0.17 | ||
``` | ||
|
||
To speed up pulling the image, config the Docker daemon. Edit `/etc/docker/daemon.json` and add the registry-mirrors key and value: | ||
|
||
```bash | ||
{ | ||
"registry-mirrors": ["https://docker.mirrors.ustc.edu.cn/"] | ||
} | ||
``` | ||
|
||
Restart dockerd: | ||
|
||
```bash | ||
sudo systemctl restart docker | ||
``` | ||
|
||
Then pull the image. | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. the commands are different in different os and versions of Docker There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. updated |
||
- Launch a k8s client container: | ||
|
||
Please note the two different containers: **client container** is for user to submit zoo jobs from here, since it contains all the required env and libs except hadoop/k8s configs; executor container is not need to create manually, which is scheduled by k8s at runtime. | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,6 +19,22 @@ Analytics Zoo hyperzoo image has been built to easily run applications on Kubern | |
sudo docker pull intelanalytics/hyper-zoo:0.8.0-SNAPSHOT-2.4.3-0.17 | ||
``` | ||
|
||
To speed up pulling the image, config the Docker daemon. Edit `/etc/docker/daemon.json` and add the registry-mirrors key and value: | ||
|
||
```bash | ||
{ | ||
"registry-mirrors": ["https://docker.mirrors.ustc.edu.cn/"] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. these mirrors are only for China users, yes? I don't think you should make it as a default example; instead, add a section on how to add mirror for China users. |
||
} | ||
``` | ||
|
||
Restart dockerd: | ||
|
||
```bash | ||
sudo systemctl restart docker | ||
``` | ||
|
||
Then pull the image. | ||
|
||
- Launch a k8s client container: | ||
|
||
Please note the two different containers: **client container** is for user to submit zoo jobs from here, since it contains all the required env and libs except hadoop/k8s configs; executor container is not need to create manually, which is scheduled by k8s at runtime. | ||
|
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.
Add a subsection "Speed up pulling image by adding mirrors", and put the new contents in that subsection. Describe it in a generic fashion, and use mirror in China as an example.