Skip to main content
Version: Spectra Detect 6.2.0

Celery Worker Secrets and ConfigMap values

Values

Kubernetes Settings

KeyTypeDefaultDescription
affinityobject{}Affinity for pod scheduling. Allows to constrain which nodes your pod can be scheduled on based on node labels or ensure pods are co-located (or isolated) from other pods.
imagePullSecretslist[{"name":"rl-registry-key"}]Set of stored credentials (authentication tokens) that allows Kubernetes node to "log in" to a private container registry to pull restricted images. Each item must be an object with a 'name' key.
nodeSelectorobject{}Node labels for pod assignment. Pods will only be scheduled to nodes that match all labels defined here.
serviceAccountobject-Service Account configuration values.
serviceAccount.annotationsobject{}Additional annotations to add to the ServiceAccount.
serviceAccount.createbooltrueSpecifies whether a ServiceAccount should be created. If false, an existing ServiceAccount name should be provided in name variable.
serviceAccount.namestringnilThe name of the ServiceAccount to use. If not set and create is true, default account name is used.
useReloaderstringnilWhether to enable Reloader annotations. When defined, this value takes precedence over global.useReloader.

Pod Settings

KeyTypeDefaultDescription
autoscalingobject-Autoscaling configuration values.
autoscaling.cooldownPeriodint180The period to wait after the last trigger reported active before scaling the resource back to 0, in seconds.
autoscaling.enabledboolfalseEnable/disable autoscaling.
autoscaling.maxReplicasint8Maximum number of replicas that can be deployed when scaling in enabled.
autoscaling.minReplicasint1Minimum number of replicas that need to be deployed.
autoscaling.pollingIntervalint10Interval to check each trigger, in seconds.
autoscaling.scaleDownobject-ScaleDown configuration values.
autoscaling.scaleDown.stabilizationWindowint180Number of continuous seconds in which the scaling condition is not met. When this is reached, scale down is started.
autoscaling.scaleUpobject-ScaleUp configuration values.
autoscaling.scaleUp.numberOfPodsint1Number of pods that can be scaled in the defined period.
autoscaling.scaleUp.periodint30Interval in which the numberOfPods value is applied.
autoscaling.scaleUp.stabilizationWindowint15Number of continuous seconds in which the scaling condition is met. When this is reached, scale up is started.
autoscaling.targetInputQueueSizeint10Number of messages in backlog to trigger scaling on. Must be greater than 0.
imageobject-Configuration values of the SDM celery worker image.
image.pullPolicystring"Always"Image pull policy. Options: Always, IfNotPresent, Never.
image.tagstring"6.2.0-34"Image tag.
replicaCountint1Number of desired pod instances. Ignored when autoscaling is enabled.
resourcesobject-Resource requests and limits for the container.
resources.limitsobject-The maximum amount of resources the container is allowed to consume.
resources.limits.cpustring"3000m"CPU limit. Throttling occurs if the container exceeds this value.
resources.limits.memorystring"4Gi"Memory limit. If exceeded, the container may be terminated with an OOMKilled error.
resources.requestsobject-The minimum amount of resources the container is guaranteed.
resources.requests.cpustring"1000m"CPU request.
resources.requests.memorystring"2Gi"Memory request.