Resources and labels

The ArangoDB operator will create the following Kubernetes resources for specified ArangoDB deployment models.

Single server

For a single server deployment, the following k8s resources are created:

  • Pod running ArangoDB single server named <deployment-name>.
    • Labels:
      • app=arangodb
      • arangodb_deployment: <deployment-name>
      • role: single
  • PersistentVolumeClaim for, data stored in the single server, named <deployment-name>_pvc.
    • Labels:
      • app=arangodb
      • arangodb_deployment: <deployment-name>
      • role: single
  • Service for accessing the single server, named <deployment-name>. The service will provide access to the single server from within the Kubernetes cluster.
    • Labels:
      • app=arangodb
      • arangodb_deployment: <deployment-name>
      • role: single

Full cluster

For a full cluster deployment, the following Kubernetes resources are created:

  • Pods running ArangoDB agent named <deployment-name>_agent_<x>.
    • Labels:
      • app=arangodb
      • arangodb_deployment: <deployment-name>
      • role: agent
  • PersistentVolumeClaims for, data stored in the agents, named <deployment-name>_agent_pvc_<x>.
    • Labels:
      • app=arangodb
      • arangodb_deployment: <deployment-name>
      • role: agent
  • Pods running ArangoDB coordinators named <deployment-name>_coordinator_<x>.
    • Labels:
      • app=arangodb
      • arangodb_deployment: <deployment-name>
      • role: coordinator
    • Note: Coordinators are configured to use an emptyDir volume since they do not need persistent storage.
  • Pods running ArangoDB dbservers named <deployment-name>_dbserver_<x>.
    • Labels:
      • app=arangodb
      • arangodb_deployment: <deployment-name>
      • role: dbserver
  • PersistentVolumeClaims for, data stored in the dbservers, named <deployment-name>_dbserver_pvc_<x>.
    • Labels:
      • app=arangodb
      • arangodb_deployment: <deployment-name>
      • role: dbserver
  • Service for accessing all coordinators, named <deployment-name>. The service will provide access to all coordinators from within the k8s cluster.
    • Labels:
      • app=arangodb
      • arangodb_deployment: <deployment-name>
      • role: coordinator
    • Selector:
      • app=arangodb
      • arangodb_deployment: <deployment-name>
      • role: coordinator

Full cluster with DC2DC

For a full cluster with datacenter replication deployment, the same resources are created as for a Full cluster, with the following additions:

  • Pods running ArangoSync workers named <deployment-name>-syncworker-<x>.
    • Labels:
      • app=arangodb
      • arangodb_deployment: <deployment-name>
      • role: syncworker
  • Pods running ArangoSync master named <deployment-name>-syncmaster-<x>.
    • Labels:
      • app=arangodb
      • arangodb_deployment: <deployment-name>
      • role: syncmaster
  • Service for accessing the sync masters, named <deployment-name>-sync. The service will provide access to all syncmaster from within the Kubernetes cluster.