The software templates included in this repository are used within Red Hat Developer Hub, and allow platform engineering teams to provide developers with supported approaches through a self-service catalog. Read the upstream Backstage docs for more on software templates.
A collection of the templates is used as a workshop to deploy Red Hat OpenShift AI (RHOAI), see Using the Templates for more details.
The RHOAI workshop templates deploy OpenShift AI with GitOps through ArgoCD applications. Developer Hub has a concept of entities to offer a logical representation of those components. We built the ability to create entities in Developer Hub for the following reasons:
- Show a representation of our infrastructure using well-known relations.
- Entity relationships and associated entity metadata are also defined through GitOps, so if persistent data in Developer Hub was lost, the defined entities in Git can be reimported to Developer Hub.
- AI Assistant DevSpaces Configuration and Continue Workspace are not defined entities in our project, as we chose for our end user to configure OpenShift AI workspaces ephemerally. They could in theory be defined entities if we wanted to persist this.
- Red Hat OpenShift
- Red Hat Developer Hub (tested with 1.2 and 1.3)
Many of the templates are used to install Red Hat OpenShift AI, and this knowledgebase article lists supported configurations for it.
Existing software templates, such as the ones provided in this repository, can be imported to Red Hat Developer Hub. For convenience, we have grouped the templates together using Locations. The following Location is used to import all templates in this repository.
In the app-config.yaml configuration file, modify the catalog.rules section to include a rule for templates, and configure the catalog.locations section to point to the template that you want to add, as shown in the following example:
# ...
catalog:
rules:
- allow: [Component, API, System, Resource, Location, Template] # <-- add Template to your existing list
locations:
- type: url
target: https://github.com/poc-examples/software-templates/blob/main/catalogs/templates.yaml
Afterwards, recycle the Developer Hub pod so it can read the new app-config.yaml configuration file. See the documentation for more on importing an existing software template.
To run the RHOAI workshop, templates should be executed in this order:
- Create a GitLab Root Self-Service Repository (One-Time Use)
- Red Hat OpenShift AI - Data Science Project
- Red Hat OpenShift AI - Data Connector
- Red Hat OpenShift AI - Data Science Sync Model
- Red Hat OpenShift AI - Single Model Server
- DevSpaces - Continue Configuration
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
- Christopher Engleby - poc-examples
- Kevin Chung
- Connor Wooley
This project is licensed under the MIT License