-
Notifications
You must be signed in to change notification settings - Fork 250
/
Copy pathvalues.yaml
375 lines (369 loc) · 12.5 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
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
# Default values for bcs-k8s.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
# global values part
global:
imageRegistry: "mirrors.tencent.com"
pullPolicy: Always
imagePullSecrets: []
env:
#common env parameters
BK_BCS_also_log_to_stderr: "true"
BK_BCS_log_level: 3
BK_BCS_CONFIG_TYPE: "render"
BK_BCS_bcsEtcdHost: "127.0.0.1:2379"
BK_BCS_bcsZkHost: "127.0.0.1:2181"
BK_BCS_queueFlag: "true"
BK_BCS_queueKind: "rabbitmq"
BK_BCS_queueAddress: ""
BK_BCS_mongodbAddress: "127.0.0.1:27017"
BK_BCS_mongodbUsername: "admin"
BK_BCS_mongodbPassword: ""
BK_BCS_gatewayToken: ""
secret:
#bcs exporter certtificatin quote
bcsCerts: bk-bcs-certs
#etcd registry certification quote
etcdCerts: bcs-etcd-certs
bcs-init:
createNamespace: false
# Create cluster-init secret or not
# Commonly, it should install sperately before installing bcs-services and bcs-k8s in service cluster.
enabled: true
# bcs-api-gateway configuration part
bcs-api-gateway:
replicaCount: 1
apisix:
registry: ""
repository: bcs/apisix
tag: v1.20.10
pullPolicy: Always
gateway:
registry: ""
repository: bcs/bcs-gateway-discovery
tag: v1.20.10
pullPolicy: Always
env:
# apisix admin type
BK_BCS_adminType: apisix
# apisix admin token
BK_BCS_adminToken: ""
# apisix admin API path
BK_BCS_adminAPI: "127.0.0.1:8000"
# modules registered in zk
BK_BCS_zkModules: kubeagent,mesosdriver
# etcd host, it's common env, global value comes first
BK_BCS_bcsEtcdHost: "127.0.0.1:2379"
# modules registered in etcd in GRPC protocol
BK_BCS_etcdGrpcModules: "MeshManager,LogManager"
# modules registered in etcd in HTTP protocol
BK_BCS_etcdHttpModules: "MeshManager,LogManager,mesosdriver,storage,usermanager"
# cert file for apigateway
BK_BCS_apiGatewayCert: ""
# key file for apigateway
BK_BCS_apiGatewayKey: ""
# etcd storage for apisix
BK_BCS_apiGatewayEtcdHost: "http://127.0.0.1:2379"
# admin token for api gateway
BK_BCS_gatewayToken: ""
# zkHost for service discover, host:port string with comma speration
# it's common env, global value comes first
BK_BCS_bcsZkHost: "127.0.0.1:2181"
BK_BCS_also_log_to_stderr: "true"
BK_BCS_log_level: 3
# bcs server configuration render flag, when setting render,
# we will render server configuration file by Env
# it's common env, global value comes first
BK_BCS_CONFIG_TYPE: "render"
secret:
#bcs exporter certtificatin quote
bcsCerts: bk-bcs-certs
#etcd registry certification quote
etcdCerts: bcs-etcd-certs
imagePullSecrets: []
nameOverride: ""
fullnameOverride: "bcs-api-gateway"
podSecurityContext: {}
# fsGroup: 2000
securityContext: {}
# capabilities:
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
service:
type: NodePort
ingress:
enabled: false
annotations: {}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
hosts:
- host: bcs-api-gateway.bcs-system
paths: []
tls: []
# - secretName: chart-example-tls
# hosts:
# - chart-example.local
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi
nodeSelector: {}
tolerations: []
affinity: {}
bcs-cluster-manager:
replicaCount: 2
image:
registry: ""
repository: bcs/bcs-cluster-manager
tag: v1.20.10
pullPolicy: Always
env:
# bcs server configuration render flag, when setting render,
# we will render server configuration file by Env
# it's common env, global value comes first
BK_BCS_CONFIG_TYPE: "render"
# cluster manager grpc server port
BK_BCS_bcsClusterManagerPort: 8080
# cluster manager http server port
BK_BCS_bcsClusterManagerHTTPPort: 8081
# cluster manager metric server port
BK_BCS_bcsClusterManagerMetricPort: 8082
# pprof option
BK_BCS_bcsClusterManagerDebug: false
# swagger options
BK_BCS_bcsClusterManagerSwaggerDir: "/data/bcs/swagger"
# tunnel config
BK_BCS_bcsClusterManagerPeerToken: "12345678-c714-43d0-8379-d5c2e01e9593"
# whether log to std err, it's common env, global value comes first
BK_BCS_also_log_to_stderr: "true"
# log level, it's common env, global value comes first
BK_BCS_log_level: 3
# etcd hosts, it's common env, global value comes first
BK_BCS_bcsEtcdHost: "127.0.0.1:2379"
# mongo options
# mongo db address, it's common env, global value comes first
BK_BCS_mongodbAddress: "127.0.0.1:27017"
# mongo db username, it's common env, global value comes first
BK_BCS_mongodbUsername: "admin"
# mongo db password, it's common env, global value comes first
BK_BCS_mongodbPassword: ""
# mongo db client timeout
BK_BCS_bcsClusterManagerMongoConnectTimeout: "3"
# mongo db database for clustermanager
BK_BCS_bcsClusterManagerMongoDatabase: "clustermanager"
# mongo db max pool size
BK_BCS_bcsClusterManagerMongoMaxPoolSize: 0
# mongo db min pool size
BK_BCS_bcsClusterManagerMongoMinPoolSize: 0
secret:
#bcs exporter certtificatin quote
bcsCerts: bk-bcs-certs
#etcd registry certification quote
etcdCerts: bcs-etcd-certs
imagePullSecrets: []
nameOverride: ""
fullnameOverride: "bcs-cluster-manager"
podAnnotations: {}
podSecurityContext: {}
# fsGroup: 2000
securityContext: {}
# capabilities:
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi
autoscaling:
enabled: false
minReplicas: 1
maxReplicas: 10
targetCPUUtilizationPercentage: 80
# targetMemoryUtilizationPercentage: 80
nodeSelector: {}
tolerations: []
affinity: {}
bcs-storage:
replicaCount: 1
image:
registry: ""
repository: bcs/bcs-storage
tag: v1.20.10
pullPolicy: Always
env:
# zkHost for service discover, host:port string with comma speration
# it's common env, global value comes first
BK_BCS_bcsZkHost: "127.0.0.1:2181"
# mongo db address, it's common env, global value comes first
BK_BCS_mongodbAddress: "127.0.0.1:27017"
# mongo db username, it's common env, global value comes first
BK_BCS_mongodbUsername: "admin"
# mongo db password, it's common env, global value comes first
# encrypted by cryptool
BK_BCS_mongodbPassword: ""
# config db address
# priority: env.BK_BCS_ConfigDbHost > global.env.BK_BCS_mongodbAddress > env.BK_BCS_mongodbAddress
BK_BCS_ConfigDbHost: "127.0.0.1:27017"
# config db username
# priority: env.BK_BCS_ConfigDbUsername > global.env.BK_BCS_mongodbUsername > env.BK_BCS_mongodbUsername
BK_BCS_ConfigDbUsername: root
# config db password
# priority: env.BK_BCS_ConfigDbPassword > global.env.BK_BCS_mongodbPassword > env.BK_BCS_mongodbPassword
# encrypted by cryptool
BK_BCS_ConfigDbPassword: ""
# oplog.$main when mongodb running in single node
# oplog.rs when mongodb running in cluster mode
BK_BCS_mongodbOplogCollection: "oplog.$main"
# open message queue feature for event push or not
# it's common env, global value comes first
BK_BCS_queueFlag: "true"
# queue kind(rabbitmq/nats-streaming), it's common env, global value comes first
BK_BCS_queueKind: ""
# events of resource to be pushed, use comma to sperate different resource
BK_BCS_resource: ""
# message queue address, it's common env, global value comes first
BK_BCS_queueAddress: ""
# message queue clusterid info for nats
BK_BCS_queueClusterId: ""
# storage http server port
BK_BCS_bcsStoragePort: "50024"
# storage metric server port
BK_BCS_bcsStorageMetricPort: "50025"
# max day of events stored in db
BK_BCS_eventMaxDay: "7"
# max number of events stored in db
BK_BCS_eventMaxCap: "10000"
# max day of alarm stored in db
BK_BCS_alarmMaxDay: "7"
# max number of alarm stored in db
BK_BCS_alarmMaxCap: "10000"
# bcs server configuration render flag, when setting render,
# we will render server configuration file by Env
# it's common env, global value comes first
BK_BCS_CONFIG_TYPE: "render"
BK_BCS_also_log_to_stderr: "true"
BK_BCS_log_level: 3
# etcd hosts, it's common env, global value comes first
BK_BCS_bcsEtcdHost: "127.0.0.1:2379"
secret:
#bcs exporter certtificatin quote
bcsCerts: bk-bcs-certs
#etcd registry certification quote
etcdCerts: bcs-etcd-certs
imagePullSecrets: []
nameOverride: ""
fullnameOverride: "bcs-storage"
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi
nodeSelector: {}
tolerations: []
affinity: {}
#service part
service:
type: NodePort
port: 31024
#ingress part
ingress:
enabled: false
annotations: {}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
hosts:
- host: chart-example.local
paths: []
tls: []
# - secretName: chart-example-tls
# hosts:
# - chart-example.local
bcs-user-manager:
replicaCount: 1
image:
registry: ""
repository: bcs/bcs-user-manager
tag: v1.20.10
pullPolicy: Always
env:
# user manager https server port
BK_BCS_bcsUserManagerPort: "30445"
# user manager metric server port
BK_BCS_bcsUserManagerMetricPort: "9253"
# user manager http server port
BK_BCS_bcsUserManagerInsecurePort: "8089"
# user manager Database DSN encrypted by cryptool
BK_BCS_coreDatabaseDsn: ""
# api gateway admin username
BK_BCS_adminUser: admin
# api gateway admin token
BK_BCS_adminToken: ""
# bkiam authorization api host
BK_BCS_bkiamAuthHost: ""
# tke cluster secret id
BK_BCS_tkeSecretId: ""
# tke cluster secret key
BK_BCS_tkeSecretKey: ""
# tke cluster ccs host
BK_BCS_tkeCcsHost: "api.cloud.com"
# tke cluster ccs path
BK_BCS_tkeCcsPath: "/v2/index.php"
# zkHost for service discover, host:port string with comma speration
# it's common env, global value comes first
BK_BCS_bcsZkHost: "127.0.0.1:2181"
# bcs server configuration render flag, when setting render,
# we will render server configuration file by Env
# it's common env, global value comes first
BK_BCS_CONFIG_TYPE: "render"
BK_BCS_also_log_to_stderr: "true"
BK_BCS_log_level: 3
# etcd hosts, it's common env, global value comes first
BK_BCS_bcsEtcdHost: "127.0.0.1:2379"
secret:
#bcs exporter certtificatin quote
bcsCerts: bk-bcs-certs
#etcd registry certification quote
etcdCerts: bcs-etcd-certs
imagePullSecrets: []
nameOverride: ""
fullnameOverride: "bcs-user-manager"
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi
nodeSelector: {}
tolerations: []
affinity: {}