File tree Expand file tree Collapse file tree 4 files changed +8
-2
lines changed Expand file tree Collapse file tree 4 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -43,3 +43,5 @@ annotations:
4343 description: Convert existing comments to descriptors
4444 - kind: added
4545 description: Testing on the oldest officially supported k8s
46+ - kind: added
47+ description: Checker for maximal number of celery beats
Original file line number Diff line number Diff line change @@ -540,7 +540,7 @@ A Helm chart for Kubernetes to install DefectDojo
540540| celery.beat.podAnnotations | object | `{}` | Annotations for the Celery beat pods. |
541541| celery.beat.podSecurityContext | object | `{}` | Pod security context for the Celery beat pods. |
542542| celery.beat.readinessProbe | object | `{}` | Enable readiness probe for Celery beat container. |
543- | celery.beat.replicas | int | `1` | |
543+ | celery.beat.replicas | int | `1` | Multiple replicas are not allowed (Beat is intended to be a singleton) because scaling to >1 will double-run schedules |
544544| celery.beat.resources.limits.cpu | string | `"2000m"` | |
545545| celery.beat.resources.limits.memory | string | `"256Mi"` | |
546546| celery.beat.resources.requests.cpu | string | `"100m"` | |
Original file line number Diff line number Diff line change 113113 "type" : " object"
114114 },
115115 "replicas" : {
116- "type" : " integer"
116+ "description" : " Multiple replicas are not allowed (Beat is intended to be a singleton) because scaling to \u003e 1 will double-run schedules" ,
117+ "type" : " integer" ,
118+ "maximum" : 1
117119 },
118120 "resources" : {
119121 "type" : " object" ,
Original file line number Diff line number Diff line change @@ -255,6 +255,8 @@ celery:
255255 podSecurityContext : {}
256256 # -- Enable readiness probe for Celery beat container.
257257 readinessProbe : {}
258+ # @schema maximum:1
259+ # -- Multiple replicas are not allowed (Beat is intended to be a singleton) because scaling to >1 will double-run schedules
258260 replicas : 1
259261 resources :
260262 requests :
You can’t perform that action at this time.
0 commit comments