summaryrefslogtreecommitdiff
path: root/doc/user
diff options
context:
space:
mode:
authorJames Ramsay <jramsay@gitlab.com>2018-06-05 23:21:35 +0000
committerJames Ramsay <jramsay@gitlab.com>2018-06-05 23:21:35 +0000
commitf302f46c636131924a07fdaf46d8efd2740dd22d (patch)
tree9cb9a8d431f739eee0eaee54a20e77fa280ef461 /doc/user
parenta34666e655347f66fab578a134b568e997b7902e (diff)
downloadgitlab-ce-f302f46c636131924a07fdaf46d8efd2740dd22d.tar.gz
Add registry debug server docs
Diffstat (limited to 'doc/user')
-rw-r--r--doc/user/project/container_registry.md19
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/user/project/container_registry.md b/doc/user/project/container_registry.md
index 9c5e3509046..bc01cfc276c 100644
--- a/doc/user/project/container_registry.md
+++ b/doc/user/project/container_registry.md
@@ -269,9 +269,28 @@ What does this mean? This strongly suggests that the S3 user does not have the r
The solution: check the [IAM permissions again](https://docs.docker.com/registry/storage-drivers/s3/).
Once the right permissions were set, the error will go away.
+#### Enable the registry debug server
+
+The optional debug server can be enabled by setting the registry debug address
+in your `gitlab.rb` configuration.
+
+```
+registry['debug_addr'] = "localhost:5001"
+```
+
+After adding the setting, [reconfigure] GitLab to apply the change.
+
+Use curl to request debug output from the debug server:
+
+```bash
+curl localhost:5001/debug/health
+curl localhost:5001/debug/vars
+```
+
[ce-4040]: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/4040
[ce-11845]: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/11845
[ce-17894]: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/17894
[docker-docs]: https://docs.docker.com/engine/userguide/intro/
[pat]: ../profile/personal_access_tokens.md
[pdt]: ../project/deploy_tokens/index.md
+[reconfigure]: ../../administration/restart_gitlab.md#omnibus-gitlab-reconfigure \ No newline at end of file