Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gautric/rh-datagrid
https://github.com/gautric/rh-datagrid
Last synced: 10 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/gautric/rh-datagrid
- Owner: gautric
- Created: 2022-04-12T18:07:58.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-04-19T14:40:59.000Z (over 2 years ago)
- Last Synced: 2024-10-20T08:58:39.737Z (18 days ago)
- Language: Java
- Size: 39.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# rh-datagrid
From custom fork from
https://github.com/redhat-developer/redhat-datagrid-tutorials
## How to use with ansible
NOTE: You need cluster admin account
Connect to our OCP instance :
oc login --token=${API_TOKEN} --server=${OCP_INSTANCE_URL_PORT}
Go to ansible playbook directorycd ansible
Execute ansible commandansible-playbook playbook.yaml
### Variables
project_name: your-project
application_name: your-app
datagrid_cluster_name: your-dg-cluster
datagrid_cluster_rep: 3### Implementation
This ansible playbook (simple and stupid) creates several K8S objects in addition of the RHDG Operator :
* Namespace / project
* RHdatagrid cluster
* BuildConfig
* ImageStream
* ConfigMap
* DeploymentConfigDeploymentConfig injects the RHDG certificate into pod for secure connection.
## Links
* https://access.redhat.com/documentation/en-us/red_hat_data_grid/8.3/guide/2c250805-3704-415c-84a6-ebe96f3cc473#_6d35e485-c78f-4fc3-aca1-aa7549590f9d
* https://access.redhat.com/documentation/en-us/red_hat_data_grid/8.0/html/running_data_grid_on_openshift/securing_endpoints
* https://infinispan.org/docs/dev/titles/hotrod_java/hotrod_java.html## Useful commands
oc start-build redhat-datagrid-tutorials-git --follow
oc get secret/myispncluster-cert-secret -o json | jq '.data["tls.crt"]' -r | base64 -d