Which Versions of the Templates and ImageStreams to Import into OpenShift
Issue
- Working on an OSE upgrade from 3.1 to 3.2 using the manual upgrade process
- Updating the default image streams and templates section following the documentation.
- Around step #2 of that section where it says to run the following commands:
# oc create -n openshift -f /usr/share/openshift/examples/image-streams/image-streams-rhel7.json
# oc create -n openshift -f /usr/share/openshift/examples/image-streams/dotnet_imagestreams.json
# oc create -n openshift -f /usr/share/openshift/examples/db-templates
# oc create -n openshift -f /usr/share/openshift/examples/quickstart-templates
# oc create -n openshift -f /usr/share/openshift/examples/xpaas-streams
# oc create -n openshift -f /usr/share/openshift/examples/xpaas-templates
# oc replace -n openshift -f /usr/share/openshift/examples/image-streams/image-streams-rhel7.json
# oc replace -n openshift -f /usr/share/openshift/examples/db-templates
# oc replace -n openshift -f /usr/share/openshift/examples/quickstart-templates
# oc replace -n openshift -f /usr/share/openshift/examples/xpaas-streams
# oc replace -n openshift -f /usr/share/openshift/examples/xpaas-templates
-
The files at the location seem to be older. Should I be running these commands using the .json files found under
/usr/share/ansible/openshift-ansible/roles/openshift_examples/files/examples/v1.3/instead? -
Similiar issue in section 3.3.11 with the
metrics-deployer.yamltemplate in/usr/share/ansible/openshift-ansible/roles/openshift_examples/files/examples/v1.3/infrastructure-templates/enterprisebecause the one found in/usr/share/openshift/examplesis old. -
The files under
/usr/share/openshift/examples/are not associated with a RPM package while the ones under/usr/share/ansible/openshift-ansible/roles/openshift_examples/files/examples/v1.3/are -
Should I be using the v1.2 or v1.3 folder under
/usr/share/ansible/openshift-ansible/roles/openshift_examples/files/examples
Environment
- Red Hat OpenShift Container Platform
- 3.1
- 3.2
- 3.3
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
