-
Notifications
You must be signed in to change notification settings - Fork 1
/
values.yaml
205 lines (165 loc) · 5.72 KB
/
values.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
# Default values for deckard.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
image:
repository: blipai/deckard
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: ""
imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""
labels: {}
# Configure the audit system for all Deckard's deployments using environment variables.
audit:
# Deckard's DECKARD_AUDIT_ENABLED environment variable
enabled: false
# Configure the metrics system for all Deckard's deployments using environment variables.
metrics:
# Enables the metrics endpoint.
# Used as the DECKARD_METRICS_ENABLED environment variable
# To enable prometheus scraping you must set valid podAnnotations for both the deckard and housekeeper deployments
enabled: true
# Defines the port of the metrics endpoint
# Used in the deployment to configure the container port and also as the DECKARD_METRICS_PORT environment variable
port: 9090
# Defines the path to access metrics
path: /metrics
env: {}
podAnnotations: {}
podSecurityContext: {}
securityContext: {}
containerPorts: []
storage:
# Deckard's DECKARD_STORAGE_TYPE environment variable
# Available options: MONGODB, MEMORY
# Remember to set the mongodb.enabled to false if you want to use a existing MongoDB or a Memory storage
type: MONGODB
# Deckard's DECKARD_STORAGE_URI environment variable.
# By default this chart will use the deployed MongoDB's URI
# Recommendation: Set the DECKARD_STORAGE_URI environment variable using the 'env' field using secret values
uri: ""
mongodb:
# Deckard's DECKARD_MONGODB_DATABASE environment variable
database: "deckard"
# Deckard's DECKARD_MONGODB_COLLECTION environment variable
collection: "queue"
# Deckard's DECKARD_MONGODB_QUEUE_CONFIGURATION_COLLECTION environment variable
queue_configuration_collection: "queue_configuration"
# See available options here: https://github.com/bitnami/charts/tree/main/bitnami/mongodb
mongodb:
# When enabled this chart will also deploy a MongoDB
enabled: true
auth:
enabled: true
# In a production environment prefer setting all passwords and configurations using mongodb's existingSecret chart field
rootUser: deckard
rootPassword: deckard
service:
ports:
mongodb: 27017
architecture: standalone
# If you change storage.mongodb.database or storage.mongodb.collection you will need to update this script or create indexes manually
initdbScripts:
init_database.js: |
db = db.getSiblingDB("deckard");
db.queue.createIndex({ "expiry_date": 1 });
db.queue.createIndex({ "queue": 1, "expiry_date": 1 });
db.queue.createIndex({ "id": 1, "queue": 1, "score": 1 });
db.queue.createIndex({ "queue_prefix": 1, "last_usage": 1 });
db.queue.createIndex({ "id": 1, "queue": 1 }, { unique: true });
cache:
# Deckard's DECKARD_REDIS_TYPE environment variable
# Available options: REDIS, MEMORY
# Remember to set the redis.enabled to false if you want to use a self-deployed Redis or a Memory storage
type: REDIS
# Deckard's DECKARD_CACHE_URI environment variable.
# By default this chart will use the deployed Redis's URI
# Recommendation: Set the DECKARD_CACHE_URI environment variable using the 'env' field using secret values
uri: ""
redis:
# Deckard's DECKARD_REDIS_DB environment variable
database: 0
# See available options here: https://github.com/bitnami/charts/tree/main/bitnami/redis
redis:
# When enabled this chart will also deploy a Redis
enabled: true
architecture: standalone
service:
ports:
redis: 6379
auth:
enabled: true
# In a production environment prefer setting all passwords using redis's existingSecret chart field
password: deckard
service:
enabled: true
type: ClusterIP
port: 8081
annotations: {}
ingress:
enabled: false
className: ""
annotations: {}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
# hosts:
# - host: deckard.local
# paths:
# - path: /
# pathType: ImplementationSpecific
# tls: []
# - secretName: deckard-tls
# hosts:
# - deckard.local
resources: {}
#replicaCount: 1
autoscaling:
enabled: true
minReplicas: 1
maxReplicas: 2
targetCPUUtilizationPercentage: 80
# targetMemoryUtilizationPercentage: 80
nodeSelector: {}
tolerations: []
affinity: {}
# To control deckard's housekeeer
housekeeper:
# Defines if the housekeeper task will also run in the same pod as the deckard gRPC service
# Useful for development purposes when you don't want a separate deployment for the housekeeper.
# You must also set housekeeper.enabled to false if you want to change the default behavior
# Deckard's DECKARD_HOUSEKEEPER_ENABLED environment variable
self:
enabled: false
# If the housekeeper task will run in a separate deployment
enabled: true
image:
repository: blipai/deckard
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: ""
# The number of replicas for the housekeeper deployment
# See https://github.com/takenet/deckard/issues/21
replicaCount: 1
labels: {}
podAnnotations: {}
podSecurityContext: {}
securityContext: {}
env: {}
containerPorts: []
resources: {}
nodeSelector: {}
tolerations: []
affinity: {}
service:
enabled: true
type: ClusterIP
port: 8081
storage:
# By default the housekeeper will use same uri as the Deckard gRPC instance.
# You can use this field to modify the housekeeper storage uri
uri: ""
cache:
# By default the housekeeper will use same uri as the Deckard gRPC instance.
# You can use this field to modify the housekeeper cache uri
uri: ""