| Summary: | [DOCS] Missed configuration explanation for Satellite or other mirror registry | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Kenjiro Nakayama <knakayam> |
| Component: | Documentation | Assignee: | Brandi Munilla <bmcelvee> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Johnny Liu <jialiu> |
| Severity: | medium | Docs Contact: | Vikram Goyal <vigoyal> |
| Priority: | medium | ||
| Version: | 3.2.1 | CC: | aos-bugs, erich, jokerman, mmccomas |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-07-18 17:50:15 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Kenjiro Nakayama
2016-09-12 01:35:46 UTC
I'm sorry for my typo. "millar->mirror" Beside specify "oreg_url" and "openshift_examples_modify_imagestreams" to use a mirror registry, we also need specify "openshift_docker_additional_registries" and "openshift_docker_insecure_registries", especially "openshift_docker_insecure_registries". But I did not see that is mentioned in the PR. If the mirror registry is secured registry, openshift_docker_insecure_registries would be necessary. However, It is not mandatory, for example when server side is NOT secured registry, or when client side installed cert corectory.
So, how about adding side-note like:
~~~
note: Depends on your requirement, other options such as openshift_docker_insecure_registries or openshift_docker_additional_registries might be worth to configure.
~~~
(Sorry Brandi, please correct my bad English...)
> Jonny,
Do you have an objection or any other idea?
> > Jonny,
>
> Do you have an objection or any other idea?
Looks good to me.
Thanks! I updated the PR. Could you help me clarify the purpose statements for `openshift_docker_additional_registries` and `openshift_docker_insecure_registries`? Once set openshift_docker_additional_registries, its value will be added into "ADD_REGISTRY" line in /etc/sysconfig/docker, here I will reference the explanation for "ADD_REGISTRY". # If you want to add your own registry to be used for docker search and docker # pull use the ADD_REGISTRY option to list a set of registries, each prepended # with --add-registry flag. The first registry added will be the first registry # searched. ADD_REGISTRY='--add-registry registry.access.redhat.com --add-registry example.com' Once set openshift_docker_insecure_registries, its value will be added into "INSECURE_REGISTRY" line in /etc/sysconfig/docker, here I will reference the explanation for "INSECURE_REGISTRY". # If you have a registry secured with https but do not have proper certs # distributed, you can tell docker to not look for full authorization by # adding the registry to the INSECURE_REGISTRY line and uncommenting it. INSECURE_REGISTRY='--insecure-registry example.com' Thank you! I updated the PR with the explanations. Seem good to me now. Commits pushed to master at https://github.com/openshift/openshift-docs https://github.com/openshift/openshift-docs/commit/6a969faa8f2125da2bc48b039a9dcef1398f3612 Bug 1375034 Added Configuring a Regsitry Location https://github.com/openshift/openshift-docs/commit/74696b1f0b45be7022a343a05a963cd574a4ebe3 Merge pull request #4466 from bmcelvee/BZ1375034 Bug 1375034 Added Configuring a Regsitry Location Link to documentation on Customer Portal: https://access.redhat.com/documentation/en-us/openshift_container_platform/3.5/html-single/installation_and_configuration/#disconnected-post-installation-changes |