Skip to main content

Graph Lakehouse Deployment with Custom Settings Profile and Licensing

Overview and Use case​

This Custom Resource (CR) manifest defines a Graph Lakehouse database deployment tailored for specialized workloads requiring fine-tuned engine parameters. It demonstrates how to apply custom runtime settings directly through the operator while configuring the licensing layer for database activation.

Licensing Configuration​

The operator supports database licensing via the spec.db.licensing block. In this configuration, legacy CSI licensing is used:

  • licenseType: CSI: Selects the legacy CSI licensing mechanism.
  • csi.legacyLicense: Holds the activation license key string required to validate and run the Graph Lakehouse cluster.

Key Highlights​

  • Custom Settings Profile: Uses settingsProfile: "custom" to override standard profile defaults (such as standalone or anzo).
  • Granular Engine Configuration: Uses settingsConfContent to supply key-value configuration flags directly into settings.conf (e.g., controlling protocol support and tuning memory/spill thresholds).
  • CSI Legacy Licensing: Embeds license credentials within the CR spec for automated license propagation.
  • Dedicated DB Container Spec: Configures the anzograph-db container with the updated artifact image aartifacts.altair.com/graph-docker/anzograph-db:3.5.0.

Custom Resource Definition​

apiVersion: anzograph.clusters.cambridgesemantics.com/v2
kind: AnzoGraph
metadata:
name: azg-custom-settings
namespace: "${NAMESPACE}"
spec:
db:
licensing:
licenseType: CSI
csi:
legacyLicense: "${CSI_LICENSE}"
settingsProfile: "custom"
settingsConfContent:
enable_sparql_protocol: "false"
xray_sth_spool_maxgb: "4"
nodeConfig:
spec:
replicas: 1
serviceName: anzograph-azg-custom
selector:
matchLabels:
app_mgmt: anzograph-mgmt-grpc
app_data: anzograph-data-grpc
template:
metadata:
labels:
app_mgmt: anzograph-mgmt-grpc
app_data: anzograph-data-grpc
spec:
serviceAccountName: anzograph-operator
containers:
- name: anzograph-db
image: aartifacts.altair.com/graph-docker/anzograph-db:3.5.0