2018-02-05 13:22:18 +00:00
|
|
|
# Resources and labels
|
|
|
|
|
|
|
|
The ArangoDB operator will create the following Kubernetes resources for specified
|
2018-02-15 10:54:48 +00:00
|
|
|
ArangoDB deployment models.
|
2018-02-05 13:22:18 +00:00
|
|
|
|
|
|
|
## Single server
|
|
|
|
|
|
|
|
For a single server deployment, the following k8s resources are created:
|
|
|
|
|
2018-02-15 10:54:48 +00:00
|
|
|
- `Pod` running ArangoDB single server named `<deployment-name>`.
|
2018-02-05 13:22:18 +00:00
|
|
|
- Labels:
|
|
|
|
- `app=arangodb`
|
2018-02-15 10:54:48 +00:00
|
|
|
- `arangodb_deployment: <deployment-name>`
|
2018-02-05 13:22:18 +00:00
|
|
|
- `role: single`
|
2018-02-15 10:54:48 +00:00
|
|
|
- `PersistentVolumeClaim` for, data stored in the single server, named `<deployment-name>_pvc`.
|
2018-02-05 13:22:18 +00:00
|
|
|
- Labels:
|
|
|
|
- `app=arangodb`
|
2018-02-15 10:54:48 +00:00
|
|
|
- `arangodb_deployment: <deployment-name>`
|
2018-02-05 13:22:18 +00:00
|
|
|
- `role: single`
|
2018-02-15 10:54:48 +00:00
|
|
|
- `Service` for accessing the single server, named `<deployment-name>`.
|
2018-02-08 10:00:56 +00:00
|
|
|
The service will provide access to the single server from within the Kubernetes cluster.
|
2018-02-05 13:22:18 +00:00
|
|
|
- Labels:
|
|
|
|
- `app=arangodb`
|
2018-02-15 10:54:48 +00:00
|
|
|
- `arangodb_deployment: <deployment-name>`
|
2018-02-05 13:22:18 +00:00
|
|
|
- `role: single`
|
|
|
|
|
|
|
|
## Full cluster
|
|
|
|
|
2018-02-08 10:00:56 +00:00
|
|
|
For a full cluster deployment, the following Kubernetes resources are created:
|
2018-02-05 13:22:18 +00:00
|
|
|
|
2018-02-15 10:54:48 +00:00
|
|
|
- `Pods` running ArangoDB agent named `<deployment-name>_agent_<x>`.
|
2018-02-05 13:22:18 +00:00
|
|
|
- Labels:
|
|
|
|
- `app=arangodb`
|
2018-02-15 10:54:48 +00:00
|
|
|
- `arangodb_deployment: <deployment-name>`
|
2018-02-05 13:22:18 +00:00
|
|
|
- `role: agent`
|
2018-02-08 10:00:56 +00:00
|
|
|
|
2018-02-15 10:54:48 +00:00
|
|
|
- `PersistentVolumeClaims` for, data stored in the agents, named `<deployment-name>_agent_pvc_<x>`.
|
2018-02-05 13:22:18 +00:00
|
|
|
- Labels:
|
|
|
|
- `app=arangodb`
|
2018-02-15 10:54:48 +00:00
|
|
|
- `arangodb_deployment: <deployment-name>`
|
2018-02-05 13:22:18 +00:00
|
|
|
- `role: agent`
|
|
|
|
|
2018-02-15 10:54:48 +00:00
|
|
|
- `Pods` running ArangoDB coordinators named `<deployment-name>_coordinator_<x>`.
|
2018-02-05 13:22:18 +00:00
|
|
|
- Labels:
|
|
|
|
- `app=arangodb`
|
2018-02-15 10:54:48 +00:00
|
|
|
- `arangodb_deployment: <deployment-name>`
|
2018-02-05 13:22:18 +00:00
|
|
|
- `role: coordinator`
|
2018-02-08 10:00:56 +00:00
|
|
|
- Note: Coordinators are configured to use an `emptyDir` volume since
|
|
|
|
they do not need persistent storage.
|
2018-02-05 13:22:18 +00:00
|
|
|
|
2018-02-15 10:54:48 +00:00
|
|
|
- `Pods` running ArangoDB dbservers named `<deployment-name>_dbserver_<x>`.
|
2018-02-05 13:22:18 +00:00
|
|
|
- Labels:
|
|
|
|
- `app=arangodb`
|
2018-02-15 10:54:48 +00:00
|
|
|
- `arangodb_deployment: <deployment-name>`
|
2018-02-05 13:22:18 +00:00
|
|
|
- `role: dbserver`
|
2018-02-08 10:00:56 +00:00
|
|
|
|
2018-02-15 10:54:48 +00:00
|
|
|
- `PersistentVolumeClaims` for, data stored in the dbservers, named `<deployment-name>_dbserver_pvc_<x>`.
|
2018-02-05 13:22:18 +00:00
|
|
|
- Labels:
|
|
|
|
- `app=arangodb`
|
2018-02-15 10:54:48 +00:00
|
|
|
- `arangodb_deployment: <deployment-name>`
|
2018-02-05 13:22:18 +00:00
|
|
|
- `role: dbserver`
|
|
|
|
|
2018-02-15 10:54:48 +00:00
|
|
|
- Headless `Service` for accessing the all server, named `<deployment-name>_servers`.
|
2018-02-05 13:22:18 +00:00
|
|
|
The service will provide access all server server from within the k8s cluster.
|
|
|
|
- Labels:
|
|
|
|
- `app=arangodb`
|
2018-02-15 10:54:48 +00:00
|
|
|
- `arangodb_deployment: <deployment-name>`
|
2018-02-05 13:22:18 +00:00
|
|
|
- Selector:
|
|
|
|
- `app=arangodb`
|
2018-02-15 10:54:48 +00:00
|
|
|
- `arangodb_deployment: <deployment-name>`
|
2018-02-05 13:22:18 +00:00
|
|
|
|
2018-02-15 10:54:48 +00:00
|
|
|
- `Service` for accessing the all coordinators, named `<deployment-name>`.
|
2018-02-05 13:22:18 +00:00
|
|
|
The service will provide access all coordinators from within the k8s cluster.
|
|
|
|
- Labels:
|
|
|
|
- `app=arangodb`
|
2018-02-15 10:54:48 +00:00
|
|
|
- `arangodb_deployment: <deployment-name>`
|
2018-02-05 13:22:18 +00:00
|
|
|
- `role: coordinator`
|
|
|
|
- Selector:
|
|
|
|
- `app=arangodb`
|
2018-02-15 10:54:48 +00:00
|
|
|
- `arangodb_deployment: <deployment-name>`
|
2018-02-05 13:22:18 +00:00
|
|
|
- `role: coordinator`
|
2018-02-05 15:23:15 +00:00
|
|
|
|
|
|
|
## 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:
|
|
|
|
|
2018-02-15 10:54:48 +00:00
|
|
|
- `Pods` running ArangoSync workers named `<deployment-name>_syncworker_<x>`.
|
2018-02-05 15:23:15 +00:00
|
|
|
- Labels:
|
|
|
|
- `app=arangodb`
|
2018-02-15 10:54:48 +00:00
|
|
|
- `arangodb_deployment: <deployment-name>`
|
2018-02-05 15:23:15 +00:00
|
|
|
- `role: syncworker`
|
|
|
|
|
2018-02-15 10:54:48 +00:00
|
|
|
- `Pods` running ArangoSync master named `<deployment-name>_syncmaster_<x>`.
|
2018-02-05 15:23:15 +00:00
|
|
|
- Labels:
|
|
|
|
- `app=arangodb`
|
2018-02-15 10:54:48 +00:00
|
|
|
- `arangodb_deployment: <deployment-name>`
|
2018-02-05 15:23:15 +00:00
|
|
|
- `role: syncmaster`
|
|
|
|
|
2018-02-15 10:54:48 +00:00
|
|
|
- `Service` for accessing the sync masters, named `<deployment-name>_sync`.
|
2018-02-08 10:00:56 +00:00
|
|
|
The service will provide access to all syncmaster from within the Kubernetes cluster.
|