1
0
Fork 0
mirror of https://github.com/arangodb/kube-arangodb.git synced 2024-12-14 11:57:37 +00:00
kube-arangodb/docs/resource_and_labels.md
2018-02-05 14:22:18 +01:00

3 KiB

Resources and labels

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

Single server

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

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

Full cluster

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

  • Pods running ArangoDB agent named <cluster-name>_agent_<x>.

    • Labels:
      • app=arangodb
      • arangodb_cluster_name: <cluster-name>
      • role: agent
  • PersistentVolumeClaims for, data stored in the agents, named <cluster-name>_agent_pvc_<x>.

    • Labels:
      • app=arangodb
      • arangodb_cluster_name: <cluster-name>
      • role: agent
  • Pods running ArangoDB coordinators named <cluster-name>_coordinator_<x>.

    • Labels:
      • app=arangodb
      • arangodb_cluster_name: <cluster-name>
      • role: coordinator
  • PersistentVolumeClaims for, data stored in the agents, named <cluster-name>_agent_pvc_<x>.

    • Labels:
      • app=arangodb
      • arangodb_cluster_name: <cluster-name>
      • role: agent
  • Service for accessing the coordinator, named <cluster-name>. The services will provide access to all coordinators from within the k8s cluster.

    • Labels:
      • app=arangodb
      • arangodb_cluster_name: <cluster-name>
      • role: coordinator
  • Pods running ArangoDB dbservers named <cluster-name>_dbserver_<x>.

    • Labels:
      • app=arangodb
      • arangodb_cluster_name: <cluster-name>
      • role: dbserver
  • PersistentVolumeClaims for, data stored in the dbservers, named <cluster-name>_dbserver_pvc_<x>.

    • Labels:
      • app=arangodb
      • arangodb_cluster_name: <cluster-name>
      • role: dbserver
  • Service (no cluster IP) for accessing the all server, named <cluster-name>_arangodb_internal. The service will provide access all server server from within the k8s cluster.

    • Labels:
      • app=arangodb
      • arangodb_cluster_name: <cluster-name>
    • Selector:
      • app=arangodb
      • arangodb_cluster_name: <cluster-name>
  • Service (normal cluster IP) for accessing the all coordinators, named <cluster-name>. The service will provide access all coordinators from within the k8s cluster.

    • Labels:
      • app=arangodb
      • arangodb_cluster_name: <cluster-name>
      • role: coordinator
    • Selector:
      • app=arangodb
      • arangodb_cluster_name: <cluster-name>
      • role: coordinator