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

[update] Setting Up a Private Docker Registry with LKE and OBJ storage #6744

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,14 @@ If you have not yet [generated an Object Storage key pair](/docs/products/storag
secure: true
bucket: registry
```

{{< note >}}
To ensure that all the layers are uploaded when you push the image to your Docker registry, set the value of the `multipartcopythresholdsize` in the docker-configs.yaml file as follows:
```
storage:
s3:
multipartcopythresholdsize: 5368709120
```
{{< /note >}}
- The NGINX Ingress annotation `nginx.ingress.kubernetes.io/proxy-body-size: "0"` disables a [maximum allowed size client request body](http://nginx.org/en/docs/http/ngx_http_core_module.html#client_max_body_size) check and ensures that you won't receive a `413` error when pushing larger Docker images to your registry. The values for `nginx.ingress.kubernetes.io/proxy-read-timeout: "6000"` and `nginx.ingress.kubernetes.io/proxy-send-timeout: "6000"` are sane values to begin with, but [may be adjusted as needed](https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/annotations/#custom-timeouts).

1. Deploy your Docker registry using the configurations you created in the previous step:
Expand Down