-
Notifications
You must be signed in to change notification settings - Fork 0
/
values.yaml
247 lines (225 loc) · 6.69 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
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
---
version: "1.7.1"
clusterName: "cluster.local"
autoscaler: true
# By default, this is points at the docker hub artifacts
registry:
cnc: "azul"
dockerhubMirror: ""
imagePullPolicy: "IfNotPresent"
simpleSizing:
# Total number of vCores that will be allocated to the CNC service.
# This does NOT include resources required by monitoring!
# The sizing formula in the templates will allocate individual
# CNC infrastructure components to best utilize given resources.
# The default number is the amount of vCores necessary to start
# one replica of each CNC component, so that the service is operational.
vCores: 29
# minVCores and maxVCores has the same formula as vCores, but applied
# when autoscaling is enabled.
minVCores: 29
# Default max is to allocate 10 compile brokers.
maxVCores: 92
# Do not change these values unless you change the required CNC pod sizing.
relationships:
brokersPerGateway: 30
brokersPerCache: 10
secrets:
db:
username: "username"
password: "password"
builtinStorage:
accesskey: "minio"
secretkey: "minio123"
azure:
blobStorage:
# For authMethod: connection-string, get connection-string on Azure Portal > Storage accounts > {storage_account_name} > Access keys
#connectionString: "<connection-string>"
# For authMethod: sas-token, Get sas-token on Azure Portal > Storage accounts > {storage_account_name} > {blob_container} > Shared access tokens
#sasToken: "<sas-token>"
ssl:
enabled: false
value:
cert: ""
key: ""
path:
cert: "cert.pem"
key: "key.pem"
secretName: ""
mtls:
enabled: false
truststore: "client-truststore.p12"
password: "pass"
monitoring:
# This enables deployment of the monitoring stack - Prometheus + Grafana.
# More specific settings for both further down.
enabled: false
compilations:
parallelism:
# Maximum concurrent compilation limit per VM (VMs will not send more than this amount at the same time).
limitPerVm: 500
# Maximum amount of parallel compiler engine processes running at the same time per compile broker.
limitPerCompileBroker: 30
lookupParallelism: 120 # calculated as limitPerCompileBroker * 4
profileLogService:
debugInfoHistoryLength: 100
completedAfter: "PT24H"
completionGracePeriod: "PT180S"
cache:
enabled: true
maxSizeBytes: 500000000
producers:
maxConcurrentRecordings: 5
maxPromotableGeneration: 3
maxProfileSize: 0
cleaner:
enabled: true
externalPersistentStorageSoftLimit: "10Gi" # use with s3 or azure-blob storage services
targetSize: 0 # use only to override auto-settings
warningSize: 0 # use only to override auto-settings
keepUnrequestedProfileNamesFor: 0
storage:
blobStorageService: builtin-storage # available options: builtin-storage, azure-blob, s3
azureBlob:
endpoint: https://<yourendpoint>.blob.core.windows.net
authMethod: default-credentials # available options: sas-token, connection-string, default-credentials
# K8s nodes that run cache, compilebroker and gateway PODs must have RW permissions to storage container below
container: <your-container>
s3:
# K8s nodes that run cache, compilebroker and gateway PODs must have RW permissions to bucket below
commonBucket: <your-bucket>
#################################################################################
# The rest of the settings are only to show you the values used internally. #
# Changing the values below will not have any affect on your CNC cluster. #
#################################################################################
builtinStorage:
replicas: 1
resources:
requests:
cpu: "1"
memory: "24Gi"
ephemeral-storage: "32Gi"
limits:
# Do not use non-numerical values such as 200m, otherwise the templating logic will break.
cpu: "1"
memory: "24Gi"
ephemeral-storage: "200Gi"
nodeSelector:
kubernetes.io/arch: amd64
# when using persistent data volume make sure to lower ephemeral-storage allocation
persistentDataVolume:
enabled: false
size: "200Gi"
storageClassName: "" # empty string uses default storage class
gateway:
replicas: 1
autoscaler:
enabled: true
mode: hpa
min: 1
max: 10
resources:
requests:
# Do not use non-numerical values such as 200m, otherwise the templating logic will break.
cpu: "7"
memory: "14Gi"
ephemeral-storage: "1Gi"
limits:
cpu: "7"
memory: "14Gi"
ephemeral-storage: "1Gi"
nodeSelector:
kubernetes.io/arch: amd64
service:
type: "NodePort"
httpEndpoint:
enabled: false
port: 8080
grpc:
port: 50051
# annotations: {}
compileBroker:
enabled: true
replicas: 1
autoscaler:
enabled: true
min: 1
max: 10
resources:
requests:
# Do not use non-numerical values such as 200m, otherwise the templating logic will break.
cpu: "7"
memory: "28Gi"
ephemeral-storage: "8Gi"
limits:
cpu: "7"
memory: "28Gi"
ephemeral-storage: "8Gi"
nodeSelector:
kubernetes.io/arch: amd64
cache:
replicas: 1
autoscaler:
enabled: true
mode: hpa
min: 1
max: 3
resources:
requests:
# Do not use non-numerical values such as 200m, otherwise the templating logic will break.
cpu: "7"
memory: "28Gi"
limits:
cpu: "7"
memory: "28Gi"
nodeSelector:
kubernetes.io/arch: amd64
db:
enabled: true
version: "10.5.12"
replicas: 1
resources:
requests:
# Do not use non-numerical values such as 200m, otherwise the templating logic will break.
cpu: "7"
memory: "28Gi"
ephemeral-storage: "200Gi"
limits:
# Do not use non-numerical values such as 200m, otherwise the templating logic will break.
cpu: "7"
memory: "28Gi"
ephemeral-storage: "200Gi"
nodeSelector:
kubernetes.io/arch: amd64
# when using persistent data volume make sure to lower ephemeral-storage allocation
persistentDataVolume:
enabled: false
size: "200Gi"
storageClassName: "" # empty string uses default storage class
operator:
timeToClearOptimizationBacklog: 120s
nodeSelector:
kubernetes.io/arch: amd64
grafana:
fullnameOverride: grafana
service:
type: NodePort
grafana.ini:
auth.anonymous:
enabled: true
org_role: Admin
auth:
disable_login_form: true
sidecar:
# configmaps labeled with 'grafana_dashboard: "1"' will be auto-added
dashboards:
enabled: true
# configmaps labeled with 'grafana_datasource: "1"' will be auto-added
datasources:
enabled: true
nodeSelector:
kubernetes.io/arch: amd64
prometheus:
nodeSelector:
kubernetes.io/arch: amd64
test: false