Debian Codegraph @

helm-chart/values.yaml

raw
1 replicaCount: 4
2
3 image:
4 repository: "celery/celery"
5 pullPolicy: IfNotPresent
6 # Overrides the image tag whose default is the chart appVersion.
7 tag: "dev"
8
9
10 namespace: "celery"
11 imagePullSecrets: []
12 nameOverride: "celery"
13 fullnameOverride: "celery"
14
15 serviceAccount:
16 # Specifies whether a service account should be created
17 create: true
18 # Automatically mount a ServiceAccount's API credentials?
19 automount: true
20 # Annotations to add to the service account
21 annotations: {}
22 # The name of the service account to use.
23 # If not set and create is true, a name is generated using the fullname template
24 name: "celery"
25
26
27 secrets:
28 enabled: false
29 name: celery
30 data: {}
31
32 podAnnotations: {}
33 podLabels: {}
34
35 podSecurityContext: {}
36 # fsGroup: 2000
37
38 securityContext: {}
39 # capabilities:
40 # drop:
41 # - ALL
42 # readOnlyRootFilesystem: true
43 # runAsNonRoot: true
44 # runAsUser: 1000
45
46 service:
47 type: ClusterIP
48 port: 80
49
50 resources: {}
51
52 ## Do not change liveness and readiness probe unless you are absolutely certain
53 livenessProbe:
54 exec:
55 command: [
56 "/usr/local/bin/python3",
57 "-c",
58 "\"import os;from celery.task.control import inspect;from <APP> import celery_app;exit(0 if os.environ['HOSTNAME'] in ','.join(inspect(app=celery_app).stats().keys()) else 1)\""
59 ]
60
61 readinessProbe:
62 exec:
63 command: [
64 "/usr/local/bin/python3",
65 "-c",
66 "\"import os;from celery.task.control import inspect;from <APP> import celery_app;exit(0 if os.environ['HOSTNAME'] in ','.join(inspect(app=celery_app).stats().keys()) else 1)\""
67 ]
68
69 # You can add env variables needed for celery
70 configmap:
71 name: "celery"
72 data:
73 CELERY_BROKER_URL: ""
74
75 # Additional volumes on the output Deployment definition.
76 volumes: []
77 # - name: foo
78 # secret:
79 # secretName: mysecret
80 # optional: false
81
82 # Additional volumeMounts on the output Deployment definition.
83 volumeMounts: []
84 # - name: foo
85 # mountPath: "/etc/foo"
86 # readOnly: true
87
88 nodeSelector: {}
89
90 tolerations: []
91
92 affinity: {}
93