Skip to content

Commit

Permalink
Update the Manual document (#228)
Browse files Browse the repository at this point in the history
Add Note message for the Docker pull rate limit issue.

Signed-off-by: Yixing Jia<yixingjia@gmail.com>
  • Loading branch information
yixingjia authored Feb 23, 2021
1 parent ddd562a commit cae9e8d
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions docs/tutorial/manually-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,22 @@ autonomous edge nodes during disconnection.
$ kc ap -f config/setup/yurt-controller-manager.yaml
deployment.apps/yurt-controller-manager created
```
### Note
Since Docker turn on pull rate limit on anonymous request. You may encouter error message like "You have reached your pull rate limit. xxxx". In that case you will need to create a docker-registry secret to pull the image.
```
$kc create secret docker-registry dockerpass --docker-username=your-docker-username --docker-password='your-docker-password' --docker-email='your-email-address' -n kube-system
```
Then edit the config/setup/yurt-controller-manager.yaml
```yaml
...
containers:
- name: yurt-controller-manager
image: openyurt/yurt-controller-manager:latest
command:
- yurt-controller-manager
imagePullSecrets:
- name: dockerpass
```
## Disable the default nodelifecycle controller
To allow the yurt-controller-mamanger to work properly, we need to turn off the default nodelifecycle controller.
Expand Down

0 comments on commit cae9e8d

Please sign in to comment.