Cloud-host a graph database using Kubernetes
Quickly and easily deploy OrientDB as a container using Kubernetes
Graph databases, such as OrientDB, store data in a graph structure consisting of nodes, edges, and properties. And by design, they allow simple and fast retrieval of complex hierarchical structures in a much more efficient manner than relational databases. This developer pattern shows you how to quickly host OrientDB on the IBM Cloud Kubernetes Service by using Kubernetes APIs. Cloud-hosted OrientDB can be leveraged for easier collaboration across your development and test teams.
Graph databases, such as OrientDB, store data in a graph structure consisting of nodes, edges, and properties. Graph databases, by design, allow simple and fast retrieval of complex hierarchical structures in a much more efficient manner than relational databases. Gremlin is a standardized graph traversal language for retrieving data from graph databases (the way SQL is for RDBMS).
We will show you how to quickly deploy OrientDB on the IBM Cloud Kubernetes Service, so you can leverage it for your team’s development and test purposes.
The IBM Cloud Kubernetes Service combines Docker and Kubernetes to deliver powerful tools to automate the deployment, operation, scaling, and monitoring of containerized apps over a cluster of independent compute hosts by using the Kubernetes APIs.
This developer pattern provides step-by-step instructions for:
- Deploying OrientDB container on IBM Cloud Kubernetes.
- Storing the desired OrientDB password in Kubernetes secret.
- Configuring the persistent storage for OrientDB volumes by making use of Kubernetes persistent volume claim.
- Opening the deployed OrientDB’s console, as well as the Gremlin console, by making use of the Kubernetes feature of getting a shell to a running container.
- Log in to IBM Cloud CLI and initialize the IBM Cloud Kubernetes Service plugin.
- Set context for Kubernetes CLI by downloading IBM Cloud Kubernetes configuration files and setting the KUBECONFIG environment variable.
- Save desired OrientDB password in Kubernetes secret.
- Configure persistent storage for OrientDB volumes.
- Deploy OrientDB container and NodePort service to Kubernetes cluster.
- Access OrientDB dashboard by using the public IP address of worker node and the NodePort mapped to OrientDB’s HTTP port.
Find the detailed steps for this pattern in the README.