Self-Hosted Deployment

You can deploy Digital Twins for Apache AGE using Docker or Helm. The preferred method is Helm for Kubernetes environments.

Helm Chart Deployment

  1. Add the Konnektr Helm repository:
    helm repo add konnektr https://konnektr-io.github.io/charts
    
  2. Install the AgeDigitalTwins chart:
    helm install my-agedigitaltwins konnektr/agedigitaltwins --values my-values.yaml
    
  3. Verify the installation:
    kubectl get pods
    

Helm Chart Configuration

The Helm chart can be customized using a values.yaml file. Below are some of the most important configuration options:

  • api.logLevel: Set the log level (Error, Warning, Information, Debug, Trace).
  • api.openTelemetry.enabled: Enable OpenTelemetry integration.
  • api.resources: Set resource requests and limits for the API pods.
  • api.service.type: Service type (ClusterIP, NodePort, etc.).
  • api.ingress.enabled: Enable ingress for external access.
  • cluster.instances: Number of PostgreSQL instances.
  • cluster.storage.size: Persistent storage size for the database.
  • backups.enabled: Enable or disable backups.
  • events.config.eventSinks: Configure event sinks (Kafka, Kusto, MQTT, etc.).

Example values.yaml

api:
  logLevel: "Warning"
  resources:
    limits:
      cpu: 500m
      memory: 512Mi
    requests:
      cpu: 250m
      memory: 256Mi
  service:
    type: ClusterIP
    port: 8080
cluster:
  instances: 2
  storage:
    size: 2Gi
backups:
  enabled: false

For a full list of configuration options, see the values.yaml file in the Helm chart.