Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/redhat-middleware-workshops/dg8-workshop
Source for the Red Hat Data Grid 8.0 workshop content repository
https://github.com/redhat-middleware-workshops/dg8-workshop
infinispan java labs quarkus spring
Last synced: 10 days ago
JSON representation
Source for the Red Hat Data Grid 8.0 workshop content repository
- Host: GitHub
- URL: https://github.com/redhat-middleware-workshops/dg8-workshop
- Owner: RedHat-Middleware-Workshops
- Created: 2020-04-17T16:39:17.000Z (over 4 years ago)
- Default Branch: 4.10
- Last Pushed: 2023-07-29T23:23:57.000Z (over 1 year ago)
- Last Synced: 2023-07-30T00:21:23.480Z (over 1 year ago)
- Topics: infinispan, java, labs, quarkus, spring
- Homepage:
- Size: 13 MB
- Stars: 15
- Watchers: 12
- Forks: 21
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# This is the Data Grid 8.2 workshop
The workshop can be deployed on Openshift 4.3+ cluster.
It requires the DataGrid, CodeReady operators.## Contributing
Incase you find an issue; use the issues;
Incase you want to fix an issue; create a PR to the development branch## Docs/Instructions
After you have cloned this repo. Head off to the docs directory and run the runFile.sh and head of to localhost:4000 to view the documentation.## Deployment
If you are looking to deploy this workshop on Openshift 4.3:```
git clone https://github.com/redhat-cop/agnosticd
```Request an Openshift 4.3 Workshop from rhpds. Once the environment is provisioned, you should receive an email with credentials and links to your environment.
If you have generated a password less private key, you might want to do something like this:
```
cat ~/.ssh/id_ansible.pub | ssh [email protected] "mkdir -p ~/.ssh && chmod 700 ~/.ssh && cat >> ~/.ssh/authorized_keys"
```## Review the defaults variable file
* This file link:./defaults/main.yml[./defaults/main.yml] contains all the variables you need to define to control the deployment of your workload.
* The variable *ocp_username* is mandatory to assign the workload to the correct OpenShift user.
* A variable *silent=True* can be passed to suppress debug messages.
* You can modify any of these default values by adding `-e "variable_name=variable_value"` to the command line### Deploy a Workload with the `ocp-workload` playbook [Mostly for testing]
```
TARGET_HOST="bastion.cph-05c1.openshiftworkshop.com"
OCP_USERNAME="username"
WORKLOAD="ocp4-workload-jdg-workshop"
GUID=05c1
SSH_KEY=~/.ssh/id_rsa
AWS_REGION=us-east-1# a TARGET_HOST is specified in the command line, without using an inventory file
ansible-playbook -i ${TARGET_HOST}, ./configs/ocp-workloads/ocp-workload.yml \
-e"ansible_ssh_private_key_file=${SSH_KEY}" \
-e"ansible_user=${OCP_USERNAME}" \
-e"ocp_username=${OCP_USERNAME}" \
-e"ocp_workload=${WORKLOAD}" \
-e"silent=False" \
-e"guid=${GUID}" \
-e"aws_region=${AWS_REGION}" \
-e"num_users=50" \
-e"subdomain_base=${TARGET_HOST}" \
-e"ACTION=create"```
### What does the installer do?
- Install CodeReady Workspace Operator in namespace `codeready`
- Creates project for each user e.g. `user1-cache`
- Creates codeready workspaces for each user and sets it with a Quarkus ready devfile.
- Installs DataGrid Operator and subscribes each user project to it.
- Create a `guides` project with the latest instruction guides for attendees