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/configuration-and-secrets.md
Nikita Vaniasin fe66d98444
(Documentation) Move documentation from ArangoDB site into this repo (#1450)
- remove duplicated docs
- update old docs with new info
- rework docs index page
- file names not changed to make sure redirects from old site will work as expected

Co-authored-by: jwierzbo <jakub.wierzbowski@arangodb.com>
2023-10-19 15:47:42 +02:00

972 B

Configuration & secrets

An ArangoDB cluster has lots of configuration options. Some will be supported directly in the ArangoDB Operator, others will have to specified separately.

Passing command line options

All command-line options of arangod (and arangosync) are available by adding options to the spec.<group>.args list of a group of servers.

These arguments are added to the command-line created for these servers.

Secrets

The ArangoDB cluster needs several secrets such as JWT tokens TLS certificates and so on.

All these secrets are stored as Kubernetes Secrets and passed to the applicable Pods as files, mapped into the Pods filesystem.

The name of the secret is specified in the custom resource. For example:

apiVersion: "database.arangodb.com/v1"
kind: "ArangoDeployment"
metadata:
  name: "example-simple-cluster"
spec:
  mode: Cluster
  image: 'arangodb/arangodb:3.10.8'
  auth:
    jwtSecretName: <name-of-JWT-token-secret>