- Use the OpenShift GitOps Blank Environment.
- Click
Order. - Activity:
Practice / Enablement. - Purpose:
Practice for a workshop.
You can watch a demonstration of deploying the Smart Aquaculture Workshop on a new Red hat OpenShift Demo cluster here on Youtube:
- Clone the smart-aquaculture-rhsummit repo to your computer.
- Connect to your target OpenShift cluster in the CLI with the oc command.
- Update the
WORKBENCH_NAMESsection of theroles/overlay-vars/vars/overlay-vars.yamlfile 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-rhsummitrepo, 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.
ansible-playbook playbooks/deploy-all.yaml \
-e OPENSHIFT_APPS_DOMAIN=apps... \
-e WORKBENCH_COUNT=3After 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.