1
0
Fork 0
mirror of https://github.com/arangodb/kube-arangodb.git synced 2024-12-15 17:51:03 +00:00
kube-arangodb/docs/api/ArangoDeployment.V1.md

188 KiB
Raw Blame History

API Reference for ArangoDeployment V1

Spec

.spec.agents.affinity: core.PodAffinity

Affinity specified additional affinity settings in ArangoDB Pod definitions

Links:

Code Reference

.spec.agents.allowMemberRecreation: boolean

AllowMemberRecreation allows to recreate member. This setting changes the member recreation logic based on group:

  • For Sync Masters, Sync Workers, Coordinator and DB-Servers it determines if a member can be recreated in case of failure (default true)
  • For Agents and Single this value is hardcoded to false and the value provided in spec is ignored.

Code Reference

.spec.agents.annotations: object

Annotations specified the annotations added to Pods in this group. Annotations are merged with spec.annotations.

Code Reference

.spec.agents.annotationsIgnoreList: array

AnnotationsIgnoreList list regexp or plain definitions which annotations should be ignored

Code Reference

.spec.agents.annotationsMode: string

AnnotationsMode Define annotations mode which should be use while overriding annotations

Code Reference

.spec.agents.antiAffinity: core.PodAntiAffinity

AntiAffinity specified additional antiAffinity settings in ArangoDB Pod definitions

Links:

Code Reference

.spec.agents.args: []string

Args setting specifies additional command-line arguments passed to all servers of this group.

Default Value: []

Code Reference

.spec.agents.count: integer

Count setting specifies the number of servers to start for the given group. For the Agent group, this value must be a positive, odd number. The default value is 3 for all groups except single (there the default is 1 for spec.mode: Single and 2 for spec.mode: ActiveFailover). For the syncworkers group, it is highly recommended to use the same number as for the dbservers group.

Code Reference

.spec.agents.entrypoint: string

Entrypoint overrides container executable

Code Reference

.spec.agents.envs[int].name: string

Code Reference

.spec.agents.envs[int].value: string

Code Reference

.spec.agents.ephemeralVolumes.apps.size: resource.Quantity

Size define size of the ephemeral volume

Links:

Code Reference

.spec.agents.ephemeralVolumes.temp.size: resource.Quantity

Size define size of the ephemeral volume

Links:

Code Reference

.spec.agents.exporterPort: integer

ExporterPort define Port used by exporter

Code Reference

.spec.agents.extendedRotationCheck: boolean

ExtendedRotationCheck extend checks for rotation

Code Reference

.spec.agents.externalPortEnabled: boolean

ExternalPortEnabled if external port should be enabled. If is set to false, ports needs to be exposed via sidecar. Only for ArangoD members

Code Reference

.spec.agents.indexMethod: string

IndexMethod define group Indexing method

Possible Values:

  • random (default) - Pick random ID for member. Enforced on the Community Operator.
  • ordered - Use sequential number as Member ID, starting from 0. Enterprise Operator required.

Code Reference

.spec.agents.initContainers.containers: []core.Container

Containers contains list of containers

Links:

Code Reference

.spec.agents.initContainers.mode: string

Mode keep container replace mode

Code Reference

.spec.agents.internalPort: integer

InternalPort define port used in internal communication, can be accessed over localhost via sidecar. Only for ArangoD members

Code Reference

.spec.agents.internalPortProtocol: string

InternalPortProtocol define protocol of port used in internal communication, can be accessed over localhost via sidecar. Only for ArangoD members

Code Reference

.spec.agents.labels: object

Labels specified the labels added to Pods in this group.

Code Reference

.spec.agents.labelsIgnoreList: array

LabelsIgnoreList list regexp or plain definitions which labels should be ignored

Code Reference

.spec.agents.labelsMode: string

LabelsMode Define labels mode which should be use while overriding labels

Code Reference

.spec.agents.maxCount: integer

MaxCount specifies a maximum for the count of servers. If set, a specification is invalid if count > maxCount.

Code Reference

.spec.agents.memoryReservation: integer

MemoryReservation determines the system reservation of memory while calculating ARANGODB_OVERRIDE_DETECTED_TOTAL_MEMORY value. If this field is set, ARANGODB_OVERRIDE_DETECTED_TOTAL_MEMORY is reduced by a specified value in percent. Accepted Range <0, 50>. If the value is outside the accepted range, it is adjusted to the closest value.

Links:

Default Value: 0

Code Reference

.spec.agents.minCount: integer

MinCount specifies a minimum for the count of servers. If set, a specification is invalid if count < minCount.

Code Reference

.spec.agents.nodeAffinity: core.NodeAffinity

NodeAffinity specified additional nodeAffinity settings in ArangoDB Pod definitions

Links:

Code Reference

.spec.agents.nodeSelector: map[string]string

NodeSelector setting specifies a set of labels to be used as nodeSelector for Pods of this node.

Links:

Code Reference

.spec.agents.numactl.args: array

Args define list of the numactl process

Default Value: []

Code Reference

.spec.agents.numactl.enabled: boolean

Enabled define if numactl should be enabled

Default Value: false

Code Reference

.spec.agents.numactl.path: string

Path define numactl path within the container

Default Value: /usr/bin/numactl

Code Reference

.spec.agents.overrideDetectedNumberOfCores: boolean

Important: Values set by this feature override user-provided ARANGODB_OVERRIDE_DETECTED_NUMBER_OF_CORES Container Environment Variable

OverrideDetectedNumberOfCores determines if number of cores should be overridden based on values in resources. If is set to true and Container CPU Limits are set, it sets Container Environment Variable ARANGODB_OVERRIDE_DETECTED_NUMBER_OF_CORES to the value from the Container CPU Limits.

Links:

Default Value: true

Code Reference

.spec.agents.overrideDetectedTotalMemory: boolean

Important: Values set by this feature override user-provided ARANGODB_OVERRIDE_DETECTED_TOTAL_MEMORY Container Environment Variable

OverrideDetectedTotalMemory determines if memory should be overridden based on values in resources. If is set to true and Container Memory Limits are set, it sets Container Environment Variable ARANGODB_OVERRIDE_DETECTED_TOTAL_MEMORY to the value from the Container Memory Limits.

Links:

Default Value: true

Code Reference

.spec.agents.podModes.network: string

Code Reference

.spec.agents.podModes.pid: string

Code Reference

.spec.agents.port: integer

Port define Port used by member

Code Reference

.spec.agents.priorityClassName: string

PriorityClassName specifies a priority class name Will be forwarded to the pod spec.

Links:

Code Reference

.spec.agents.probes.livenessProbeDisabled: boolean

LivenessProbeDisabled if set to true, the operator does not generate a liveness probe for new pods belonging to this group

Default Value: false

Code Reference

.spec.agents.probes.livenessProbeSpec.failureThreshold: integer

FailureThreshold when a Pod starts and the probe fails, Kubernetes will try failureThreshold times before giving up. Giving up means restarting the container. Minimum value is 1.

Default Value: 3

Code Reference

.spec.agents.probes.livenessProbeSpec.initialDelaySeconds: integer

InitialDelaySeconds specifies number of seconds after the container has started before liveness or readiness probes are initiated. Minimum value is 0.

Default Value: 2

Code Reference

.spec.agents.probes.livenessProbeSpec.periodSeconds: integer

PeriodSeconds How often (in seconds) to perform the probe. Minimum value is 1.

Default Value: 10

Code Reference

.spec.agents.probes.livenessProbeSpec.successThreshold: integer

SuccessThreshold Minimum consecutive successes for the probe to be considered successful after having failed. Minimum value is 1.

Default Value: 1

Code Reference

.spec.agents.probes.livenessProbeSpec.timeoutSeconds: integer

TimeoutSeconds specifies number of seconds after which the probe times out Minimum value is 1.

Default Value: 2

Code Reference

.spec.agents.probes.ReadinessProbeDisabled: boolean

OldReadinessProbeDisabled if true readinessProbes are disabled Deprecated: This field is deprecated, keept only for backward compatibility.

Code Reference

.spec.agents.probes.readinessProbeDisabled: boolean

ReadinessProbeDisabled override flag for probe disabled in good manner (lowercase) with backward compatibility

Code Reference

.spec.agents.probes.readinessProbeSpec.failureThreshold: integer

FailureThreshold when a Pod starts and the probe fails, Kubernetes will try failureThreshold times before giving up. Giving up means restarting the container. Minimum value is 1.

Default Value: 3

Code Reference

.spec.agents.probes.readinessProbeSpec.initialDelaySeconds: integer

InitialDelaySeconds specifies number of seconds after the container has started before liveness or readiness probes are initiated. Minimum value is 0.

Default Value: 2

Code Reference

.spec.agents.probes.readinessProbeSpec.periodSeconds: integer

PeriodSeconds How often (in seconds) to perform the probe. Minimum value is 1.

Default Value: 10

Code Reference

.spec.agents.probes.readinessProbeSpec.successThreshold: integer

SuccessThreshold Minimum consecutive successes for the probe to be considered successful after having failed. Minimum value is 1.

Default Value: 1

Code Reference

.spec.agents.probes.readinessProbeSpec.timeoutSeconds: integer

TimeoutSeconds specifies number of seconds after which the probe times out Minimum value is 1.

Default Value: 2

Code Reference

.spec.agents.probes.startupProbeDisabled: boolean

StartupProbeDisabled if true startupProbes are disabled

Code Reference

.spec.agents.probes.startupProbeSpec.failureThreshold: integer

FailureThreshold when a Pod starts and the probe fails, Kubernetes will try failureThreshold times before giving up. Giving up means restarting the container. Minimum value is 1.

Default Value: 3

Code Reference

.spec.agents.probes.startupProbeSpec.initialDelaySeconds: integer

InitialDelaySeconds specifies number of seconds after the container has started before liveness or readiness probes are initiated. Minimum value is 0.

Default Value: 2

Code Reference

.spec.agents.probes.startupProbeSpec.periodSeconds: integer

PeriodSeconds How often (in seconds) to perform the probe. Minimum value is 1.

Default Value: 10

Code Reference

.spec.agents.probes.startupProbeSpec.successThreshold: integer

SuccessThreshold Minimum consecutive successes for the probe to be considered successful after having failed. Minimum value is 1.

Default Value: 1

Code Reference

.spec.agents.probes.startupProbeSpec.timeoutSeconds: integer

TimeoutSeconds specifies number of seconds after which the probe times out Minimum value is 1.

Default Value: 2

Code Reference

.spec.agents.pvcResizeMode: string

VolumeResizeMode specified resize mode for PVCs and PVs

Possible Values:

  • runtime (default) - PVC will be resized in Pod runtime (EKS, GKE)
  • rotate - Pod will be shutdown and PVC will be resized (AKS)

Code Reference

.spec.agents.resources: core.ResourceRequirements

Resources holds resource requests & limits

Links:

Code Reference

.spec.agents.schedulerName: string

SchedulerName define scheduler name used for group

Code Reference

.spec.agents.securityContext.addCapabilities: []core.Capability

AddCapabilities add new capabilities to containers

Code Reference

.spec.agents.securityContext.allowPrivilegeEscalation: boolean

AllowPrivilegeEscalation Controls whether a process can gain more privileges than its parent process.

Code Reference

.spec.agents.securityContext.dropAllCapabilities: boolean

DropAllCapabilities specifies if capabilities should be dropped for this pod containers Deprecated: This field is added for backward compatibility. Will be removed in 1.1.0.

Code Reference

.spec.agents.securityContext.fsGroup: integer

FSGroup is a special supplemental group that applies to all containers in a pod.

Code Reference

.spec.agents.securityContext.privileged: boolean

Privileged If true, runs container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host.

Code Reference

.spec.agents.securityContext.readOnlyRootFilesystem: boolean

ReadOnlyRootFilesystem if true, mounts the container's root filesystem as read-only.

Code Reference

.spec.agents.securityContext.runAsGroup: integer

RunAsGroup is the GID to run the entrypoint of the container process.

Code Reference

.spec.agents.securityContext.runAsNonRoot: boolean

RunAsNonRoot if true, indicates that the container must run as a non-root user.

Code Reference

.spec.agents.securityContext.runAsUser: integer

RunAsUser is the UID to run the entrypoint of the container process.

Code Reference

.spec.agents.securityContext.seccompProfile: core.SeccompProfile

SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set.

Links:

Code Reference

.spec.agents.securityContext.seLinuxOptions: core.SELinuxOptions

SELinuxOptions are the labels to be applied to the container

Links:

Code Reference

.spec.agents.securityContext.supplementalGroups: array

SupplementalGroups is a list of groups applied to the first process run in each container, in addition to the container's primary GID, the fsGroup (if specified), and group memberships defined in the container image for the uid of the container process.

Code Reference

.spec.agents.securityContext.sysctls: map[string]intstr.IntOrString

Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch. Map Value can be String or Int

Links:

Example:

sysctls:
  "kernel.shm_rmid_forced": "0"
  "net.core.somaxconn": 1024
  "kernel.msgmax": "65536"

Code Reference

.spec.agents.serviceAccountName: string

ServiceAccountName setting specifies the serviceAccountName for the Pods created for each server of this group. If empty, it defaults to using the default service account. Using an alternative ServiceAccount is typically used to separate access rights. The ArangoDB deployments need some very minimal access rights. With the deployment of the operator, we grant the rights to 'get' all 'pod' resources. If you are using a different service account, please grant these rights to that service account.

Code Reference

.spec.agents.shutdownDelay: integer

ShutdownDelay define how long operator should delay finalizer removal after shutdown

Code Reference

.spec.agents.shutdownMethod: string

ShutdownMethod describe procedure of member shutdown taken by Operator

Code Reference

.spec.agents.sidecarCoreNames: array

SidecarCoreNames is a list of sidecar containers which must run in the pod. Some names (e.g.: "server", "worker") are reserved, and they don't have any impact.

Code Reference

.spec.agents.sidecars: []core.Container

Sidecars specifies a list of additional containers to be started

Links:

Code Reference

.spec.agents.storageClassName: string

StorageClassName specifies the classname for storage of the servers.

Code Reference

.spec.agents.terminationGracePeriodSeconds: integer

TerminationGracePeriodSeconds override default TerminationGracePeriodSeconds for pods - via silent rotation

Code Reference

.spec.agents.tolerations: []core.Toleration

Tolerations specifies the tolerations added to Pods in this group. By default, suitable tolerations are set for the following keys with the NoExecute effect:

Links:

Code Reference

.spec.agents.volumeAllowShrink: boolean

Deprecated: VolumeAllowShrink allows shrink the volume

Code Reference

.spec.agents.volumeClaimTemplate: core.PersistentVolumeClaim

VolumeClaimTemplate specifies a volumeClaimTemplate used by operator to create to volume claims for pods of this group. This setting is not available for group coordinators, syncmasters & syncworkers. The default value describes a volume with 8Gi storage, ReadWriteOnce access mode and volume mode set to PersistentVolumeFilesystem. If this field is not set and spec.<group>.resources.requests.storage is set, then a default volume claim with size as specified by spec.<group>.resources.requests.storage will be created. In that case storage and iops is not forwarded to the pods resource requirements.

Links:

Code Reference

.spec.agents.volumeMounts: []ServerGroupSpecVolumeMount

VolumeMounts define list of volume mounts mounted into server container

Links:

Code Reference

.spec.agents.volumes[int].configMap: core.ConfigMapVolumeSource

ConfigMap which should be mounted into pod

Links:

Code Reference

.spec.agents.volumes[int].emptyDir: core.EmptyDirVolumeSource

EmptyDir

Links:

Code Reference

.spec.agents.volumes[int].hostPath: core.HostPathVolumeSource

HostPath

Links:

Code Reference

.spec.agents.volumes[int].name: string

Name of volume

Code Reference

.spec.agents.volumes[int].persistentVolumeClaim: core.PersistentVolumeClaimVolumeSource

PersistentVolumeClaim

Links:

Code Reference

.spec.agents.volumes[int].secret: core.SecretVolumeSource

Secret which should be mounted into pod

Links:

Code Reference

.spec.allowUnsafeUpgrade: boolean

AllowUnsafeUpgrade determines if upgrade on missing member or with not in sync shards is allowed

Code Reference

.spec.annotations: object

Annotations specifies the annotations added to all ArangoDeployment owned resources (pods, services, PVCs, PDBs).

Code Reference

.spec.annotationsIgnoreList: array

AnnotationsIgnoreList list regexp or plain definitions which annotations should be ignored

Code Reference

.spec.annotationsMode: string

AnnotationsMode defines annotations mode which should be use while overriding annotations.

Possible Values:

  • disabled (default) - Disable annotations/labels override. Default if there is no annotations/labels set in ArangoDeployment
  • append - Add new annotations/labels without affecting old ones
  • replace - Replace existing annotations/labels

Code Reference

.spec.architecture: []string

Architecture defines the list of supported architectures. First element on the list is marked as default architecture. Possible values are:

  • amd64: Use processors with the x86-64 architecture.
  • arm64: Use processors with the 64-bit ARM architecture. The setting expects a list of strings, but you should only specify a single list item for the architecture, except when you want to migrate from one architecture to the other. The first list item defines the new default architecture for the deployment that you want to migrate to.

Links:

Default Value: ['amd64']

Code Reference

.spec.auth.jwtSecretName: string

JWTSecretName setting specifies the name of a kubernetes Secret that contains the JWT token used for accessing all ArangoDB servers. When no name is specified, it defaults to <deployment-name>-jwt. To disable authentication, set this value to None. If you specify a name of a Secret, that secret must have the token in a data field named token. If you specify a name of a Secret that does not exist, a random token is created and stored in a Secret with given name. Changing a JWT token results in restarting of a whole cluster.

Code Reference

.spec.bootstrap.passwordSecretNames: map[string]string

PasswordSecretNames contains a map of username to password-secret-name This setting specifies a secret name for the credentials per specific users. When a deployment is created the operator will setup the user accounts according to the credentials given by the secret. If the secret doesn't exist the operator creates a secret with a random password. There are two magic values for the secret name:

  • None specifies no action. This disables root password randomization. This is the default value. (Thus the root password is empty - not recommended)
  • Auto specifies automatic name generation, which is <deploymentname>-root-password.

Links:

Code Reference

.spec.chaos.enabled: boolean

Enabled switches the chaos monkey for a deployment on or off.

Code Reference

.spec.chaos.interval: integer

Interval is the time between events

Code Reference

.spec.chaos.kill-pod-probability: integer

KillPodProbability is the chance of a pod being killed during an event

Code Reference

.spec.ClusterDomain: string

ClusterDomain define domain used in the kubernetes cluster. Required only of domain is not set to default (cluster.local)

Default Value: cluster.local

Code Reference

.spec.communicationMethod: string

CommunicationMethod define communication method used in deployment

Possible Values:

  • headless (default) - Define old communication mechanism, based on headless service.
  • dns - Define ClusterIP Service DNS based communication.
  • short-dns - Define ClusterIP Service DNS based communication. Use namespaced short DNS (used in migration)
  • headless-dns - Define Headless Service DNS based communication.
  • ip - Define ClusterIP Service IP based communication.

Code Reference

.spec.coordinators.affinity: core.PodAffinity

Affinity specified additional affinity settings in ArangoDB Pod definitions

Links:

Code Reference

.spec.coordinators.allowMemberRecreation: boolean

AllowMemberRecreation allows to recreate member. This setting changes the member recreation logic based on group:

  • For Sync Masters, Sync Workers, Coordinator and DB-Servers it determines if a member can be recreated in case of failure (default true)
  • For Agents and Single this value is hardcoded to false and the value provided in spec is ignored.

Code Reference

.spec.coordinators.annotations: object

Annotations specified the annotations added to Pods in this group. Annotations are merged with spec.annotations.

Code Reference

.spec.coordinators.annotationsIgnoreList: array

AnnotationsIgnoreList list regexp or plain definitions which annotations should be ignored

Code Reference

.spec.coordinators.annotationsMode: string

AnnotationsMode Define annotations mode which should be use while overriding annotations

Code Reference

.spec.coordinators.antiAffinity: core.PodAntiAffinity

AntiAffinity specified additional antiAffinity settings in ArangoDB Pod definitions

Links:

Code Reference

.spec.coordinators.args: []string

Args setting specifies additional command-line arguments passed to all servers of this group.

Default Value: []

Code Reference

.spec.coordinators.count: integer

Count setting specifies the number of servers to start for the given group. For the Agent group, this value must be a positive, odd number. The default value is 3 for all groups except single (there the default is 1 for spec.mode: Single and 2 for spec.mode: ActiveFailover). For the syncworkers group, it is highly recommended to use the same number as for the dbservers group.

Code Reference

.spec.coordinators.entrypoint: string

Entrypoint overrides container executable

Code Reference

.spec.coordinators.envs[int].name: string

Code Reference

.spec.coordinators.envs[int].value: string

Code Reference

.spec.coordinators.ephemeralVolumes.apps.size: resource.Quantity

Size define size of the ephemeral volume

Links:

Code Reference

.spec.coordinators.ephemeralVolumes.temp.size: resource.Quantity

Size define size of the ephemeral volume

Links:

Code Reference

.spec.coordinators.exporterPort: integer

ExporterPort define Port used by exporter

Code Reference

.spec.coordinators.extendedRotationCheck: boolean

ExtendedRotationCheck extend checks for rotation

Code Reference

.spec.coordinators.externalPortEnabled: boolean

ExternalPortEnabled if external port should be enabled. If is set to false, ports needs to be exposed via sidecar. Only for ArangoD members

Code Reference

.spec.coordinators.indexMethod: string

IndexMethod define group Indexing method

Possible Values:

  • random (default) - Pick random ID for member. Enforced on the Community Operator.
  • ordered - Use sequential number as Member ID, starting from 0. Enterprise Operator required.

Code Reference

.spec.coordinators.initContainers.containers: []core.Container

Containers contains list of containers

Links:

Code Reference

.spec.coordinators.initContainers.mode: string

Mode keep container replace mode

Code Reference

.spec.coordinators.internalPort: integer

InternalPort define port used in internal communication, can be accessed over localhost via sidecar. Only for ArangoD members

Code Reference

.spec.coordinators.internalPortProtocol: string

InternalPortProtocol define protocol of port used in internal communication, can be accessed over localhost via sidecar. Only for ArangoD members

Code Reference

.spec.coordinators.labels: object

Labels specified the labels added to Pods in this group.

Code Reference

.spec.coordinators.labelsIgnoreList: array

LabelsIgnoreList list regexp or plain definitions which labels should be ignored

Code Reference

.spec.coordinators.labelsMode: string

LabelsMode Define labels mode which should be use while overriding labels

Code Reference

.spec.coordinators.maxCount: integer

MaxCount specifies a maximum for the count of servers. If set, a specification is invalid if count > maxCount.

Code Reference

.spec.coordinators.memoryReservation: integer

MemoryReservation determines the system reservation of memory while calculating ARANGODB_OVERRIDE_DETECTED_TOTAL_MEMORY value. If this field is set, ARANGODB_OVERRIDE_DETECTED_TOTAL_MEMORY is reduced by a specified value in percent. Accepted Range <0, 50>. If the value is outside the accepted range, it is adjusted to the closest value.

Links:

Default Value: 0

Code Reference

.spec.coordinators.minCount: integer

MinCount specifies a minimum for the count of servers. If set, a specification is invalid if count < minCount.

Code Reference

.spec.coordinators.nodeAffinity: core.NodeAffinity

NodeAffinity specified additional nodeAffinity settings in ArangoDB Pod definitions

Links:

Code Reference

.spec.coordinators.nodeSelector: map[string]string

NodeSelector setting specifies a set of labels to be used as nodeSelector for Pods of this node.

Links:

Code Reference

.spec.coordinators.numactl.args: array

Args define list of the numactl process

Default Value: []

Code Reference

.spec.coordinators.numactl.enabled: boolean

Enabled define if numactl should be enabled

Default Value: false

Code Reference

.spec.coordinators.numactl.path: string

Path define numactl path within the container

Default Value: /usr/bin/numactl

Code Reference

.spec.coordinators.overrideDetectedNumberOfCores: boolean

Important: Values set by this feature override user-provided ARANGODB_OVERRIDE_DETECTED_NUMBER_OF_CORES Container Environment Variable

OverrideDetectedNumberOfCores determines if number of cores should be overridden based on values in resources. If is set to true and Container CPU Limits are set, it sets Container Environment Variable ARANGODB_OVERRIDE_DETECTED_NUMBER_OF_CORES to the value from the Container CPU Limits.

Links:

Default Value: true

Code Reference

.spec.coordinators.overrideDetectedTotalMemory: boolean

Important: Values set by this feature override user-provided ARANGODB_OVERRIDE_DETECTED_TOTAL_MEMORY Container Environment Variable

OverrideDetectedTotalMemory determines if memory should be overridden based on values in resources. If is set to true and Container Memory Limits are set, it sets Container Environment Variable ARANGODB_OVERRIDE_DETECTED_TOTAL_MEMORY to the value from the Container Memory Limits.

Links:

Default Value: true

Code Reference

.spec.coordinators.podModes.network: string

Code Reference

.spec.coordinators.podModes.pid: string

Code Reference

.spec.coordinators.port: integer

Port define Port used by member

Code Reference

.spec.coordinators.priorityClassName: string

PriorityClassName specifies a priority class name Will be forwarded to the pod spec.

Links:

Code Reference

.spec.coordinators.probes.livenessProbeDisabled: boolean

LivenessProbeDisabled if set to true, the operator does not generate a liveness probe for new pods belonging to this group

Default Value: false

Code Reference

.spec.coordinators.probes.livenessProbeSpec.failureThreshold: integer

FailureThreshold when a Pod starts and the probe fails, Kubernetes will try failureThreshold times before giving up. Giving up means restarting the container. Minimum value is 1.

Default Value: 3

Code Reference

.spec.coordinators.probes.livenessProbeSpec.initialDelaySeconds: integer

InitialDelaySeconds specifies number of seconds after the container has started before liveness or readiness probes are initiated. Minimum value is 0.

Default Value: 2

Code Reference

.spec.coordinators.probes.livenessProbeSpec.periodSeconds: integer

PeriodSeconds How often (in seconds) to perform the probe. Minimum value is 1.

Default Value: 10

Code Reference

.spec.coordinators.probes.livenessProbeSpec.successThreshold: integer

SuccessThreshold Minimum consecutive successes for the probe to be considered successful after having failed. Minimum value is 1.

Default Value: 1

Code Reference

.spec.coordinators.probes.livenessProbeSpec.timeoutSeconds: integer

TimeoutSeconds specifies number of seconds after which the probe times out Minimum value is 1.

Default Value: 2

Code Reference

.spec.coordinators.probes.ReadinessProbeDisabled: boolean

OldReadinessProbeDisabled if true readinessProbes are disabled Deprecated: This field is deprecated, keept only for backward compatibility.

Code Reference

.spec.coordinators.probes.readinessProbeDisabled: boolean

ReadinessProbeDisabled override flag for probe disabled in good manner (lowercase) with backward compatibility

Code Reference

.spec.coordinators.probes.readinessProbeSpec.failureThreshold: integer

FailureThreshold when a Pod starts and the probe fails, Kubernetes will try failureThreshold times before giving up. Giving up means restarting the container. Minimum value is 1.

Default Value: 3

Code Reference

.spec.coordinators.probes.readinessProbeSpec.initialDelaySeconds: integer

InitialDelaySeconds specifies number of seconds after the container has started before liveness or readiness probes are initiated. Minimum value is 0.

Default Value: 2

Code Reference

.spec.coordinators.probes.readinessProbeSpec.periodSeconds: integer

PeriodSeconds How often (in seconds) to perform the probe. Minimum value is 1.

Default Value: 10

Code Reference

.spec.coordinators.probes.readinessProbeSpec.successThreshold: integer

SuccessThreshold Minimum consecutive successes for the probe to be considered successful after having failed. Minimum value is 1.

Default Value: 1

Code Reference

.spec.coordinators.probes.readinessProbeSpec.timeoutSeconds: integer

TimeoutSeconds specifies number of seconds after which the probe times out Minimum value is 1.

Default Value: 2

Code Reference

.spec.coordinators.probes.startupProbeDisabled: boolean

StartupProbeDisabled if true startupProbes are disabled

Code Reference

.spec.coordinators.probes.startupProbeSpec.failureThreshold: integer

FailureThreshold when a Pod starts and the probe fails, Kubernetes will try failureThreshold times before giving up. Giving up means restarting the container. Minimum value is 1.

Default Value: 3

Code Reference

.spec.coordinators.probes.startupProbeSpec.initialDelaySeconds: integer

InitialDelaySeconds specifies number of seconds after the container has started before liveness or readiness probes are initiated. Minimum value is 0.

Default Value: 2

Code Reference

.spec.coordinators.probes.startupProbeSpec.periodSeconds: integer

PeriodSeconds How often (in seconds) to perform the probe. Minimum value is 1.

Default Value: 10

Code Reference

.spec.coordinators.probes.startupProbeSpec.successThreshold: integer

SuccessThreshold Minimum consecutive successes for the probe to be considered successful after having failed. Minimum value is 1.

Default Value: 1

Code Reference

.spec.coordinators.probes.startupProbeSpec.timeoutSeconds: integer

TimeoutSeconds specifies number of seconds after which the probe times out Minimum value is 1.

Default Value: 2

Code Reference

.spec.coordinators.pvcResizeMode: string

VolumeResizeMode specified resize mode for PVCs and PVs

Possible Values:

  • runtime (default) - PVC will be resized in Pod runtime (EKS, GKE)
  • rotate - Pod will be shutdown and PVC will be resized (AKS)

Code Reference

.spec.coordinators.resources: core.ResourceRequirements

Resources holds resource requests & limits

Links:

Code Reference

.spec.coordinators.schedulerName: string

SchedulerName define scheduler name used for group

Code Reference

.spec.coordinators.securityContext.addCapabilities: []core.Capability

AddCapabilities add new capabilities to containers

Code Reference

.spec.coordinators.securityContext.allowPrivilegeEscalation: boolean

AllowPrivilegeEscalation Controls whether a process can gain more privileges than its parent process.

Code Reference

.spec.coordinators.securityContext.dropAllCapabilities: boolean

DropAllCapabilities specifies if capabilities should be dropped for this pod containers Deprecated: This field is added for backward compatibility. Will be removed in 1.1.0.

Code Reference

.spec.coordinators.securityContext.fsGroup: integer

FSGroup is a special supplemental group that applies to all containers in a pod.

Code Reference

.spec.coordinators.securityContext.privileged: boolean

Privileged If true, runs container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host.

Code Reference

.spec.coordinators.securityContext.readOnlyRootFilesystem: boolean

ReadOnlyRootFilesystem if true, mounts the container's root filesystem as read-only.

Code Reference

.spec.coordinators.securityContext.runAsGroup: integer

RunAsGroup is the GID to run the entrypoint of the container process.

Code Reference

.spec.coordinators.securityContext.runAsNonRoot: boolean

RunAsNonRoot if true, indicates that the container must run as a non-root user.

Code Reference

.spec.coordinators.securityContext.runAsUser: integer

RunAsUser is the UID to run the entrypoint of the container process.

Code Reference

.spec.coordinators.securityContext.seccompProfile: core.SeccompProfile

SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set.

Links:

Code Reference

.spec.coordinators.securityContext.seLinuxOptions: core.SELinuxOptions

SELinuxOptions are the labels to be applied to the container

Links:

Code Reference

.spec.coordinators.securityContext.supplementalGroups: array

SupplementalGroups is a list of groups applied to the first process run in each container, in addition to the container's primary GID, the fsGroup (if specified), and group memberships defined in the container image for the uid of the container process.

Code Reference

.spec.coordinators.securityContext.sysctls: map[string]intstr.IntOrString

Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch. Map Value can be String or Int

Links:

Example:

sysctls:
  "kernel.shm_rmid_forced": "0"
  "net.core.somaxconn": 1024
  "kernel.msgmax": "65536"

Code Reference

.spec.coordinators.serviceAccountName: string

ServiceAccountName setting specifies the serviceAccountName for the Pods created for each server of this group. If empty, it defaults to using the default service account. Using an alternative ServiceAccount is typically used to separate access rights. The ArangoDB deployments need some very minimal access rights. With the deployment of the operator, we grant the rights to 'get' all 'pod' resources. If you are using a different service account, please grant these rights to that service account.

Code Reference

.spec.coordinators.shutdownDelay: integer

ShutdownDelay define how long operator should delay finalizer removal after shutdown

Code Reference

.spec.coordinators.shutdownMethod: string

ShutdownMethod describe procedure of member shutdown taken by Operator

Code Reference

.spec.coordinators.sidecarCoreNames: array

SidecarCoreNames is a list of sidecar containers which must run in the pod. Some names (e.g.: "server", "worker") are reserved, and they don't have any impact.

Code Reference

.spec.coordinators.sidecars: []core.Container

Sidecars specifies a list of additional containers to be started

Links:

Code Reference

.spec.coordinators.storageClassName: string

StorageClassName specifies the classname for storage of the servers.

Code Reference

.spec.coordinators.terminationGracePeriodSeconds: integer

TerminationGracePeriodSeconds override default TerminationGracePeriodSeconds for pods - via silent rotation

Code Reference

.spec.coordinators.tolerations: []core.Toleration

Tolerations specifies the tolerations added to Pods in this group. By default, suitable tolerations are set for the following keys with the NoExecute effect:

Links:

Code Reference

.spec.coordinators.volumeAllowShrink: boolean

Deprecated: VolumeAllowShrink allows shrink the volume

Code Reference

.spec.coordinators.volumeClaimTemplate: core.PersistentVolumeClaim

VolumeClaimTemplate specifies a volumeClaimTemplate used by operator to create to volume claims for pods of this group. This setting is not available for group coordinators, syncmasters & syncworkers. The default value describes a volume with 8Gi storage, ReadWriteOnce access mode and volume mode set to PersistentVolumeFilesystem. If this field is not set and spec.<group>.resources.requests.storage is set, then a default volume claim with size as specified by spec.<group>.resources.requests.storage will be created. In that case storage and iops is not forwarded to the pods resource requirements.

Links:

Code Reference

.spec.coordinators.volumeMounts: []ServerGroupSpecVolumeMount

VolumeMounts define list of volume mounts mounted into server container

Links:

Code Reference

.spec.coordinators.volumes[int].configMap: core.ConfigMapVolumeSource

ConfigMap which should be mounted into pod

Links:

Code Reference

.spec.coordinators.volumes[int].emptyDir: core.EmptyDirVolumeSource

EmptyDir

Links:

Code Reference

.spec.coordinators.volumes[int].hostPath: core.HostPathVolumeSource

HostPath

Links:

Code Reference

.spec.coordinators.volumes[int].name: string

Name of volume

Code Reference

.spec.coordinators.volumes[int].persistentVolumeClaim: core.PersistentVolumeClaimVolumeSource

PersistentVolumeClaim

Links:

Code Reference

.spec.coordinators.volumes[int].secret: core.SecretVolumeSource

Secret which should be mounted into pod

Links:

Code Reference

.spec.database.maintenance: boolean

Maintenance manage maintenance mode on Cluster side. Requires maintenance feature to be enabled

Code Reference

.spec.dbservers.affinity: core.PodAffinity

Affinity specified additional affinity settings in ArangoDB Pod definitions

Links:

Code Reference

.spec.dbservers.allowMemberRecreation: boolean

AllowMemberRecreation allows to recreate member. This setting changes the member recreation logic based on group:

  • For Sync Masters, Sync Workers, Coordinator and DB-Servers it determines if a member can be recreated in case of failure (default true)
  • For Agents and Single this value is hardcoded to false and the value provided in spec is ignored.

Code Reference

.spec.dbservers.annotations: object

Annotations specified the annotations added to Pods in this group. Annotations are merged with spec.annotations.

Code Reference

.spec.dbservers.annotationsIgnoreList: array

AnnotationsIgnoreList list regexp or plain definitions which annotations should be ignored

Code Reference

.spec.dbservers.annotationsMode: string

AnnotationsMode Define annotations mode which should be use while overriding annotations

Code Reference

.spec.dbservers.antiAffinity: core.PodAntiAffinity

AntiAffinity specified additional antiAffinity settings in ArangoDB Pod definitions

Links:

Code Reference

.spec.dbservers.args: []string

Args setting specifies additional command-line arguments passed to all servers of this group.

Default Value: []

Code Reference

.spec.dbservers.count: integer

Count setting specifies the number of servers to start for the given group. For the Agent group, this value must be a positive, odd number. The default value is 3 for all groups except single (there the default is 1 for spec.mode: Single and 2 for spec.mode: ActiveFailover). For the syncworkers group, it is highly recommended to use the same number as for the dbservers group.

Code Reference

.spec.dbservers.entrypoint: string

Entrypoint overrides container executable

Code Reference

.spec.dbservers.envs[int].name: string

Code Reference

.spec.dbservers.envs[int].value: string

Code Reference

.spec.dbservers.ephemeralVolumes.apps.size: resource.Quantity

Size define size of the ephemeral volume

Links:

Code Reference

.spec.dbservers.ephemeralVolumes.temp.size: resource.Quantity

Size define size of the ephemeral volume

Links:

Code Reference

.spec.dbservers.exporterPort: integer

ExporterPort define Port used by exporter

Code Reference

.spec.dbservers.extendedRotationCheck: boolean

ExtendedRotationCheck extend checks for rotation

Code Reference

.spec.dbservers.externalPortEnabled: boolean

ExternalPortEnabled if external port should be enabled. If is set to false, ports needs to be exposed via sidecar. Only for ArangoD members

Code Reference

.spec.dbservers.indexMethod: string

IndexMethod define group Indexing method

Possible Values:

  • random (default) - Pick random ID for member. Enforced on the Community Operator.
  • ordered - Use sequential number as Member ID, starting from 0. Enterprise Operator required.

Code Reference

.spec.dbservers.initContainers.containers: []core.Container

Containers contains list of containers

Links:

Code Reference

.spec.dbservers.initContainers.mode: string

Mode keep container replace mode

Code Reference

.spec.dbservers.internalPort: integer

InternalPort define port used in internal communication, can be accessed over localhost via sidecar. Only for ArangoD members

Code Reference

.spec.dbservers.internalPortProtocol: string

InternalPortProtocol define protocol of port used in internal communication, can be accessed over localhost via sidecar. Only for ArangoD members

Code Reference

.spec.dbservers.labels: object

Labels specified the labels added to Pods in this group.

Code Reference

.spec.dbservers.labelsIgnoreList: array

LabelsIgnoreList list regexp or plain definitions which labels should be ignored

Code Reference

.spec.dbservers.labelsMode: string

LabelsMode Define labels mode which should be use while overriding labels

Code Reference

.spec.dbservers.maxCount: integer

MaxCount specifies a maximum for the count of servers. If set, a specification is invalid if count > maxCount.

Code Reference

.spec.dbservers.memoryReservation: integer

MemoryReservation determines the system reservation of memory while calculating ARANGODB_OVERRIDE_DETECTED_TOTAL_MEMORY value. If this field is set, ARANGODB_OVERRIDE_DETECTED_TOTAL_MEMORY is reduced by a specified value in percent. Accepted Range <0, 50>. If the value is outside the accepted range, it is adjusted to the closest value.

Links:

Default Value: 0

Code Reference

.spec.dbservers.minCount: integer

MinCount specifies a minimum for the count of servers. If set, a specification is invalid if count < minCount.

Code Reference

.spec.dbservers.nodeAffinity: core.NodeAffinity

NodeAffinity specified additional nodeAffinity settings in ArangoDB Pod definitions

Links:

Code Reference

.spec.dbservers.nodeSelector: map[string]string

NodeSelector setting specifies a set of labels to be used as nodeSelector for Pods of this node.

Links:

Code Reference

.spec.dbservers.numactl.args: array

Args define list of the numactl process

Default Value: []

Code Reference

.spec.dbservers.numactl.enabled: boolean

Enabled define if numactl should be enabled

Default Value: false

Code Reference

.spec.dbservers.numactl.path: string

Path define numactl path within the container

Default Value: /usr/bin/numactl

Code Reference

.spec.dbservers.overrideDetectedNumberOfCores: boolean

Important: Values set by this feature override user-provided ARANGODB_OVERRIDE_DETECTED_NUMBER_OF_CORES Container Environment Variable

OverrideDetectedNumberOfCores determines if number of cores should be overridden based on values in resources. If is set to true and Container CPU Limits are set, it sets Container Environment Variable ARANGODB_OVERRIDE_DETECTED_NUMBER_OF_CORES to the value from the Container CPU Limits.

Links:

Default Value: true

Code Reference

.spec.dbservers.overrideDetectedTotalMemory: boolean

Important: Values set by this feature override user-provided ARANGODB_OVERRIDE_DETECTED_TOTAL_MEMORY Container Environment Variable

OverrideDetectedTotalMemory determines if memory should be overridden based on values in resources. If is set to true and Container Memory Limits are set, it sets Container Environment Variable ARANGODB_OVERRIDE_DETECTED_TOTAL_MEMORY to the value from the Container Memory Limits.

Links:

Default Value: true

Code Reference

.spec.dbservers.podModes.network: string

Code Reference

.spec.dbservers.podModes.pid: string

Code Reference

.spec.dbservers.port: integer

Port define Port used by member

Code Reference

.spec.dbservers.priorityClassName: string

PriorityClassName specifies a priority class name Will be forwarded to the pod spec.

Links:

Code Reference

.spec.dbservers.probes.livenessProbeDisabled: boolean

LivenessProbeDisabled if set to true, the operator does not generate a liveness probe for new pods belonging to this group

Default Value: false

Code Reference

.spec.dbservers.probes.livenessProbeSpec.failureThreshold: integer

FailureThreshold when a Pod starts and the probe fails, Kubernetes will try failureThreshold times before giving up. Giving up means restarting the container. Minimum value is 1.

Default Value: 3

Code Reference

.spec.dbservers.probes.livenessProbeSpec.initialDelaySeconds: integer

InitialDelaySeconds specifies number of seconds after the container has started before liveness or readiness probes are initiated. Minimum value is 0.

Default Value: 2

Code Reference

.spec.dbservers.probes.livenessProbeSpec.periodSeconds: integer

PeriodSeconds How often (in seconds) to perform the probe. Minimum value is 1.

Default Value: 10

Code Reference

.spec.dbservers.probes.livenessProbeSpec.successThreshold: integer

SuccessThreshold Minimum consecutive successes for the probe to be considered successful after having failed. Minimum value is 1.

Default Value: 1

Code Reference

.spec.dbservers.probes.livenessProbeSpec.timeoutSeconds: integer

TimeoutSeconds specifies number of seconds after which the probe times out Minimum value is 1.

Default Value: 2

Code Reference

.spec.dbservers.probes.ReadinessProbeDisabled: boolean

OldReadinessProbeDisabled if true readinessProbes are disabled Deprecated: This field is deprecated, keept only for backward compatibility.

Code Reference

.spec.dbservers.probes.readinessProbeDisabled: boolean

ReadinessProbeDisabled override flag for probe disabled in good manner (lowercase) with backward compatibility

Code Reference

.spec.dbservers.probes.readinessProbeSpec.failureThreshold: integer

FailureThreshold when a Pod starts and the probe fails, Kubernetes will try failureThreshold times before giving up. Giving up means restarting the container. Minimum value is 1.

Default Value: 3

Code Reference

.spec.dbservers.probes.readinessProbeSpec.initialDelaySeconds: integer

InitialDelaySeconds specifies number of seconds after the container has started before liveness or readiness probes are initiated. Minimum value is 0.

Default Value: 2

Code Reference

.spec.dbservers.probes.readinessProbeSpec.periodSeconds: integer

PeriodSeconds How often (in seconds) to perform the probe. Minimum value is 1.

Default Value: 10

Code Reference

.spec.dbservers.probes.readinessProbeSpec.successThreshold: integer

SuccessThreshold Minimum consecutive successes for the probe to be considered successful after having failed. Minimum value is 1.

Default Value: 1

Code Reference

.spec.dbservers.probes.readinessProbeSpec.timeoutSeconds: integer

TimeoutSeconds specifies number of seconds after which the probe times out Minimum value is 1.

Default Value: 2

Code Reference

.spec.dbservers.probes.startupProbeDisabled: boolean

StartupProbeDisabled if true startupProbes are disabled

Code Reference

.spec.dbservers.probes.startupProbeSpec.failureThreshold: integer

FailureThreshold when a Pod starts and the probe fails, Kubernetes will try failureThreshold times before giving up. Giving up means restarting the container. Minimum value is 1.

Default Value: 3

Code Reference

.spec.dbservers.probes.startupProbeSpec.initialDelaySeconds: integer

InitialDelaySeconds specifies number of seconds after the container has started before liveness or readiness probes are initiated. Minimum value is 0.

Default Value: 2

Code Reference

.spec.dbservers.probes.startupProbeSpec.periodSeconds: integer

PeriodSeconds How often (in seconds) to perform the probe. Minimum value is 1.

Default Value: 10

Code Reference

.spec.dbservers.probes.startupProbeSpec.successThreshold: integer

SuccessThreshold Minimum consecutive successes for the probe to be considered successful after having failed. Minimum value is 1.

Default Value: 1

Code Reference

.spec.dbservers.probes.startupProbeSpec.timeoutSeconds: integer

TimeoutSeconds specifies number of seconds after which the probe times out Minimum value is 1.

Default Value: 2

Code Reference

.spec.dbservers.pvcResizeMode: string

VolumeResizeMode specified resize mode for PVCs and PVs

Possible Values:

  • runtime (default) - PVC will be resized in Pod runtime (EKS, GKE)
  • rotate - Pod will be shutdown and PVC will be resized (AKS)

Code Reference

.spec.dbservers.resources: core.ResourceRequirements

Resources holds resource requests & limits

Links:

Code Reference

.spec.dbservers.schedulerName: string

SchedulerName define scheduler name used for group

Code Reference

.spec.dbservers.securityContext.addCapabilities: []core.Capability

AddCapabilities add new capabilities to containers

Code Reference

.spec.dbservers.securityContext.allowPrivilegeEscalation: boolean

AllowPrivilegeEscalation Controls whether a process can gain more privileges than its parent process.

Code Reference

.spec.dbservers.securityContext.dropAllCapabilities: boolean

DropAllCapabilities specifies if capabilities should be dropped for this pod containers Deprecated: This field is added for backward compatibility. Will be removed in 1.1.0.

Code Reference

.spec.dbservers.securityContext.fsGroup: integer

FSGroup is a special supplemental group that applies to all containers in a pod.

Code Reference

.spec.dbservers.securityContext.privileged: boolean

Privileged If true, runs container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host.

Code Reference

.spec.dbservers.securityContext.readOnlyRootFilesystem: boolean

ReadOnlyRootFilesystem if true, mounts the container's root filesystem as read-only.

Code Reference

.spec.dbservers.securityContext.runAsGroup: integer

RunAsGroup is the GID to run the entrypoint of the container process.

Code Reference

.spec.dbservers.securityContext.runAsNonRoot: boolean

RunAsNonRoot if true, indicates that the container must run as a non-root user.

Code Reference

.spec.dbservers.securityContext.runAsUser: integer

RunAsUser is the UID to run the entrypoint of the container process.

Code Reference

.spec.dbservers.securityContext.seccompProfile: core.SeccompProfile

SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set.

Links:

Code Reference

.spec.dbservers.securityContext.seLinuxOptions: core.SELinuxOptions

SELinuxOptions are the labels to be applied to the container

Links:

Code Reference

.spec.dbservers.securityContext.supplementalGroups: array

SupplementalGroups is a list of groups applied to the first process run in each container, in addition to the container's primary GID, the fsGroup (if specified), and group memberships defined in the container image for the uid of the container process.

Code Reference

.spec.dbservers.securityContext.sysctls: map[string]intstr.IntOrString

Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch. Map Value can be String or Int

Links:

Example:

sysctls:
  "kernel.shm_rmid_forced": "0"
  "net.core.somaxconn": 1024
  "kernel.msgmax": "65536"

Code Reference

.spec.dbservers.serviceAccountName: string

ServiceAccountName setting specifies the serviceAccountName for the Pods created for each server of this group. If empty, it defaults to using the default service account. Using an alternative ServiceAccount is typically used to separate access rights. The ArangoDB deployments need some very minimal access rights. With the deployment of the operator, we grant the rights to 'get' all 'pod' resources. If you are using a different service account, please grant these rights to that service account.

Code Reference

.spec.dbservers.shutdownDelay: integer

ShutdownDelay define how long operator should delay finalizer removal after shutdown

Code Reference

.spec.dbservers.shutdownMethod: string

ShutdownMethod describe procedure of member shutdown taken by Operator

Code Reference

.spec.dbservers.sidecarCoreNames: array

SidecarCoreNames is a list of sidecar containers which must run in the pod. Some names (e.g.: "server", "worker") are reserved, and they don't have any impact.

Code Reference

.spec.dbservers.sidecars: []core.Container

Sidecars specifies a list of additional containers to be started

Links:

Code Reference

.spec.dbservers.storageClassName: string

StorageClassName specifies the classname for storage of the servers.

Code Reference

.spec.dbservers.terminationGracePeriodSeconds: integer

TerminationGracePeriodSeconds override default TerminationGracePeriodSeconds for pods - via silent rotation

Code Reference

.spec.dbservers.tolerations: []core.Toleration

Tolerations specifies the tolerations added to Pods in this group. By default, suitable tolerations are set for the following keys with the NoExecute effect:

Links:

Code Reference

.spec.dbservers.volumeAllowShrink: boolean

Deprecated: VolumeAllowShrink allows shrink the volume

Code Reference

.spec.dbservers.volumeClaimTemplate: core.PersistentVolumeClaim

VolumeClaimTemplate specifies a volumeClaimTemplate used by operator to create to volume claims for pods of this group. This setting is not available for group coordinators, syncmasters & syncworkers. The default value describes a volume with 8Gi storage, ReadWriteOnce access mode and volume mode set to PersistentVolumeFilesystem. If this field is not set and spec.<group>.resources.requests.storage is set, then a default volume claim with size as specified by spec.<group>.resources.requests.storage will be created. In that case storage and iops is not forwarded to the pods resource requirements.

Links:

Code Reference

.spec.dbservers.volumeMounts: []ServerGroupSpecVolumeMount

VolumeMounts define list of volume mounts mounted into server container

Links:

Code Reference

.spec.dbservers.volumes[int].configMap: core.ConfigMapVolumeSource

ConfigMap which should be mounted into pod

Links:

Code Reference

.spec.dbservers.volumes[int].emptyDir: core.EmptyDirVolumeSource

EmptyDir

Links:

Code Reference

.spec.dbservers.volumes[int].hostPath: core.HostPathVolumeSource

HostPath

Links:

Code Reference

.spec.dbservers.volumes[int].name: string

Name of volume

Code Reference

.spec.dbservers.volumes[int].persistentVolumeClaim: core.PersistentVolumeClaimVolumeSource

PersistentVolumeClaim

Links:

Code Reference

.spec.dbservers.volumes[int].secret: core.SecretVolumeSource

Secret which should be mounted into pod

Links:

Code Reference

.spec.disableIPv6: boolean

DisableIPv6 setting prevents the use of IPv6 addresses by ArangoDB servers. This setting cannot be changed after the deployment has been created.

Default Value: false

Code Reference

.spec.downtimeAllowed: boolean

DowntimeAllowed setting is used to allow automatic reconciliation actions that yield some downtime of the ArangoDB deployment. When this setting is set to false, no automatic action that may result in downtime is allowed. If the need for such an action is detected, an event is added to the ArangoDeployment. Once this setting is set to true, the automatic action is executed. Operations that may result in downtime are:

  • Rotating TLS CA certificate Note: It is still possible that there is some downtime when the Kubernetes cluster is down, or in a bad state, irrespective of the value of this setting.

Default Value: false

Code Reference

.spec.environment: string

Environment setting specifies the type of environment in which the deployment is created.

Possible Values:

  • Development (default) - This value optimizes the deployment for development use. It is possible to run a deployment on a small number of nodes (e.g. minikube).
  • Production - This value optimizes the deployment for production use. It puts required affinity constraints on all pods to avoid Agents & DB-Servers from running on the same machine.

Code Reference

.spec.externalAccess.advertisedEndpoint: string

AdvertisedEndpoint is passed to the coordinators/single servers for advertising a specific endpoint

Code Reference

.spec.externalAccess.loadBalancerIP: string

LoadBalancerIP define optional IP used to configure a load-balancer on, in case of Auto or LoadBalancer type. If you do not specify this setting, an IP will be chosen automatically by the load-balancer provisioner.

Code Reference

.spec.externalAccess.loadBalancerSourceRanges: array

LoadBalancerSourceRanges define LoadBalancerSourceRanges used for LoadBalancer Service type If specified and supported by the platform, this will restrict traffic through the cloud-provider load-balancer will be restricted to the specified client IPs. This field will be ignored if the cloud-provider does not support the feature.

Links:

Code Reference

.spec.externalAccess.managedServiceNames: array

ManagedServiceNames keeps names of services which are not managed by KubeArangoDB. It is only relevant when type of service is managed.

Code Reference

.spec.externalAccess.nodePort: integer

NodePort define optional port used in case of Auto or NodePort type. This setting is used when spec.externalAccess.type is set to NodePort or Auto. If you do not specify this setting, a random port will be chosen automatically.

Code Reference

.spec.externalAccess.type: string

Type specifies the type of Service that will be created to provide access to the ArangoDB deployment from outside the Kubernetes cluster.

Possible Values:

  • Auto (default) - Create a Service of type LoadBalancer and fallback to a Service or type NodePort when the LoadBalancer is not assigned an IP address.
  • None - limit access to application running inside the Kubernetes cluster.
  • LoadBalancer - Create a Service of type LoadBalancer for the ArangoDB deployment.
  • NodePort - Create a Service of type NodePort for the ArangoDB deployment.

Code Reference

.spec.features.foxx.queues: boolean

Code Reference

.spec.id.affinity: core.PodAffinity

Affinity specified additional affinity settings in ArangoDB Pod definitions

Links:

Code Reference

.spec.id.antiAffinity: core.PodAntiAffinity

AntiAffinity specified additional antiAffinity settings in ArangoDB Pod definitions

Links:

Code Reference

.spec.id.entrypoint: string

Entrypoint overrides container executable

Code Reference

.spec.id.nodeAffinity: core.NodeAffinity

NodeAffinity specified additional nodeAffinity settings in ArangoDB Pod definitions

Links:

Code Reference

.spec.id.nodeSelector: object

NodeSelector specifies a set of selectors for nodes

Code Reference

.spec.id.priorityClassName: string

PriorityClassName specifies a priority class name

Code Reference

.spec.id.resources: core.ResourceRequirements

Resources holds resource requests & limits

Links:

Code Reference

.spec.id.securityContext.addCapabilities: []core.Capability

AddCapabilities add new capabilities to containers

Code Reference

.spec.id.securityContext.allowPrivilegeEscalation: boolean

AllowPrivilegeEscalation Controls whether a process can gain more privileges than its parent process.

Code Reference

.spec.id.securityContext.dropAllCapabilities: boolean

DropAllCapabilities specifies if capabilities should be dropped for this pod containers Deprecated: This field is added for backward compatibility. Will be removed in 1.1.0.

Code Reference

.spec.id.securityContext.fsGroup: integer

FSGroup is a special supplemental group that applies to all containers in a pod.

Code Reference

.spec.id.securityContext.privileged: boolean

Privileged If true, runs container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host.

Code Reference

.spec.id.securityContext.readOnlyRootFilesystem: boolean

ReadOnlyRootFilesystem if true, mounts the container's root filesystem as read-only.

Code Reference

.spec.id.securityContext.runAsGroup: integer

RunAsGroup is the GID to run the entrypoint of the container process.

Code Reference

.spec.id.securityContext.runAsNonRoot: boolean

RunAsNonRoot if true, indicates that the container must run as a non-root user.

Code Reference

.spec.id.securityContext.runAsUser: integer

RunAsUser is the UID to run the entrypoint of the container process.

Code Reference

.spec.id.securityContext.seccompProfile: core.SeccompProfile

SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set.

Links:

Code Reference

.spec.id.securityContext.seLinuxOptions: core.SELinuxOptions

SELinuxOptions are the labels to be applied to the container

Links:

Code Reference

.spec.id.securityContext.supplementalGroups: array

SupplementalGroups is a list of groups applied to the first process run in each container, in addition to the container's primary GID, the fsGroup (if specified), and group memberships defined in the container image for the uid of the container process.

Code Reference

.spec.id.securityContext.sysctls: map[string]intstr.IntOrString

Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch. Map Value can be String or Int

Links:

Example:

sysctls:
  "kernel.shm_rmid_forced": "0"
  "net.core.somaxconn": 1024
  "kernel.msgmax": "65536"

Code Reference

.spec.id.serviceAccountName: string

ServiceAccountName specifies the name of the service account used for Pods in this group.

Code Reference

.spec.id.tolerations: []core.Toleration

Tolerations specifies the tolerations added to Pods in this group.

Links:

Code Reference

.spec.image: string

Image specifies the docker image to use for all ArangoDB servers. In a development environment this setting defaults to arangodb/arangodb:latest. For production environments this is a required setting without a default value. It is highly recommend to use explicit version (not latest) for production environments.

Code Reference

.spec.imageDiscoveryMode: string

ImageDiscoveryMode specifies the image discovery mode.

Possible Values:

  • kubelet (default) - Use sha256 of the discovered image in the pods
  • direct - Use image provided in the spec.image directly in the pods

Code Reference

.spec.imagePullPolicy: core.PullPolicy

ImagePullPolicy specifies the pull policy for the docker image to use for all ArangoDB servers.

Links:

Possible Values:

  • Always (default) - Means that kubelet always attempts to pull the latest image. Container will fail If the pull fails.
  • Never - Means that kubelet never pulls an image, but only uses a local image. Container will fail if the image isn't present
  • IfNotPresent - Means that kubelet pulls if the image isn't present on disk. Container will fail if the image isn't present and the pull fails.

Code Reference

.spec.imagePullSecrets: array

ImagePullSecrets specifies the list of image pull secrets for the docker image to use for all ArangoDB servers.

Code Reference

.spec.labels: object

Labels specifies the labels added to Pods in this group.

Code Reference

.spec.labelsIgnoreList: array

LabelsIgnoreList list regexp or plain definitions which labels should be ignored

Code Reference

.spec.labelsMode: string

LabelsMode Define labels mode which should be use while overriding labels

Possible Values:

  • disabled (default) - Disable annotations/labels override. Default if there is no annotations/labels set in ArangoDeployment
  • append - Add new annotations/labels without affecting old ones
  • replace - Replace existing annotations/labels

Code Reference

.spec.license.secretName: string

SecretName setting specifies the name of a kubernetes Secret that contains the license key token used for enterprise images. This value is not used for the Community Edition.

Code Reference

.spec.lifecycle.resources: core.ResourceRequirements

Resources holds resource requests & limits

Links:

Code Reference

.spec.memberPropagationMode: string

MemberPropagationMode defines how changes to pod spec should be propogated. Changes to a pods configuration require a restart of that pod in almost all cases. Pods are restarted eagerly by default, which can cause more restarts than desired, especially when updating arangod as well as the operator. The propagation of the configuration changes can be deferred to the next restart, either triggered manually by the user or by another operation like an upgrade. This reduces the number of restarts for upgrading both the server and the operator from two to one.

Possible Values:

  • always (default) - Restart the member as soon as a configuration change is discovered
  • on-restart - Wait until the next restart to change the member configuration

Code Reference

.spec.metrics.authentication.jwtTokenSecretName: string

JWTTokenSecretName contains the name of the JWT kubernetes secret used for authentication

Code Reference

.spec.metrics.enabled: boolean

Enabled if this is set to true, the operator runs a sidecar container for every Agent, DB-Server, Coordinator and Single server.

Links:

Default Value: false

Code Reference

.spec.metrics.image: string

deprecated

Code Reference

.spec.metrics.mode: string

deprecated

Code Reference

.spec.metrics.port: integer

Code Reference

.spec.metrics.resources: core.ResourceRequirements

Resources holds resource requests & limits

Links:

Code Reference

.spec.metrics.serviceMonitor.enabled: boolean

Code Reference

.spec.metrics.serviceMonitor.labels: object

Code Reference

.spec.metrics.tls: boolean

TLS defines if TLS should be enabled on Metrics exporter endpoint. This option will enable TLS only if TLS is enabled on ArangoDeployment, otherwise true value will not take any effect.

Default Value: true

Code Reference

.spec.mode: string

Mode specifies the type of ArangoDB deployment to create.

Possible Values:

  • Cluster (default) - Full cluster. Defaults to 3 Agents, 3 DB-Servers & 3 Coordinators.
  • ActiveFailover - Active-failover single pair. Defaults to 3 Agents and 2 single servers.
  • Single - Single server only (note this does not provide high availability or reliability).

This field is immutable: Change of the ArangoDeployment Mode is not possible after creation.

Code Reference

.spec.networkAttachedVolumes: boolean

NetworkAttachedVolumes If set to true, a ResignLeadership operation will be triggered when a DB-Server pod is evicted (rather than a CleanOutServer operation). Furthermore, the pod will simply be redeployed on a different node, rather than cleaned and retired and replaced by a new member. You must only set this option to true if your persistent volumes are “movable” in the sense that they can be mounted from a different k8s node, like in the case of network attached volumes. If your persistent volumes are tied to a specific pod, you must leave this option on false.

Default Value: true

Code Reference

.spec.rebalancer.enabled: boolean

Code Reference

.spec.rebalancer.optimizers.leader: boolean

Code Reference

.spec.rebalancer.parallelMoves: integer

Code Reference

.spec.rebalancer.readers.count: boolean

deprecated does not work in Rebalancer V2 Count Enable Shard Count machanism

Code Reference

.spec.recovery.autoRecover: boolean

Code Reference

.spec.restoreEncryptionSecret: string

RestoreEncryptionSecret specifies optional name of secret which contains encryption key used for restore

Code Reference

.spec.restoreFrom: string

RestoreFrom setting specifies a ArangoBackup resource name the cluster should be restored from. After a restore or failure to do so, the status of the deployment contains information about the restore operation in the restore key. It will contain some of the following fields:

  • requestedFrom: name of the ArangoBackup used to restore from.
  • message: optional message explaining why the restore failed.
  • state: state indicating if the restore was successful or not. Possible values: Restoring, Restored, RestoreFailed If the restoreFrom key is removed from the spec, the restore key is deleted as well. A new restore attempt is made if and only if either in the status restore is not set or if spec.restoreFrom and status.requestedFrom are different.

Code Reference

.spec.rocksdb.encryption.keySecretName: string

KeySecretName setting specifies the name of a Kubernetes Secret that contains an encryption key used for encrypting all data stored by ArangoDB servers. When an encryption key is used, encryption of the data in the cluster is enabled, without it encryption is disabled. The default value is empty. This requires the Enterprise Edition. The encryption key cannot be changed after the cluster has been created. The secret specified by this setting, must have a data field named 'key' containing an encryption key that is exactly 32 bytes long.

Code Reference

.spec.single.affinity: core.PodAffinity

Affinity specified additional affinity settings in ArangoDB Pod definitions

Links:

Code Reference

.spec.single.allowMemberRecreation: boolean

AllowMemberRecreation allows to recreate member. This setting changes the member recreation logic based on group:

  • For Sync Masters, Sync Workers, Coordinator and DB-Servers it determines if a member can be recreated in case of failure (default true)
  • For Agents and Single this value is hardcoded to false and the value provided in spec is ignored.

Code Reference

.spec.single.annotations: object

Annotations specified the annotations added to Pods in this group. Annotations are merged with spec.annotations.

Code Reference

.spec.single.annotationsIgnoreList: array

AnnotationsIgnoreList list regexp or plain definitions which annotations should be ignored

Code Reference

.spec.single.annotationsMode: string

AnnotationsMode Define annotations mode which should be use while overriding annotations

Code Reference

.spec.single.antiAffinity: core.PodAntiAffinity

AntiAffinity specified additional antiAffinity settings in ArangoDB Pod definitions

Links:

Code Reference

.spec.single.args: []string

Args setting specifies additional command-line arguments passed to all servers of this group.

Default Value: []

Code Reference

.spec.single.count: integer

Count setting specifies the number of servers to start for the given group. For the Agent group, this value must be a positive, odd number. The default value is 3 for all groups except single (there the default is 1 for spec.mode: Single and 2 for spec.mode: ActiveFailover). For the syncworkers group, it is highly recommended to use the same number as for the dbservers group.

Code Reference

.spec.single.entrypoint: string

Entrypoint overrides container executable

Code Reference

.spec.single.envs[int].name: string

Code Reference

.spec.single.envs[int].value: string

Code Reference

.spec.single.ephemeralVolumes.apps.size: resource.Quantity

Size define size of the ephemeral volume

Links:

Code Reference

.spec.single.ephemeralVolumes.temp.size: resource.Quantity

Size define size of the ephemeral volume

Links:

Code Reference

.spec.single.exporterPort: integer

ExporterPort define Port used by exporter

Code Reference

.spec.single.extendedRotationCheck: boolean

ExtendedRotationCheck extend checks for rotation

Code Reference

.spec.single.externalPortEnabled: boolean

ExternalPortEnabled if external port should be enabled. If is set to false, ports needs to be exposed via sidecar. Only for ArangoD members

Code Reference

.spec.single.indexMethod: string

IndexMethod define group Indexing method

Possible Values:

  • random (default) - Pick random ID for member. Enforced on the Community Operator.
  • ordered - Use sequential number as Member ID, starting from 0. Enterprise Operator required.

Code Reference

.spec.single.initContainers.containers: []core.Container

Containers contains list of containers

Links:

Code Reference

.spec.single.initContainers.mode: string

Mode keep container replace mode

Code Reference

.spec.single.internalPort: integer

InternalPort define port used in internal communication, can be accessed over localhost via sidecar. Only for ArangoD members

Code Reference

.spec.single.internalPortProtocol: string

InternalPortProtocol define protocol of port used in internal communication, can be accessed over localhost via sidecar. Only for ArangoD members

Code Reference

.spec.single.labels: object

Labels specified the labels added to Pods in this group.

Code Reference

.spec.single.labelsIgnoreList: array

LabelsIgnoreList list regexp or plain definitions which labels should be ignored

Code Reference

.spec.single.labelsMode: string

LabelsMode Define labels mode which should be use while overriding labels

Code Reference

.spec.single.maxCount: integer

MaxCount specifies a maximum for the count of servers. If set, a specification is invalid if count > maxCount.

Code Reference

.spec.single.memoryReservation: integer

MemoryReservation determines the system reservation of memory while calculating ARANGODB_OVERRIDE_DETECTED_TOTAL_MEMORY value. If this field is set, ARANGODB_OVERRIDE_DETECTED_TOTAL_MEMORY is reduced by a specified value in percent. Accepted Range <0, 50>. If the value is outside the accepted range, it is adjusted to the closest value.

Links:

Default Value: 0

Code Reference

.spec.single.minCount: integer

MinCount specifies a minimum for the count of servers. If set, a specification is invalid if count < minCount.

Code Reference

.spec.single.nodeAffinity: core.NodeAffinity

NodeAffinity specified additional nodeAffinity settings in ArangoDB Pod definitions

Links:

Code Reference

.spec.single.nodeSelector: map[string]string

NodeSelector setting specifies a set of labels to be used as nodeSelector for Pods of this node.

Links:

Code Reference

.spec.single.numactl.args: array

Args define list of the numactl process

Default Value: []

Code Reference

.spec.single.numactl.enabled: boolean

Enabled define if numactl should be enabled

Default Value: false

Code Reference

.spec.single.numactl.path: string

Path define numactl path within the container

Default Value: /usr/bin/numactl

Code Reference

.spec.single.overrideDetectedNumberOfCores: boolean

Important: Values set by this feature override user-provided ARANGODB_OVERRIDE_DETECTED_NUMBER_OF_CORES Container Environment Variable

OverrideDetectedNumberOfCores determines if number of cores should be overridden based on values in resources. If is set to true and Container CPU Limits are set, it sets Container Environment Variable ARANGODB_OVERRIDE_DETECTED_NUMBER_OF_CORES to the value from the Container CPU Limits.

Links:

Default Value: true

Code Reference

.spec.single.overrideDetectedTotalMemory: boolean

Important: Values set by this feature override user-provided ARANGODB_OVERRIDE_DETECTED_TOTAL_MEMORY Container Environment Variable

OverrideDetectedTotalMemory determines if memory should be overridden based on values in resources. If is set to true and Container Memory Limits are set, it sets Container Environment Variable ARANGODB_OVERRIDE_DETECTED_TOTAL_MEMORY to the value from the Container Memory Limits.

Links:

Default Value: true

Code Reference

.spec.single.podModes.network: string

Code Reference

.spec.single.podModes.pid: string

Code Reference

.spec.single.port: integer

Port define Port used by member

Code Reference

.spec.single.priorityClassName: string

PriorityClassName specifies a priority class name Will be forwarded to the pod spec.

Links:

Code Reference

.spec.single.probes.livenessProbeDisabled: boolean

LivenessProbeDisabled if set to true, the operator does not generate a liveness probe for new pods belonging to this group

Default Value: false

Code Reference

.spec.single.probes.livenessProbeSpec.failureThreshold: integer

FailureThreshold when a Pod starts and the probe fails, Kubernetes will try failureThreshold times before giving up. Giving up means restarting the container. Minimum value is 1.

Default Value: 3

Code Reference

.spec.single.probes.livenessProbeSpec.initialDelaySeconds: integer

InitialDelaySeconds specifies number of seconds after the container has started before liveness or readiness probes are initiated. Minimum value is 0.

Default Value: 2

Code Reference

.spec.single.probes.livenessProbeSpec.periodSeconds: integer

PeriodSeconds How often (in seconds) to perform the probe. Minimum value is 1.

Default Value: 10

Code Reference

.spec.single.probes.livenessProbeSpec.successThreshold: integer

SuccessThreshold Minimum consecutive successes for the probe to be considered successful after having failed. Minimum value is 1.

Default Value: 1

Code Reference

.spec.single.probes.livenessProbeSpec.timeoutSeconds: integer

TimeoutSeconds specifies number of seconds after which the probe times out Minimum value is 1.

Default Value: 2

Code Reference

.spec.single.probes.ReadinessProbeDisabled: boolean

OldReadinessProbeDisabled if true readinessProbes are disabled Deprecated: This field is deprecated, keept only for backward compatibility.

Code Reference

.spec.single.probes.readinessProbeDisabled: boolean

ReadinessProbeDisabled override flag for probe disabled in good manner (lowercase) with backward compatibility

Code Reference

.spec.single.probes.readinessProbeSpec.failureThreshold: integer

FailureThreshold when a Pod starts and the probe fails, Kubernetes will try failureThreshold times before giving up. Giving up means restarting the container. Minimum value is 1.

Default Value: 3

Code Reference

.spec.single.probes.readinessProbeSpec.initialDelaySeconds: integer

InitialDelaySeconds specifies number of seconds after the container has started before liveness or readiness probes are initiated. Minimum value is 0.

Default Value: 2

Code Reference

.spec.single.probes.readinessProbeSpec.periodSeconds: integer

PeriodSeconds How often (in seconds) to perform the probe. Minimum value is 1.

Default Value: 10

Code Reference

.spec.single.probes.readinessProbeSpec.successThreshold: integer

SuccessThreshold Minimum consecutive successes for the probe to be considered successful after having failed. Minimum value is 1.

Default Value: 1

Code Reference

.spec.single.probes.readinessProbeSpec.timeoutSeconds: integer

TimeoutSeconds specifies number of seconds after which the probe times out Minimum value is 1.

Default Value: 2

Code Reference

.spec.single.probes.startupProbeDisabled: boolean

StartupProbeDisabled if true startupProbes are disabled

Code Reference

.spec.single.probes.startupProbeSpec.failureThreshold: integer

FailureThreshold when a Pod starts and the probe fails, Kubernetes will try failureThreshold times before giving up. Giving up means restarting the container. Minimum value is 1.

Default Value: 3

Code Reference

.spec.single.probes.startupProbeSpec.initialDelaySeconds: integer

InitialDelaySeconds specifies number of seconds after the container has started before liveness or readiness probes are initiated. Minimum value is 0.

Default Value: 2

Code Reference

.spec.single.probes.startupProbeSpec.periodSeconds: integer

PeriodSeconds How often (in seconds) to perform the probe. Minimum value is 1.

Default Value: 10

Code Reference

.spec.single.probes.startupProbeSpec.successThreshold: integer

SuccessThreshold Minimum consecutive successes for the probe to be considered successful after having failed. Minimum value is 1.

Default Value: 1

Code Reference

.spec.single.probes.startupProbeSpec.timeoutSeconds: integer

TimeoutSeconds specifies number of seconds after which the probe times out Minimum value is 1.

Default Value: 2

Code Reference

.spec.single.pvcResizeMode: string

VolumeResizeMode specified resize mode for PVCs and PVs

Possible Values:

  • runtime (default) - PVC will be resized in Pod runtime (EKS, GKE)
  • rotate - Pod will be shutdown and PVC will be resized (AKS)

Code Reference

.spec.single.resources: core.ResourceRequirements

Resources holds resource requests & limits

Links:

Code Reference

.spec.single.schedulerName: string

SchedulerName define scheduler name used for group

Code Reference

.spec.single.securityContext.addCapabilities: []core.Capability

AddCapabilities add new capabilities to containers

Code Reference

.spec.single.securityContext.allowPrivilegeEscalation: boolean

AllowPrivilegeEscalation Controls whether a process can gain more privileges than its parent process.

Code Reference

.spec.single.securityContext.dropAllCapabilities: boolean

DropAllCapabilities specifies if capabilities should be dropped for this pod containers Deprecated: This field is added for backward compatibility. Will be removed in 1.1.0.

Code Reference

.spec.single.securityContext.fsGroup: integer

FSGroup is a special supplemental group that applies to all containers in a pod.

Code Reference

.spec.single.securityContext.privileged: boolean

Privileged If true, runs container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host.

Code Reference

.spec.single.securityContext.readOnlyRootFilesystem: boolean

ReadOnlyRootFilesystem if true, mounts the container's root filesystem as read-only.

Code Reference

.spec.single.securityContext.runAsGroup: integer

RunAsGroup is the GID to run the entrypoint of the container process.

Code Reference

.spec.single.securityContext.runAsNonRoot: boolean

RunAsNonRoot if true, indicates that the container must run as a non-root user.

Code Reference

.spec.single.securityContext.runAsUser: integer

RunAsUser is the UID to run the entrypoint of the container process.

Code Reference

.spec.single.securityContext.seccompProfile: core.SeccompProfile

SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set.

Links:

Code Reference

.spec.single.securityContext.seLinuxOptions: core.SELinuxOptions

SELinuxOptions are the labels to be applied to the container

Links:

Code Reference

.spec.single.securityContext.supplementalGroups: array

SupplementalGroups is a list of groups applied to the first process run in each container, in addition to the container's primary GID, the fsGroup (if specified), and group memberships defined in the container image for the uid of the container process.

Code Reference

.spec.single.securityContext.sysctls: map[string]intstr.IntOrString

Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch. Map Value can be String or Int

Links:

Example:

sysctls:
  "kernel.shm_rmid_forced": "0"
  "net.core.somaxconn": 1024
  "kernel.msgmax": "65536"

Code Reference

.spec.single.serviceAccountName: string

ServiceAccountName setting specifies the serviceAccountName for the Pods created for each server of this group. If empty, it defaults to using the default service account. Using an alternative ServiceAccount is typically used to separate access rights. The ArangoDB deployments need some very minimal access rights. With the deployment of the operator, we grant the rights to 'get' all 'pod' resources. If you are using a different service account, please grant these rights to that service account.

Code Reference

.spec.single.shutdownDelay: integer

ShutdownDelay define how long operator should delay finalizer removal after shutdown

Code Reference

.spec.single.shutdownMethod: string

ShutdownMethod describe procedure of member shutdown taken by Operator

Code Reference

.spec.single.sidecarCoreNames: array

SidecarCoreNames is a list of sidecar containers which must run in the pod. Some names (e.g.: "server", "worker") are reserved, and they don't have any impact.

Code Reference

.spec.single.sidecars: []core.Container

Sidecars specifies a list of additional containers to be started

Links:

Code Reference

.spec.single.storageClassName: string

StorageClassName specifies the classname for storage of the servers.

Code Reference

.spec.single.terminationGracePeriodSeconds: integer

TerminationGracePeriodSeconds override default TerminationGracePeriodSeconds for pods - via silent rotation

Code Reference

.spec.single.tolerations: []core.Toleration

Tolerations specifies the tolerations added to Pods in this group. By default, suitable tolerations are set for the following keys with the NoExecute effect:

Links:

Code Reference

.spec.single.volumeAllowShrink: boolean

Deprecated: VolumeAllowShrink allows shrink the volume

Code Reference

.spec.single.volumeClaimTemplate: core.PersistentVolumeClaim

VolumeClaimTemplate specifies a volumeClaimTemplate used by operator to create to volume claims for pods of this group. This setting is not available for group coordinators, syncmasters & syncworkers. The default value describes a volume with 8Gi storage, ReadWriteOnce access mode and volume mode set to PersistentVolumeFilesystem. If this field is not set and spec.<group>.resources.requests.storage is set, then a default volume claim with size as specified by spec.<group>.resources.requests.storage will be created. In that case storage and iops is not forwarded to the pods resource requirements.

Links:

Code Reference

.spec.single.volumeMounts: []ServerGroupSpecVolumeMount

VolumeMounts define list of volume mounts mounted into server container

Links:

Code Reference

.spec.single.volumes[int].configMap: core.ConfigMapVolumeSource

ConfigMap which should be mounted into pod

Links:

Code Reference

.spec.single.volumes[int].emptyDir: core.EmptyDirVolumeSource

EmptyDir

Links:

Code Reference

.spec.single.volumes[int].hostPath: core.HostPathVolumeSource

HostPath

Links:

Code Reference

.spec.single.volumes[int].name: string

Name of volume

Code Reference

.spec.single.volumes[int].persistentVolumeClaim: core.PersistentVolumeClaimVolumeSource

PersistentVolumeClaim

Links:

Code Reference

.spec.single.volumes[int].secret: core.SecretVolumeSource

Secret which should be mounted into pod

Links:

Code Reference

.spec.storageEngine: string

StorageEngine specifies the type of storage engine used for all servers in the cluster.

Possible Values:

  • RocksDB (default) - To use the RocksDB storage engine.
  • MMFiles - To use the MMFiles storage engine. Deprecated.

This field is immutable: This setting cannot be changed after the cluster has been created.

Code Reference

.spec.sync.auth.clientCASecretName: string

ClientCASecretName setting specifies the name of a kubernetes Secret that contains a PEM encoded CA certificate used for client certificate verification in all ArangoSync master servers. This is a required setting when spec.sync.enabled is true.

Code Reference

.spec.sync.auth.jwtSecretName: string

JWTSecretName setting specifies the name of a kubernetes Secret that contains the JWT token used for accessing all ArangoSync master servers. When not specified, the spec.auth.jwtSecretName value is used. If you specify a name of a Secret that does not exist, a random token is created and stored in a Secret with given name.

Code Reference

.spec.sync.enabled: boolean

Enabled setting enables/disables support for data center 2 data center replication in the cluster. When enabled, the cluster will contain a number of syncmaster & syncworker servers.

Default Value: false

Code Reference

.spec.sync.externalAccess.accessPackageSecretNames: []string

AccessPackageSecretNames setting specifies the names of zero of more Secrets that will be created by the deployment operator containing "access packages". An access package contains those Secrets that are needed to access the SyncMasters of this ArangoDeployment. By removing a name from this setting, the corresponding Secret is also deleted. Note that to remove all access packages, leave an empty array in place ([]). Completely removing the setting results in not modifying the list.

Links:

Code Reference

.spec.sync.externalAccess.advertisedEndpoint: string

AdvertisedEndpoint is passed to the coordinators/single servers for advertising a specific endpoint

Code Reference

.spec.sync.externalAccess.loadBalancerIP: string

LoadBalancerIP define optional IP used to configure a load-balancer on, in case of Auto or LoadBalancer type. If you do not specify this setting, an IP will be chosen automatically by the load-balancer provisioner.

Code Reference

.spec.sync.externalAccess.loadBalancerSourceRanges: array

LoadBalancerSourceRanges define LoadBalancerSourceRanges used for LoadBalancer Service type If specified and supported by the platform, this will restrict traffic through the cloud-provider load-balancer will be restricted to the specified client IPs. This field will be ignored if the cloud-provider does not support the feature.

Links:

Code Reference

.spec.sync.externalAccess.managedServiceNames: array

ManagedServiceNames keeps names of services which are not managed by KubeArangoDB. It is only relevant when type of service is managed.

Code Reference

.spec.sync.externalAccess.masterEndpoint: []string

MasterEndpoint setting specifies the master endpoint(s) advertised by the ArangoSync SyncMasters. If not set, this setting defaults to:

  • If spec.sync.externalAccess.loadBalancerIP is set, it defaults to https://<load-balancer-ip>:<8629>.
  • Otherwise it defaults to https://<sync-service-dns-name>:<8629>.

Code Reference

.spec.sync.externalAccess.nodePort: integer

NodePort define optional port used in case of Auto or NodePort type. This setting is used when spec.externalAccess.type is set to NodePort or Auto. If you do not specify this setting, a random port will be chosen automatically.

Code Reference

.spec.sync.externalAccess.type: string

Type specifies the type of Service that will be created to provide access to the ArangoDB deployment from outside the Kubernetes cluster.

Possible Values:

  • Auto (default) - Create a Service of type LoadBalancer and fallback to a Service or type NodePort when the LoadBalancer is not assigned an IP address.
  • None - limit access to application running inside the Kubernetes cluster.
  • LoadBalancer - Create a Service of type LoadBalancer for the ArangoDB deployment.
  • NodePort - Create a Service of type NodePort for the ArangoDB deployment.

Code Reference

.spec.sync.image: string

Code Reference

.spec.sync.monitoring.tokenSecretName: string

TokenSecretName setting specifies the name of a kubernetes Secret that contains the bearer token used for accessing all monitoring endpoints of all arangod/arangosync servers. When not specified, no monitoring token is used.

Code Reference

.spec.sync.tls.altNames: []string

AltNames setting specifies a list of alternate names that will be added to all generated certificates. These names can be DNS names or email addresses. The default value is empty.

Code Reference

.spec.sync.tls.caSecretName: string

CASecretName setting specifies the name of a kubernetes Secret that contains a standard CA certificate + private key used to sign certificates for individual ArangoDB servers. When no name is specified, it defaults to <deployment-name>-ca. To disable authentication, set this value to None. If you specify a name of a Secret that does not exist, a self-signed CA certificate + key is created and stored in a Secret with given name. The specified Secret, must contain the following data fields:

  • ca.crt PEM encoded public key of the CA certificate
  • ca.key PEM encoded private key of the CA certificate

Code Reference

.spec.sync.tls.mode: string

Code Reference

.spec.sync.tls.sni.mapping.<string>: array

Code Reference

.spec.sync.tls.ttl: string

TTL setting specifies the time to live of all generated server certificates. When the server certificate is about to expire, it will be automatically replaced by a new one and the affected server will be restarted. Note: The time to live of the CA certificate (when created automatically) will be set to 10 years.

Default Value: "2160h" (about 3 months)

Code Reference

.spec.syncmasters.affinity: core.PodAffinity

Affinity specified additional affinity settings in ArangoDB Pod definitions

Links:

Code Reference

.spec.syncmasters.allowMemberRecreation: boolean

AllowMemberRecreation allows to recreate member. This setting changes the member recreation logic based on group:

  • For Sync Masters, Sync Workers, Coordinator and DB-Servers it determines if a member can be recreated in case of failure (default true)
  • For Agents and Single this value is hardcoded to false and the value provided in spec is ignored.

Code Reference

.spec.syncmasters.annotations: object

Annotations specified the annotations added to Pods in this group. Annotations are merged with spec.annotations.

Code Reference

.spec.syncmasters.annotationsIgnoreList: array

AnnotationsIgnoreList list regexp or plain definitions which annotations should be ignored

Code Reference

.spec.syncmasters.annotationsMode: string

AnnotationsMode Define annotations mode which should be use while overriding annotations

Code Reference

.spec.syncmasters.antiAffinity: core.PodAntiAffinity

AntiAffinity specified additional antiAffinity settings in ArangoDB Pod definitions

Links:

Code Reference

.spec.syncmasters.args: []string

Args setting specifies additional command-line arguments passed to all servers of this group.

Default Value: []

Code Reference

.spec.syncmasters.count: integer

Count setting specifies the number of servers to start for the given group. For the Agent group, this value must be a positive, odd number. The default value is 3 for all groups except single (there the default is 1 for spec.mode: Single and 2 for spec.mode: ActiveFailover). For the syncworkers group, it is highly recommended to use the same number as for the dbservers group.

Code Reference

.spec.syncmasters.entrypoint: string

Entrypoint overrides container executable

Code Reference

.spec.syncmasters.envs[int].name: string

Code Reference

.spec.syncmasters.envs[int].value: string

Code Reference

.spec.syncmasters.ephemeralVolumes.apps.size: resource.Quantity

Size define size of the ephemeral volume

Links:

Code Reference

.spec.syncmasters.ephemeralVolumes.temp.size: resource.Quantity

Size define size of the ephemeral volume

Links:

Code Reference

.spec.syncmasters.exporterPort: integer

ExporterPort define Port used by exporter

Code Reference

.spec.syncmasters.extendedRotationCheck: boolean

ExtendedRotationCheck extend checks for rotation

Code Reference

.spec.syncmasters.externalPortEnabled: boolean

ExternalPortEnabled if external port should be enabled. If is set to false, ports needs to be exposed via sidecar. Only for ArangoD members

Code Reference

.spec.syncmasters.indexMethod: string

IndexMethod define group Indexing method

Possible Values:

  • random (default) - Pick random ID for member. Enforced on the Community Operator.
  • ordered - Use sequential number as Member ID, starting from 0. Enterprise Operator required.

Code Reference

.spec.syncmasters.initContainers.containers: []core.Container

Containers contains list of containers

Links:

Code Reference

.spec.syncmasters.initContainers.mode: string

Mode keep container replace mode

Code Reference

.spec.syncmasters.internalPort: integer

InternalPort define port used in internal communication, can be accessed over localhost via sidecar. Only for ArangoD members

Code Reference

.spec.syncmasters.internalPortProtocol: string

InternalPortProtocol define protocol of port used in internal communication, can be accessed over localhost via sidecar. Only for ArangoD members

Code Reference

.spec.syncmasters.labels: object

Labels specified the labels added to Pods in this group.

Code Reference

.spec.syncmasters.labelsIgnoreList: array

LabelsIgnoreList list regexp or plain definitions which labels should be ignored

Code Reference

.spec.syncmasters.labelsMode: string

LabelsMode Define labels mode which should be use while overriding labels

Code Reference

.spec.syncmasters.maxCount: integer

MaxCount specifies a maximum for the count of servers. If set, a specification is invalid if count > maxCount.

Code Reference

.spec.syncmasters.memoryReservation: integer

MemoryReservation determines the system reservation of memory while calculating ARANGODB_OVERRIDE_DETECTED_TOTAL_MEMORY value. If this field is set, ARANGODB_OVERRIDE_DETECTED_TOTAL_MEMORY is reduced by a specified value in percent. Accepted Range <0, 50>. If the value is outside the accepted range, it is adjusted to the closest value.

Links:

Default Value: 0

Code Reference

.spec.syncmasters.minCount: integer

MinCount specifies a minimum for the count of servers. If set, a specification is invalid if count < minCount.

Code Reference

.spec.syncmasters.nodeAffinity: core.NodeAffinity

NodeAffinity specified additional nodeAffinity settings in ArangoDB Pod definitions

Links:

Code Reference

.spec.syncmasters.nodeSelector: map[string]string

NodeSelector setting specifies a set of labels to be used as nodeSelector for Pods of this node.

Links:

Code Reference

.spec.syncmasters.numactl.args: array

Args define list of the numactl process

Default Value: []

Code Reference

.spec.syncmasters.numactl.enabled: boolean

Enabled define if numactl should be enabled

Default Value: false

Code Reference

.spec.syncmasters.numactl.path: string

Path define numactl path within the container

Default Value: /usr/bin/numactl

Code Reference

.spec.syncmasters.overrideDetectedNumberOfCores: boolean

Important: Values set by this feature override user-provided ARANGODB_OVERRIDE_DETECTED_NUMBER_OF_CORES Container Environment Variable

OverrideDetectedNumberOfCores determines if number of cores should be overridden based on values in resources. If is set to true and Container CPU Limits are set, it sets Container Environment Variable ARANGODB_OVERRIDE_DETECTED_NUMBER_OF_CORES to the value from the Container CPU Limits.

Links:

Default Value: true

Code Reference

.spec.syncmasters.overrideDetectedTotalMemory: boolean

Important: Values set by this feature override user-provided ARANGODB_OVERRIDE_DETECTED_TOTAL_MEMORY Container Environment Variable

OverrideDetectedTotalMemory determines if memory should be overridden based on values in resources. If is set to true and Container Memory Limits are set, it sets Container Environment Variable ARANGODB_OVERRIDE_DETECTED_TOTAL_MEMORY to the value from the Container Memory Limits.

Links:

Default Value: true

Code Reference

.spec.syncmasters.podModes.network: string

Code Reference

.spec.syncmasters.podModes.pid: string

Code Reference

.spec.syncmasters.port: integer

Port define Port used by member

Code Reference

.spec.syncmasters.priorityClassName: string

PriorityClassName specifies a priority class name Will be forwarded to the pod spec.

Links:

Code Reference

.spec.syncmasters.probes.livenessProbeDisabled: boolean

LivenessProbeDisabled if set to true, the operator does not generate a liveness probe for new pods belonging to this group

Default Value: false

Code Reference

.spec.syncmasters.probes.livenessProbeSpec.failureThreshold: integer

FailureThreshold when a Pod starts and the probe fails, Kubernetes will try failureThreshold times before giving up. Giving up means restarting the container. Minimum value is 1.

Default Value: 3

Code Reference

.spec.syncmasters.probes.livenessProbeSpec.initialDelaySeconds: integer

InitialDelaySeconds specifies number of seconds after the container has started before liveness or readiness probes are initiated. Minimum value is 0.

Default Value: 2

Code Reference

.spec.syncmasters.probes.livenessProbeSpec.periodSeconds: integer

PeriodSeconds How often (in seconds) to perform the probe. Minimum value is 1.

Default Value: 10

Code Reference

.spec.syncmasters.probes.livenessProbeSpec.successThreshold: integer

SuccessThreshold Minimum consecutive successes for the probe to be considered successful after having failed. Minimum value is 1.

Default Value: 1

Code Reference

.spec.syncmasters.probes.livenessProbeSpec.timeoutSeconds: integer

TimeoutSeconds specifies number of seconds after which the probe times out Minimum value is 1.

Default Value: 2

Code Reference

.spec.syncmasters.probes.ReadinessProbeDisabled: boolean

OldReadinessProbeDisabled if true readinessProbes are disabled Deprecated: This field is deprecated, keept only for backward compatibility.

Code Reference

.spec.syncmasters.probes.readinessProbeDisabled: boolean

ReadinessProbeDisabled override flag for probe disabled in good manner (lowercase) with backward compatibility

Code Reference

.spec.syncmasters.probes.readinessProbeSpec.failureThreshold: integer

FailureThreshold when a Pod starts and the probe fails, Kubernetes will try failureThreshold times before giving up. Giving up means restarting the container. Minimum value is 1.

Default Value: 3

Code Reference

.spec.syncmasters.probes.readinessProbeSpec.initialDelaySeconds: integer

InitialDelaySeconds specifies number of seconds after the container has started before liveness or readiness probes are initiated. Minimum value is 0.

Default Value: 2

Code Reference

.spec.syncmasters.probes.readinessProbeSpec.periodSeconds: integer

PeriodSeconds How often (in seconds) to perform the probe. Minimum value is 1.

Default Value: 10

Code Reference

.spec.syncmasters.probes.readinessProbeSpec.successThreshold: integer

SuccessThreshold Minimum consecutive successes for the probe to be considered successful after having failed. Minimum value is 1.

Default Value: 1

Code Reference

.spec.syncmasters.probes.readinessProbeSpec.timeoutSeconds: integer

TimeoutSeconds specifies number of seconds after which the probe times out Minimum value is 1.

Default Value: 2

Code Reference

.spec.syncmasters.probes.startupProbeDisabled: boolean

StartupProbeDisabled if true startupProbes are disabled

Code Reference

.spec.syncmasters.probes.startupProbeSpec.failureThreshold: integer

FailureThreshold when a Pod starts and the probe fails, Kubernetes will try failureThreshold times before giving up. Giving up means restarting the container. Minimum value is 1.

Default Value: 3

Code Reference

.spec.syncmasters.probes.startupProbeSpec.initialDelaySeconds: integer

InitialDelaySeconds specifies number of seconds after the container has started before liveness or readiness probes are initiated. Minimum value is 0.

Default Value: 2

Code Reference

.spec.syncmasters.probes.startupProbeSpec.periodSeconds: integer

PeriodSeconds How often (in seconds) to perform the probe. Minimum value is 1.

Default Value: 10

Code Reference

.spec.syncmasters.probes.startupProbeSpec.successThreshold: integer

SuccessThreshold Minimum consecutive successes for the probe to be considered successful after having failed. Minimum value is 1.

Default Value: 1

Code Reference

.spec.syncmasters.probes.startupProbeSpec.timeoutSeconds: integer

TimeoutSeconds specifies number of seconds after which the probe times out Minimum value is 1.

Default Value: 2

Code Reference

.spec.syncmasters.pvcResizeMode: string

VolumeResizeMode specified resize mode for PVCs and PVs

Possible Values:

  • runtime (default) - PVC will be resized in Pod runtime (EKS, GKE)
  • rotate - Pod will be shutdown and PVC will be resized (AKS)

Code Reference

.spec.syncmasters.resources: core.ResourceRequirements

Resources holds resource requests & limits

Links:

Code Reference

.spec.syncmasters.schedulerName: string

SchedulerName define scheduler name used for group

Code Reference

.spec.syncmasters.securityContext.addCapabilities: []core.Capability

AddCapabilities add new capabilities to containers

Code Reference

.spec.syncmasters.securityContext.allowPrivilegeEscalation: boolean

AllowPrivilegeEscalation Controls whether a process can gain more privileges than its parent process.

Code Reference

.spec.syncmasters.securityContext.dropAllCapabilities: boolean

DropAllCapabilities specifies if capabilities should be dropped for this pod containers Deprecated: This field is added for backward compatibility. Will be removed in 1.1.0.

Code Reference

.spec.syncmasters.securityContext.fsGroup: integer

FSGroup is a special supplemental group that applies to all containers in a pod.

Code Reference

.spec.syncmasters.securityContext.privileged: boolean

Privileged If true, runs container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host.

Code Reference

.spec.syncmasters.securityContext.readOnlyRootFilesystem: boolean

ReadOnlyRootFilesystem if true, mounts the container's root filesystem as read-only.

Code Reference

.spec.syncmasters.securityContext.runAsGroup: integer

RunAsGroup is the GID to run the entrypoint of the container process.

Code Reference

.spec.syncmasters.securityContext.runAsNonRoot: boolean

RunAsNonRoot if true, indicates that the container must run as a non-root user.

Code Reference

.spec.syncmasters.securityContext.runAsUser: integer

RunAsUser is the UID to run the entrypoint of the container process.

Code Reference

.spec.syncmasters.securityContext.seccompProfile: core.SeccompProfile

SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set.

Links:

Code Reference

.spec.syncmasters.securityContext.seLinuxOptions: core.SELinuxOptions

SELinuxOptions are the labels to be applied to the container

Links:

Code Reference

.spec.syncmasters.securityContext.supplementalGroups: array

SupplementalGroups is a list of groups applied to the first process run in each container, in addition to the container's primary GID, the fsGroup (if specified), and group memberships defined in the container image for the uid of the container process.

Code Reference

.spec.syncmasters.securityContext.sysctls: map[string]intstr.IntOrString

Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch. Map Value can be String or Int

Links:

Example:

sysctls:
  "kernel.shm_rmid_forced": "0"
  "net.core.somaxconn": 1024
  "kernel.msgmax": "65536"

Code Reference

.spec.syncmasters.serviceAccountName: string

ServiceAccountName setting specifies the serviceAccountName for the Pods created for each server of this group. If empty, it defaults to using the default service account. Using an alternative ServiceAccount is typically used to separate access rights. The ArangoDB deployments need some very minimal access rights. With the deployment of the operator, we grant the rights to 'get' all 'pod' resources. If you are using a different service account, please grant these rights to that service account.

Code Reference

.spec.syncmasters.shutdownDelay: integer

ShutdownDelay define how long operator should delay finalizer removal after shutdown

Code Reference

.spec.syncmasters.shutdownMethod: string

ShutdownMethod describe procedure of member shutdown taken by Operator

Code Reference

.spec.syncmasters.sidecarCoreNames: array

SidecarCoreNames is a list of sidecar containers which must run in the pod. Some names (e.g.: "server", "worker") are reserved, and they don't have any impact.

Code Reference

.spec.syncmasters.sidecars: []core.Container

Sidecars specifies a list of additional containers to be started

Links:

Code Reference

.spec.syncmasters.storageClassName: string

StorageClassName specifies the classname for storage of the servers.

Code Reference

.spec.syncmasters.terminationGracePeriodSeconds: integer

TerminationGracePeriodSeconds override default TerminationGracePeriodSeconds for pods - via silent rotation

Code Reference

.spec.syncmasters.tolerations: []core.Toleration

Tolerations specifies the tolerations added to Pods in this group. By default, suitable tolerations are set for the following keys with the NoExecute effect:

Links:

Code Reference

.spec.syncmasters.volumeAllowShrink: boolean

Deprecated: VolumeAllowShrink allows shrink the volume

Code Reference

.spec.syncmasters.volumeClaimTemplate: core.PersistentVolumeClaim

VolumeClaimTemplate specifies a volumeClaimTemplate used by operator to create to volume claims for pods of this group. This setting is not available for group coordinators, syncmasters & syncworkers. The default value describes a volume with 8Gi storage, ReadWriteOnce access mode and volume mode set to PersistentVolumeFilesystem. If this field is not set and spec.<group>.resources.requests.storage is set, then a default volume claim with size as specified by spec.<group>.resources.requests.storage will be created. In that case storage and iops is not forwarded to the pods resource requirements.

Links:

Code Reference

.spec.syncmasters.volumeMounts: []ServerGroupSpecVolumeMount

VolumeMounts define list of volume mounts mounted into server container

Links:

Code Reference

.spec.syncmasters.volumes[int].configMap: core.ConfigMapVolumeSource

ConfigMap which should be mounted into pod

Links:

Code Reference

.spec.syncmasters.volumes[int].emptyDir: core.EmptyDirVolumeSource

EmptyDir

Links:

Code Reference

.spec.syncmasters.volumes[int].hostPath: core.HostPathVolumeSource

HostPath

Links:

Code Reference

.spec.syncmasters.volumes[int].name: string

Name of volume

Code Reference

.spec.syncmasters.volumes[int].persistentVolumeClaim: core.PersistentVolumeClaimVolumeSource

PersistentVolumeClaim

Links:

Code Reference

.spec.syncmasters.volumes[int].secret: core.SecretVolumeSource

Secret which should be mounted into pod

Links:

Code Reference

.spec.syncworkers.affinity: core.PodAffinity

Affinity specified additional affinity settings in ArangoDB Pod definitions

Links:

Code Reference

.spec.syncworkers.allowMemberRecreation: boolean

AllowMemberRecreation allows to recreate member. This setting changes the member recreation logic based on group:

  • For Sync Masters, Sync Workers, Coordinator and DB-Servers it determines if a member can be recreated in case of failure (default true)
  • For Agents and Single this value is hardcoded to false and the value provided in spec is ignored.

Code Reference

.spec.syncworkers.annotations: object

Annotations specified the annotations added to Pods in this group. Annotations are merged with spec.annotations.

Code Reference

.spec.syncworkers.annotationsIgnoreList: array

AnnotationsIgnoreList list regexp or plain definitions which annotations should be ignored

Code Reference

.spec.syncworkers.annotationsMode: string

AnnotationsMode Define annotations mode which should be use while overriding annotations

Code Reference

.spec.syncworkers.antiAffinity: core.PodAntiAffinity

AntiAffinity specified additional antiAffinity settings in ArangoDB Pod definitions

Links:

Code Reference

.spec.syncworkers.args: []string

Args setting specifies additional command-line arguments passed to all servers of this group.

Default Value: []

Code Reference

.spec.syncworkers.count: integer

Count setting specifies the number of servers to start for the given group. For the Agent group, this value must be a positive, odd number. The default value is 3 for all groups except single (there the default is 1 for spec.mode: Single and 2 for spec.mode: ActiveFailover). For the syncworkers group, it is highly recommended to use the same number as for the dbservers group.

Code Reference

.spec.syncworkers.entrypoint: string

Entrypoint overrides container executable

Code Reference

.spec.syncworkers.envs[int].name: string

Code Reference

.spec.syncworkers.envs[int].value: string

Code Reference

.spec.syncworkers.ephemeralVolumes.apps.size: resource.Quantity

Size define size of the ephemeral volume

Links:

Code Reference

.spec.syncworkers.ephemeralVolumes.temp.size: resource.Quantity

Size define size of the ephemeral volume

Links:

Code Reference

.spec.syncworkers.exporterPort: integer

ExporterPort define Port used by exporter

Code Reference

.spec.syncworkers.extendedRotationCheck: boolean

ExtendedRotationCheck extend checks for rotation

Code Reference

.spec.syncworkers.externalPortEnabled: boolean

ExternalPortEnabled if external port should be enabled. If is set to false, ports needs to be exposed via sidecar. Only for ArangoD members

Code Reference

.spec.syncworkers.indexMethod: string

IndexMethod define group Indexing method

Possible Values:

  • random (default) - Pick random ID for member. Enforced on the Community Operator.
  • ordered - Use sequential number as Member ID, starting from 0. Enterprise Operator required.

Code Reference

.spec.syncworkers.initContainers.containers: []core.Container

Containers contains list of containers

Links:

Code Reference

.spec.syncworkers.initContainers.mode: string

Mode keep container replace mode

Code Reference

.spec.syncworkers.internalPort: integer

InternalPort define port used in internal communication, can be accessed over localhost via sidecar. Only for ArangoD members

Code Reference

.spec.syncworkers.internalPortProtocol: string

InternalPortProtocol define protocol of port used in internal communication, can be accessed over localhost via sidecar. Only for ArangoD members

Code Reference

.spec.syncworkers.labels: object

Labels specified the labels added to Pods in this group.

Code Reference

.spec.syncworkers.labelsIgnoreList: array

LabelsIgnoreList list regexp or plain definitions which labels should be ignored

Code Reference

.spec.syncworkers.labelsMode: string

LabelsMode Define labels mode which should be use while overriding labels

Code Reference

.spec.syncworkers.maxCount: integer

MaxCount specifies a maximum for the count of servers. If set, a specification is invalid if count > maxCount.

Code Reference

.spec.syncworkers.memoryReservation: integer

MemoryReservation determines the system reservation of memory while calculating ARANGODB_OVERRIDE_DETECTED_TOTAL_MEMORY value. If this field is set, ARANGODB_OVERRIDE_DETECTED_TOTAL_MEMORY is reduced by a specified value in percent. Accepted Range <0, 50>. If the value is outside the accepted range, it is adjusted to the closest value.

Links:

Default Value: 0

Code Reference

.spec.syncworkers.minCount: integer

MinCount specifies a minimum for the count of servers. If set, a specification is invalid if count < minCount.

Code Reference

.spec.syncworkers.nodeAffinity: core.NodeAffinity

NodeAffinity specified additional nodeAffinity settings in ArangoDB Pod definitions

Links:

Code Reference

.spec.syncworkers.nodeSelector: map[string]string

NodeSelector setting specifies a set of labels to be used as nodeSelector for Pods of this node.

Links:

Code Reference

.spec.syncworkers.numactl.args: array

Args define list of the numactl process

Default Value: []

Code Reference

.spec.syncworkers.numactl.enabled: boolean

Enabled define if numactl should be enabled

Default Value: false

Code Reference

.spec.syncworkers.numactl.path: string

Path define numactl path within the container

Default Value: /usr/bin/numactl

Code Reference

.spec.syncworkers.overrideDetectedNumberOfCores: boolean

Important: Values set by this feature override user-provided ARANGODB_OVERRIDE_DETECTED_NUMBER_OF_CORES Container Environment Variable

OverrideDetectedNumberOfCores determines if number of cores should be overridden based on values in resources. If is set to true and Container CPU Limits are set, it sets Container Environment Variable ARANGODB_OVERRIDE_DETECTED_NUMBER_OF_CORES to the value from the Container CPU Limits.

Links:

Default Value: true

Code Reference

.spec.syncworkers.overrideDetectedTotalMemory: boolean

Important: Values set by this feature override user-provided ARANGODB_OVERRIDE_DETECTED_TOTAL_MEMORY Container Environment Variable

OverrideDetectedTotalMemory determines if memory should be overridden based on values in resources. If is set to true and Container Memory Limits are set, it sets Container Environment Variable ARANGODB_OVERRIDE_DETECTED_TOTAL_MEMORY to the value from the Container Memory Limits.

Links:

Default Value: true

Code Reference

.spec.syncworkers.podModes.network: string

Code Reference

.spec.syncworkers.podModes.pid: string

Code Reference

.spec.syncworkers.port: integer

Port define Port used by member

Code Reference

.spec.syncworkers.priorityClassName: string

PriorityClassName specifies a priority class name Will be forwarded to the pod spec.

Links:

Code Reference

.spec.syncworkers.probes.livenessProbeDisabled: boolean

LivenessProbeDisabled if set to true, the operator does not generate a liveness probe for new pods belonging to this group

Default Value: false

Code Reference

.spec.syncworkers.probes.livenessProbeSpec.failureThreshold: integer

FailureThreshold when a Pod starts and the probe fails, Kubernetes will try failureThreshold times before giving up. Giving up means restarting the container. Minimum value is 1.

Default Value: 3

Code Reference

.spec.syncworkers.probes.livenessProbeSpec.initialDelaySeconds: integer

InitialDelaySeconds specifies number of seconds after the container has started before liveness or readiness probes are initiated. Minimum value is 0.

Default Value: 2

Code Reference

.spec.syncworkers.probes.livenessProbeSpec.periodSeconds: integer

PeriodSeconds How often (in seconds) to perform the probe. Minimum value is 1.

Default Value: 10

Code Reference

.spec.syncworkers.probes.livenessProbeSpec.successThreshold: integer

SuccessThreshold Minimum consecutive successes for the probe to be considered successful after having failed. Minimum value is 1.

Default Value: 1

Code Reference

.spec.syncworkers.probes.livenessProbeSpec.timeoutSeconds: integer

TimeoutSeconds specifies number of seconds after which the probe times out Minimum value is 1.

Default Value: 2

Code Reference

.spec.syncworkers.probes.ReadinessProbeDisabled: boolean

OldReadinessProbeDisabled if true readinessProbes are disabled Deprecated: This field is deprecated, keept only for backward compatibility.

Code Reference

.spec.syncworkers.probes.readinessProbeDisabled: boolean

ReadinessProbeDisabled override flag for probe disabled in good manner (lowercase) with backward compatibility

Code Reference

.spec.syncworkers.probes.readinessProbeSpec.failureThreshold: integer

FailureThreshold when a Pod starts and the probe fails, Kubernetes will try failureThreshold times before giving up. Giving up means restarting the container. Minimum value is 1.

Default Value: 3

Code Reference

.spec.syncworkers.probes.readinessProbeSpec.initialDelaySeconds: integer

InitialDelaySeconds specifies number of seconds after the container has started before liveness or readiness probes are initiated. Minimum value is 0.

Default Value: 2

Code Reference

.spec.syncworkers.probes.readinessProbeSpec.periodSeconds: integer

PeriodSeconds How often (in seconds) to perform the probe. Minimum value is 1.

Default Value: 10

Code Reference

.spec.syncworkers.probes.readinessProbeSpec.successThreshold: integer

SuccessThreshold Minimum consecutive successes for the probe to be considered successful after having failed. Minimum value is 1.

Default Value: 1

Code Reference

.spec.syncworkers.probes.readinessProbeSpec.timeoutSeconds: integer

TimeoutSeconds specifies number of seconds after which the probe times out Minimum value is 1.

Default Value: 2

Code Reference

.spec.syncworkers.probes.startupProbeDisabled: boolean

StartupProbeDisabled if true startupProbes are disabled

Code Reference

.spec.syncworkers.probes.startupProbeSpec.failureThreshold: integer

FailureThreshold when a Pod starts and the probe fails, Kubernetes will try failureThreshold times before giving up. Giving up means restarting the container. Minimum value is 1.

Default Value: 3

Code Reference

.spec.syncworkers.probes.startupProbeSpec.initialDelaySeconds: integer

InitialDelaySeconds specifies number of seconds after the container has started before liveness or readiness probes are initiated. Minimum value is 0.

Default Value: 2

Code Reference

.spec.syncworkers.probes.startupProbeSpec.periodSeconds: integer

PeriodSeconds How often (in seconds) to perform the probe. Minimum value is 1.

Default Value: 10

Code Reference

.spec.syncworkers.probes.startupProbeSpec.successThreshold: integer

SuccessThreshold Minimum consecutive successes for the probe to be considered successful after having failed. Minimum value is 1.

Default Value: 1

Code Reference

.spec.syncworkers.probes.startupProbeSpec.timeoutSeconds: integer

TimeoutSeconds specifies number of seconds after which the probe times out Minimum value is 1.

Default Value: 2

Code Reference

.spec.syncworkers.pvcResizeMode: string

VolumeResizeMode specified resize mode for PVCs and PVs

Possible Values:

  • runtime (default) - PVC will be resized in Pod runtime (EKS, GKE)
  • rotate - Pod will be shutdown and PVC will be resized (AKS)

Code Reference

.spec.syncworkers.resources: core.ResourceRequirements

Resources holds resource requests & limits

Links:

Code Reference

.spec.syncworkers.schedulerName: string

SchedulerName define scheduler name used for group

Code Reference

.spec.syncworkers.securityContext.addCapabilities: []core.Capability

AddCapabilities add new capabilities to containers

Code Reference

.spec.syncworkers.securityContext.allowPrivilegeEscalation: boolean

AllowPrivilegeEscalation Controls whether a process can gain more privileges than its parent process.

Code Reference

.spec.syncworkers.securityContext.dropAllCapabilities: boolean

DropAllCapabilities specifies if capabilities should be dropped for this pod containers Deprecated: This field is added for backward compatibility. Will be removed in 1.1.0.

Code Reference

.spec.syncworkers.securityContext.fsGroup: integer

FSGroup is a special supplemental group that applies to all containers in a pod.

Code Reference

.spec.syncworkers.securityContext.privileged: boolean

Privileged If true, runs container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host.

Code Reference

.spec.syncworkers.securityContext.readOnlyRootFilesystem: boolean

ReadOnlyRootFilesystem if true, mounts the container's root filesystem as read-only.

Code Reference

.spec.syncworkers.securityContext.runAsGroup: integer

RunAsGroup is the GID to run the entrypoint of the container process.

Code Reference

.spec.syncworkers.securityContext.runAsNonRoot: boolean

RunAsNonRoot if true, indicates that the container must run as a non-root user.

Code Reference

.spec.syncworkers.securityContext.runAsUser: integer

RunAsUser is the UID to run the entrypoint of the container process.

Code Reference

.spec.syncworkers.securityContext.seccompProfile: core.SeccompProfile

SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set.

Links:

Code Reference

.spec.syncworkers.securityContext.seLinuxOptions: core.SELinuxOptions

SELinuxOptions are the labels to be applied to the container

Links:

Code Reference

.spec.syncworkers.securityContext.supplementalGroups: array

SupplementalGroups is a list of groups applied to the first process run in each container, in addition to the container's primary GID, the fsGroup (if specified), and group memberships defined in the container image for the uid of the container process.

Code Reference

.spec.syncworkers.securityContext.sysctls: map[string]intstr.IntOrString

Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch. Map Value can be String or Int

Links:

Example:

sysctls:
  "kernel.shm_rmid_forced": "0"
  "net.core.somaxconn": 1024
  "kernel.msgmax": "65536"

Code Reference

.spec.syncworkers.serviceAccountName: string

ServiceAccountName setting specifies the serviceAccountName for the Pods created for each server of this group. If empty, it defaults to using the default service account. Using an alternative ServiceAccount is typically used to separate access rights. The ArangoDB deployments need some very minimal access rights. With the deployment of the operator, we grant the rights to 'get' all 'pod' resources. If you are using a different service account, please grant these rights to that service account.

Code Reference

.spec.syncworkers.shutdownDelay: integer

ShutdownDelay define how long operator should delay finalizer removal after shutdown

Code Reference

.spec.syncworkers.shutdownMethod: string

ShutdownMethod describe procedure of member shutdown taken by Operator

Code Reference

.spec.syncworkers.sidecarCoreNames: array

SidecarCoreNames is a list of sidecar containers which must run in the pod. Some names (e.g.: "server", "worker") are reserved, and they don't have any impact.

Code Reference

.spec.syncworkers.sidecars: []core.Container

Sidecars specifies a list of additional containers to be started

Links:

Code Reference

.spec.syncworkers.storageClassName: string

StorageClassName specifies the classname for storage of the servers.

Code Reference

.spec.syncworkers.terminationGracePeriodSeconds: integer

TerminationGracePeriodSeconds override default TerminationGracePeriodSeconds for pods - via silent rotation

Code Reference

.spec.syncworkers.tolerations: []core.Toleration

Tolerations specifies the tolerations added to Pods in this group. By default, suitable tolerations are set for the following keys with the NoExecute effect:

Links:

Code Reference

.spec.syncworkers.volumeAllowShrink: boolean

Deprecated: VolumeAllowShrink allows shrink the volume

Code Reference

.spec.syncworkers.volumeClaimTemplate: core.PersistentVolumeClaim

VolumeClaimTemplate specifies a volumeClaimTemplate used by operator to create to volume claims for pods of this group. This setting is not available for group coordinators, syncmasters & syncworkers. The default value describes a volume with 8Gi storage, ReadWriteOnce access mode and volume mode set to PersistentVolumeFilesystem. If this field is not set and spec.<group>.resources.requests.storage is set, then a default volume claim with size as specified by spec.<group>.resources.requests.storage will be created. In that case storage and iops is not forwarded to the pods resource requirements.

Links:

Code Reference

.spec.syncworkers.volumeMounts: []ServerGroupSpecVolumeMount

VolumeMounts define list of volume mounts mounted into server container

Links:

Code Reference

.spec.syncworkers.volumes[int].configMap: core.ConfigMapVolumeSource

ConfigMap which should be mounted into pod

Links:

Code Reference

.spec.syncworkers.volumes[int].emptyDir: core.EmptyDirVolumeSource

EmptyDir

Links:

Code Reference

.spec.syncworkers.volumes[int].hostPath: core.HostPathVolumeSource

HostPath

Links:

Code Reference

.spec.syncworkers.volumes[int].name: string

Name of volume

Code Reference

.spec.syncworkers.volumes[int].persistentVolumeClaim: core.PersistentVolumeClaimVolumeSource

PersistentVolumeClaim

Links:

Code Reference

.spec.syncworkers.volumes[int].secret: core.SecretVolumeSource

Secret which should be mounted into pod

Links:

Code Reference

.spec.timeouts.actions: map[string]meta.Duration

Actions keep map of the actions timeouts.

Links:

Example:

actions:
  AddMember: 30m

Code Reference

.spec.timeouts.maintenanceGracePeriod: integer

MaintenanceGracePeriod action timeout

Code Reference

.spec.timezone: string

Timezone if specified, will set a timezone for deployment. Must be in format accepted by "tzdata", e.g. America/New_York or Europe/London

Code Reference

.spec.tls.altNames: []string

AltNames setting specifies a list of alternate names that will be added to all generated certificates. These names can be DNS names or email addresses. The default value is empty.

Code Reference

.spec.tls.caSecretName: string

CASecretName setting specifies the name of a kubernetes Secret that contains a standard CA certificate + private key used to sign certificates for individual ArangoDB servers. When no name is specified, it defaults to <deployment-name>-ca. To disable authentication, set this value to None. If you specify a name of a Secret that does not exist, a self-signed CA certificate + key is created and stored in a Secret with given name. The specified Secret, must contain the following data fields:

  • ca.crt PEM encoded public key of the CA certificate
  • ca.key PEM encoded private key of the CA certificate

Code Reference

.spec.tls.mode: string

Code Reference

.spec.tls.sni.mapping.<string>: array

Code Reference

.spec.tls.ttl: string

TTL setting specifies the time to live of all generated server certificates. When the server certificate is about to expire, it will be automatically replaced by a new one and the affected server will be restarted. Note: The time to live of the CA certificate (when created automatically) will be set to 10 years.

Default Value: "2160h" (about 3 months)

Code Reference

.spec.topology.enabled: boolean

Code Reference

.spec.topology.label: string

Code Reference

.spec.topology.zones: integer

Code Reference

.spec.upgrade.autoUpgrade: boolean

AutoUpgrade flag specifies if upgrade should be auto-injected, even if is not required (in case of stuck)

Default Value: false

Code Reference

.spec.upgrade.debugLog: boolean

DebugLog flag specifies if containers running upgrade process should print more debugging information. This applies only to init containers.

Default Value: false

Code Reference