このコンテンツは選択した言語では利用できません。
Data Grid Operator Quickstart
Data Grid Documentation リンクのコピーリンクがクリップボードにコピーされました!
Abstract
The Data Grid Operator provides operational intelligence and reduces management complexity for deploying Data Grid clusters on OpenShift.
Authors: Galder Zamarreño
Technologies: Data Grid, Operator, Kubernetes, OKD, Red Hat OpenShift
1. Storing and Retrieving Data on Data Grid Clusters リンクのコピーリンクがクリップボードにコピーされました!
Prerequisites
Complete the procedures to create a Red Hat Data Grid cluster with the Data Grid Operator and then retrieve credentials for the application user. See the following topics in the Data Grid documentation:
Procedure
Expose the Data Grid service for external access.
oc expose svc example-rhdg
$ oc expose svc example-rhdg
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Create local variables for the public route and credentials.
Export the host for the public route to a local variable.
export DATAGRID_HOST=$(oc get route example-rhdg -o jsonpath="{.spec.host}")
$ export DATAGRID_HOST=$(oc get route example-rhdg -o jsonpath="{.spec.host}")
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Export the generated password from the secret to a local variable.
export PASS=$(oc get secret example-rhdg-app-generated-secret -o jsonpath="{.data.password}" | base64 --decode)
$ export PASS=$(oc get secret example-rhdg-app-generated-secret -o jsonpath="{.data.password}" | base64 --decode)
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
Store some data through the HTTP endpoint.
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Retrieve the data from the Data Grid cluster.
Copy to Clipboard Copied! Toggle word wrap Toggle overflow