NebulaGraph
Introduction
NebulaGraph is an open-source distributed graph database built for super large-scale graphs with milliseconds of latency. It delivers high performance, scalability, and availability for storing and processing graph data.
This Helm chart deploys NebulaGraph cluster using the NebulaGraph Operator on Kubernetes.
Installation
To install NebulaGraph, run:
make install
Prerequisites
NebulaGraph Operator must be installed first:
helm repo add nebula-operator https://vesoft-inc.github.io/nebula-operator/charts
helm install nebula-operator nebula-operator/nebula-operator --namespace nebula-operator --create-namespace
Usage
After installation:
# Check if NebulaGraph cluster is running
kubectl get pods -n nebula
# Access Graphd service
kubectl port-forward svc/nebula-graphd -n nebula 9669:9669
Configuration
The default configuration includes:
- NebulaGraph cluster with 3 graphd, 3 metad, and 3 storaged nodes
- Persistent storage for data
- Default port configurations
Components
- Graphd: Query engine for graph processing
- Metad: Metadata management
- Storaged: Storage engine for graph data
Connecting to NebulaGraph
Use Nebula Console to connect:
# Install nebula-console
# Connect to the cluster
./nebula-console -addr 127.0.0.1 -port 9669 -u root -p nebula
Graph Data Model
NebulaGraph uses:
- Vertices: Represent entities
- Edges: Represent relationships
- Tags: Define vertex types
- Edge Types: Define relationship types
Uninstall
To uninstall NebulaGraph:
make uninstall