Important
This repository is currently in development migrating from Road Core to Lightspeed Core. The Road Core specific source code can be found in the road-core branch, and v0.1.0 is the final stable release for Road Core related support.
- yq v4 and above.
- Access to a Kubernetes (or OCP) cluster with permissions to edit CRs and apply resources to namespaces.
This setup script was tested with Red Hat Developer Hub (RHDH) v1.4 and its supported OCP versions:
- v4.14
- v4.15
- v4.16
- v4.17
This repository holds multiple setup scripts you can use to deploy resources.
When using the setup capabilities of this repository, Lightspeed Core and Llama Stack will be deployed together, each as a separate service.
The Llama Stack image is built from https://github.com/redhat-ai-dev/llama-stack and contains the latest needs of our team. You can override the run.yaml that is built into this image by adding your desired run.yaml file (named as run.yaml) to the /resources directory.
For information about the Lightspeed Core Service (LCS) sidecar, including configuration and deployment, see LCS-SIDECAR.md.
For information about the Feedback Harvester, see FEEDBACK-HARVESTER.md.
| Command | Description |
|---|---|
| generate-resources | Creates copies of all required .yaml resource files for editing. |
| generate-env | Create copies of all required .env files for local editing. |
| generate-all | Run both generate-resources and generate-env. |
| build-harvester | Builds the Feedback Harvester image. |
| deploy-lcs | Deploys the Lightspeed Core and Llama Stack sidecars. |
| deploy-harvester | Deploys the Feedback Harvester sidecar. |
| deploy-postgres | Deploys the PostgreSQL database. |
| remove-lcs | Removes the Lightspeed Core and Llama Stack sidecars. |
| remove-harvester | Removes the Feedback Harvester sidecar. |
| remove-postgres | Removes the PostgreSQL database. |
| remove-all | Removes all resources from all deploy commands (full wipe). |