Skip to content

Commit

Permalink
Update the Manual document
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<[email protected]>
  • Loading branch information
yixingjia committed Feb 23, 2021
1 parent e5c45b6 commit 23c1133
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 23c1133

Please sign in to comment.