OpenShift Registry Operations: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 14: Line 14:
=Deploy a Registry=
=Deploy a Registry=


Normally, this is not required as the standard installation procedure installs an [[OpenShift_Concepts#Integrated_Docker_Registry|integrated registry]] as part of the "[[OpenShift_Concepts#Default_Project|default]]" project. In case the registry was not installed as part of the procedure, and it is needed, this is the procedure:
Normally, this is not required as the standard installation procedure installs an [[OpenShift_Concepts#Integrated_Docker_Registry|integrated registry]] as part of the "[[OpenShift_Concepts#Default_Project|default]]" project. In case the registry was not installed as part of the procedure, or we want to deploy a registry dedicated to a project, use the following procedure.
 
If the registry needs to be deployed into a project other than "default", change the [[OpenShift_Command_Line_Tools#Context|current context]] by running oc project from the same account used to run oadm:
 
oc project <''project-name''>
 
If the current context was changed to contain a different project than "default", for the account used to execute [[oadm]], restore the "default" project context:
 
oc project default
 


<font color=red>TODO: https://docs.openshift.com/container-platform/latest/install_config/registry/deploy_registry_existing_clusters.html#deploy-registry</font>
<font color=red>TODO: https://docs.openshift.com/container-platform/latest/install_config/registry/deploy_registry_existing_clusters.html#deploy-registry</font>

Revision as of 00:23, 19 October 2017

External

Internal

Overview

Image Registries

Deploy a Registry

Normally, this is not required as the standard installation procedure installs an integrated registry as part of the "default" project. In case the registry was not installed as part of the procedure, or we want to deploy a registry dedicated to a project, use the following procedure.

If the registry needs to be deployed into a project other than "default", change the current context by running oc project from the same account used to run oadm:

oc project <project-name>

If the current context was changed to contain a different project than "default", for the account used to execute oadm, restore the "default" project context:

oc project default


TODO: https://docs.openshift.com/container-platform/latest/install_config/registry/deploy_registry_existing_clusters.html#deploy-registry