You can install the Template service Broker to gain access to the template applications that it provides.
The Template service Broker is deprecated in OpenShift Container Platform 4. Equivalent and better functionality is present in the Operator Framework and Operator Lifecycle Manager (OLM). |
The Template service Broker gives the service catalog visibility into the default Instant App and Quickstart templates that have shipped with OpenShift Container Platform since its initial release. The Template service Broker can also make available as a service anything for which an OpenShift Container Platform template has been written, whether provided by Red Hat, a cluster administrator or user, or a third-party vendor.
By default, the Template service Broker shows objects that are globally
available from the openshift
project. It can also be configured to watch any
other project that a cluster administrator chooses.
The Template service Broker is not installed by default in OpenShift Container Platform 4.
You have installed the service catalog.
The following procedure installs the Template service Broker Operator using the web console.
Create a namespace.
Navigate in the web console to Administration → Namespaces and click Create Namespace.
Enter openshift-template-service-broker
in the Name field and click Create.
The namespace must start with openshift- .
|
Navigate to the Catalog → OperatorHub page. Verify that the openshift-template-service-broker
project is selected.
Select Template service Broker Operator.
Read the information about the Operator and click Install.
Review the default selections and click Subscribe.
Next, you must start the Template service Broker in order to access the template applications it provides.
After you have installed the Template service Broker Operator, you can start the Template service Broker using the following procedure.
You have installed the service catalog.
You have installed the Template service Broker Operator.
Navigate in the web console to Catalog → Installed Operators and select the openshift-template-service-broker
project.
Select the Template service Broker Operator.
Under Provided APIs, click Create New for Template service Broker.
Review the default YAML and click Create.
Verify that the Template service Broker has started.
After the Template service Broker has started, you can view the available template applications by navigating to Catalog → Developer Catalog and selecting the service Class checkbox. Note that it may take a few minutes for the Template service Broker to start and the template applications to be available.
If you do not yet see these service classes, you can check the status of the following items:
Template service Broker Pod status
From the Workloads → Pods page for the openshift-template-service-broker
project, verify that the Pod that starts with apiserver-
has a status of
Running and readiness of Ready.
Cluster service broker status
From the Catalog → Broker Management → service Brokers page, verify that the template-service-broker service broker has a status of Ready.
service catalog controller manager Pod logs
From the Workloads → Pods page for the
openshift-service-catalog-controller-manager project, review the logs for
each of the Pods and verify that you see a log entry with the message
Successfully fetched catalog entries from broker
.