https://github.com/computate-org/smart-aquaculture-rhsummit
https://github.com/computate-org/smart-aquaculture-rhsummit
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/computate-org/smart-aquaculture-rhsummit
- Owner: computate-org
- Created: 2025-02-07T19:43:41.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-19T15:16:24.000Z (about 1 year ago)
- Last Synced: 2025-07-05T07:07:53.851Z (12 months ago)
- Language: JavaScript
- Size: 294 KB
- Stars: 0
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# How to deploy the Smart Aquaculture workshop to the Red Hat Demo Platform
## Request a cluster on the Red Hat Demo Platform
- Use the [OpenShift GitOps Blank Environment](https://catalog.demo.redhat.com/catalog/babylon-catalog-prod?category=Open_Environments&item=openshift-cnv.ocp4-cnv-gitops.prod).
- Click `Order`.
- Activity: `Practice / Enablement`.
- Purpose: `Practice for a workshop`.
## How to deploy the Smart Aquaculture workbench
You can watch a demonstration of deploying the Smart Aquaculture Workshop on a new Red hat OpenShift Demo cluster here on Youtube:
https://youtu.be/2AIGJAQWxGY
- Clone the [smart-aquaculture-rhsummit](https://github.com/computate-org/smart-aquaculture-rhsummit) repo to your computer.
- Connect to your target OpenShift cluster in the CLI with the oc command.
- Update the `WORKBENCH_NAMES` section of the `roles/overlay-vars/vars/overlay-vars.yaml` file to add as many users as you want to deploy. These vars are preconfigured to work with OpenShift Local by default, so customizations are required for other OpenShift clusters.
- Inside of the `smart-aquaculture-rhsummit` repo, run the Ansible Playbook to deploy all features.
There are 2 required variables to define, the OpenShift apps domain, and the number of workbenches to deploy.
```bash
ansible-playbook playbooks/deploy-all.yaml \
-e OPENSHIFT_APPS_DOMAIN=apps... \
-e WORKBENCH_COUNT=3
```
After the Ansible scripts complete, there will be OpenShift Jobs running in each of the workbench-user namespaces to finish setting up the VSCode environments for each user. Any user with the `WORKBENCH_ADMIN: true` variable in the overlay-vars role will have extra tasks performed to load the FIWARE related AI model into the search engine.