-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathvalues.yaml
1070 lines (929 loc) · 31.9 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
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
image:
# -- The image registry
registry: docker.io
# -- The image repository
repository: greptime/greptimedb
# -- The image tag
tag: "v0.11.2"
# -- The image pull secrets
pullSecrets: []
initializer:
# -- Initializer image registry
registry: docker.io
# -- Initializer image repository
repository: greptime/greptimedb-initializer
# -- Initializer image tag
tag: v0.1.4-alpha.2
base:
# -- The pod template for base
podTemplate:
# -- The base spec of main container
main:
resources:
# -- The requested resources for the container
requests: {}
# cpu: 500m
# memory: 512Mi
# -- The resources limits for the container
limits: {}
# cpu: "1"
# memory: "1Gi"
# -- The environment variables for the container
env: []
# -- The command to be executed in the container
command: []
# -- The arguments to be passed to the command
args: []
# -- The config for startup probe of the main container
startupProbe: {}
# httpGet:
# # -- Path to access on the HTTP server
# path: /health
# # -- Name or number of the port to access on the container
# port: 4000
# # -- The initial delay seconds for the readiness probe.
# initialDelaySeconds: 5
# # -- The timeout seconds for the readiness probe
# timeoutSeconds: 1
# # -- The period seconds for the readiness probe
# periodSeconds: 10
# # -- The success threshold for the readiness probe
# successThreshold: 1
# # -- The failure threshold for the readiness probe
# failureThreshold: 3
# -- The config for readiness probe of the main container
readinessProbe: {}
# httpGet:
# # -- Path to access on the HTTP server
# path: /health
# # -- Name or number of the port to access on the container
# port: 4000
# # -- The initial delay seconds for the readiness probe
# initialDelaySeconds: 5
# # -- The timeout seconds for the readiness probe
# timeoutSeconds: 1
# # -- The period seconds for the readiness probe
# periodSeconds: 10
# # -- The success threshold for the readiness probe
# successThreshold: 1
# # -- The failure threshold for the readiness probe
# failureThreshold: 3
# -- The config for liveness probe of the main container
livenessProbe: {}
# httpGet:
# # -- Path to access on the HTTP server
# path: /health
# # -- Name or number of the port to access on the container
# port: 4000
# # -- The initial delay seconds for the readiness probe.
# initialDelaySeconds: 5
# # -- The timeout seconds for the readiness probe
# timeoutSeconds: 1
# # -- The period seconds for the readiness probe
# periodSeconds: 10
# # -- The success threshold for the readiness probe
# successThreshold: 1
# # -- The failure threshold for the readiness probe
# failureThreshold: 3
# -- The configurations for security context of main container.
securityContext: {}
# -- The annotations to be created to the pod.
annotations: {}
# -- The labels to be created to the pod.
labels: {}
# -- The pod node selector
nodeSelector: {}
# -- The pod tolerations
tolerations: []
# -- The pod affinity
affinity: {}
# -- The global service account
serviceAccountName: ""
# -- The configurations for pod security context.
securityContext: {}
# -- Frontend configure
frontend:
# -- Frontend replicas
replicas: 1
# -- Extra toml file of frontend.
configFile: ""
# -- Extra raw toml config data of frontend. Skip if the `configFile` is used.
configData: ""
# -- The pod template for frontend
podTemplate:
# -- The spec of main container
main:
# -- The frontend image.
image: ""
resources:
# -- The requested resources for the container
requests: {}
# cpu: "1"
# memory: "2Gi"
# -- The resources limits for the container
limits: {}
# cpu: "1"
# memory: "2Gi"
# -- The environment variables for the container
env: []
# -- The command to be executed in the container
command: []
# -- The arguments to be passed to the command
args: []
# -- The pod volumeMounts
volumeMounts: []
# -- The config for startup probe of the main container
startupProbe: {}
# httpGet:
# # -- Path to access on the HTTP server
# path: /health
# # -- Name or number of the port to access on the container
# port: 4000
# # -- The initial delay seconds for the readiness probe.
# initialDelaySeconds: 5
# # -- The timeout seconds for the readiness probe
# timeoutSeconds: 1
# # -- The period seconds for the readiness probe
# periodSeconds: 10
# # -- The success threshold for the readiness probe
# successThreshold: 1
# # -- The failure threshold for the readiness probe
# failureThreshold: 3
# -- The config for readiness probe of the main container
readinessProbe: {}
# httpGet:
# # -- Path to access on the HTTP server
# path: /health
# # -- Name or number of the port to access on the container
# port: 4000
# # -- The initial delay seconds for the readiness probe.
# initialDelaySeconds: 5
# # -- The timeout seconds for the readiness probe
# timeoutSeconds: 1
# # -- The period seconds for the readiness probe
# periodSeconds: 10
# # -- The success threshold for the readiness probe
# successThreshold: 1
# # -- The failure threshold for the readiness probe
# failureThreshold: 3
# -- The config for liveness probe of the main container
livenessProbe: {}
# httpGet:
# # -- Path to access on the HTTP server
# path: /health
# # -- Name or number of the port to access on the container
# port: 4000
# # -- The initial delay seconds for the readiness probe.
# initialDelaySeconds: 5
# # -- The timeout seconds for the readiness probe
# timeoutSeconds: 1
# # -- The period seconds for the readiness probe
# periodSeconds: 10
# # -- The success threshold for the readiness probe
# successThreshold: 1
# # -- The failure threshold for the readiness probe
# failureThreshold: 3
# -- The configurations for frontend container.
securityContext: {}
# -- The annotations to be created to the pod.
annotations: {}
# -- The labels to be created to the pod.
labels: {}
# -- The pod node selector
nodeSelector: {}
# -- The pod tolerations
tolerations: []
# -- The pod affinity
affinity: {}
# -- The pod volumes
volumes: []
serviceAccount:
# -- Create a service account
create: false
# -- The annotations for frontend serviceaccount
annotations: {}
# -- The configurations for frontend security context.
securityContext: {}
# -- Frontend service
service: {}
# -- Frontend tls configure
tls: {}
# secretName: greptimedb-frontend-tls
# -- Logging configuration for frontend, if not set, it will use the global logging configuration.
logging: {}
# # -- The log level for greptimedb, only support "debug", "info", "warn", "debug"
# level: "info"
#
# # -- The log format for greptimedb, only support "json" and "text"
# format: "text"
#
# # -- The logs directory for greptimedb
# logsDir: "/data/greptimedb/logs"
#
# # -- Whether to log to stdout only
# onlyLogToStdout: false
#
# # -- indicates whether to persist the log with the datanode data storage. It **ONLY** works for the datanode component.
# persistentWithData: false
#
# # -- The log filters, use the syntax of `target[span\{field=value\}]=level` to filter the logs.
# filters: []
# -- Meta configure
meta:
# -- Meta replicas
replicas: 1
# -- Extra toml file of meta.
configFile: ""
# -- Extra raw toml config data of meta. Skip if the `configFile` is used.
configData: ""
# -- The pod template for meta
podTemplate:
# -- The spec of main container
main:
# -- The meta image.
image: ""
resources:
# -- The requested resources for the container
requests: {}
# cpu: "1"
# memory: "2Gi"
# -- The resources limits for the container
limits: {}
# cpu: "1"
# memory: "2Gi"
# -- The environment variables for the container
env: []
# -- The command to be executed in the container
command: []
# -- The arguments to be passed to the command
args: []
# -- The pod volumeMounts
volumeMounts: []
# -- The config for startup probe of the main container
startupProbe: {}
# httpGet:
# # -- Path to access on the HTTP server
# path: /health
# # -- Name or number of the port to access on the container
# port: 4000
# # -- The initial delay seconds for the readiness probe.
# initialDelaySeconds: 5
# # -- The timeout seconds for the readiness probe
# timeoutSeconds: 1
# # -- The period seconds for the readiness probe
# periodSeconds: 10
# # -- The success threshold for the readiness probe
# successThreshold: 1
# # -- The failure threshold for the readiness probe
# failureThreshold: 3
# -- The config for readiness probe of the main container
readinessProbe: {}
# httpGet:
# # -- Path to access on the HTTP server
# path: /health
# # -- Name or number of the port to access on the container
# port: 4000
# # -- The initial delay seconds for the readiness probe.
# initialDelaySeconds: 5
# # -- The timeout seconds for the readiness probe
# timeoutSeconds: 1
# # -- The period seconds for the readiness probe
# periodSeconds: 10
# # -- The success threshold for the readiness probe
# successThreshold: 1
# # -- The failure threshold for the readiness probe
# failureThreshold: 3
# -- The config for liveness probe of the main container
livenessProbe: {}
# httpGet:
# # -- Path to access on the HTTP server
# path: /health
# # -- Name or number of the port to access on the container
# port: 4000
# # -- The initial delay seconds for the readiness probe.
# initialDelaySeconds: 5
# # -- The timeout seconds for the readiness probe
# timeoutSeconds: 1
# # -- The period seconds for the readiness probe
# periodSeconds: 10
# # -- The success threshold for the readiness probe
# successThreshold: 1
# # -- The failure threshold for the readiness probe
# failureThreshold: 3
# -- The configurations for meta security context.
securityContext: {}
# -- The annotations to be created to the pod.
annotations: {}
# -- The labels to be created to the pod.
labels: {}
# -- The pod node selector
nodeSelector: {}
# -- The pod tolerations
tolerations: []
# -- The pod affinity
affinity: {}
# -- The pod volumes
volumes: []
serviceAccount:
# -- Create a service account
create: false
# -- The annotations for meta serviceaccount
annotations: {}
# -- The configurations for meta security context.
securityContext: {}
# -- Meta etcd endpoints
etcdEndpoints: "etcd.etcd-cluster.svc.cluster.local:2379"
# -- Meta will store data with this key prefix
storeKeyPrefix: ""
# -- Whether to enable region failover
enableRegionFailover: false
# -- Logging configuration for meta, if not set, it will use the global logging configuration.
logging: {}
# # -- The log level for greptimedb, only support "debug", "info", "warn", "debug"
# level: "info"
#
# # -- The log format for greptimedb, only support "json" and "text"
# format: "text"
#
# # -- The logs directory for greptimedb
# logsDir: "/data/greptimedb/logs"
#
# # -- Whether to log to stdout only
# onlyLogToStdout: false
#
# # -- indicates whether to persist the log with the datanode data storage. It **ONLY** works for the datanode component.
# persistentWithData: false
#
# # -- The log filters, use the syntax of `target[span\{field=value\}]=level` to filter the logs.
# filters: []
# -- Datanode configure
datanode:
# -- Datanode replicas
replicas: 1
# -- Extra toml file of datanode.
configFile: ""
# -- Extra raw toml config data of datanode. Skip if the `configFile` is used.
configData: ""
# -- The pod template for datanode
podTemplate:
# -- The spec of main container
main:
# -- The datanode image.
image: ""
resources:
# -- The requested resources for the container
requests: {}
# cpu: "1"
# memory: "2Gi"
# -- The resources limits for the container
limits: {}
# cpu: "1"
# memory: "2Gi"
# -- The environment variables for the container
env: []
# -- The command to be executed in the container
command: []
# -- The arguments to be passed to the command
args: []
# -- The pod volumeMounts
volumeMounts: []
# -- The config for startup probe of the main container
startupProbe: {}
# httpGet:
# # -- Path to access on the HTTP server
# path: /health
# # -- Name or number of the port to access on the container
# port: 4000
# # -- The initial delay seconds for the readiness probe.
# initialDelaySeconds: 5
# # -- The timeout seconds for the readiness probe
# timeoutSeconds: 1
# # -- The period seconds for the readiness probe
# periodSeconds: 10
# # -- The success threshold for the readiness probe
# successThreshold: 1
# # -- The failure threshold for the readiness probe
# failureThreshold: 3
# -- The config for readiness probe of the main container
readinessProbe: {}
# httpGet:
# # -- Path to access on the HTTP server
# path: /health
# # -- Name or number of the port to access on the container
# port: 4000
# # -- The initial delay seconds for the readiness probe.
# initialDelaySeconds: 5
# # -- The timeout seconds for the readiness probe
# timeoutSeconds: 1
# # -- The period seconds for the readiness probe
# periodSeconds: 10
# # -- The success threshold for the readiness probe
# successThreshold: 1
# # -- The failure threshold for the readiness probe
# failureThreshold: 3
# -- The config for liveness probe of the main container
livenessProbe: {}
# httpGet:
# # -- Path to access on the HTTP server
# path: /health
# # -- Name or number of the port to access on the container
# port: 4000
# # -- The initial delay seconds for the readiness probe.
# initialDelaySeconds: 5
# # -- The timeout seconds for the readiness probe
# timeoutSeconds: 1
# # -- The period seconds for the readiness probe
# periodSeconds: 10
# # -- The success threshold for the readiness probe
# successThreshold: 1
# # -- The failure threshold for the readiness probe
# failureThreshold: 3
# -- The configurations for datanode security context.
securityContext: {}
# -- The annotations to be created to the pod.
annotations: {}
# -- The labels to be created to the pod.
labels: {}
# -- The pod node selector
nodeSelector: {}
# -- The pod tolerations
tolerations: []
# -- The pod affinity
affinity: {}
# -- The pod volumes
volumes: []
serviceAccount:
# -- Create a service account
create: false
# -- The annotations for datanode serviceaccount
annotations: {}
# -- The configurations for datanode security context.
securityContext: {}
storage:
# -- Storage class for datanode persistent volume
storageClassName: null
# -- Storage size for datanode persistent volume
storageSize: 10Gi
# -- Storage retain policy for datanode persistent volume
storageRetainPolicy: Retain
# -- The dataHome directory, default is "/data/greptimedb/"
dataHome: "/data/greptimedb"
# -- The data directory of the storage, default is "/data/greptimedb"
mountPath: "/data/greptimedb"
# -- Logging configuration for datanode, if not set, it will use the global logging configuration.
logging: {}
# # -- The log level for greptimedb, only support "debug", "info", "warn", "debug"
# level: "info"
#
# # -- The log format for greptimedb, only support "json" and "text"
# format: "text"
#
# # -- The logs directory for greptimedb
# logsDir: "/data/greptimedb/logs"
#
# # -- Whether to log to stdout only
# onlyLogToStdout: false
#
# # -- indicates whether to persist the log with the datanode data storage. It **ONLY** works for the datanode component.
# persistentWithData: false
#
# # -- The log filters, use the syntax of `target[span\{field=value\}]=level` to filter the logs.
# filters: []
# -- Flownode configure. **It's NOT READY YET**
flownode:
# -- Enable flownode
enabled: false
# -- Flownode replicas
replicas: 1
# -- Extra toml file of flownode.
configFile: ""
# -- Extra raw toml config data of flownode. Skip if the `configFile` is used.
configData: ""
# -- Logging configuration for flownode, if not set, it will use the global logging configuration.
logging: {}
# # -- The log level for greptimedb, only support "debug", "info", "warn", "debug"
# level: "info"
#
# # -- The log format for greptimedb, only support "json" and "text"
# format: "text"
#
# # -- The logs directory for greptimedb
# logsDir: "/data/greptimedb/logs"
#
# # -- Whether to log to stdout only
# onlyLogToStdout: false
#
# # -- indicates whether to persist the log with the datanode data storage. It **ONLY** works for the datanode component.
# persistentWithData: false
#
# # -- The log filters, use the syntax of `target[span\{field=value\}]=level` to filter the logs.
# filters: []
# -- The pod template for frontend
podTemplate:
# -- The spec of main container
main:
# -- The flownode image.
image: ""
resources:
# -- The requested resources for the container
requests: {}
# cpu: "1"
# memory: "2Gi"
# -- The resources limits for the container
limits: {}
# cpu: "1"
# memory: "2Gi"
# -- The environment variables for the container
env: []
# -- The command to be executed in the container
command: []
# -- The arguments to be passed to the command
args: []
# -- The pod volumeMounts
volumeMounts: []
# -- The config for startup probe of the main container
startupProbe: {}
# httpGet:
# # -- Path to access on the HTTP server
# path: /health
# # -- Name or number of the port to access on the container
# port: 4000
# # -- The initial delay seconds for the readiness probe.
# initialDelaySeconds: 5
# # -- The timeout seconds for the readiness probe
# timeoutSeconds: 1
# # -- The period seconds for the readiness probe
# periodSeconds: 10
# # -- The success threshold for the readiness probe
# successThreshold: 1
# # -- The failure threshold for the readiness probe
# failureThreshold: 3
# -- The config for readiness probe of the main container
readinessProbe: {}
# httpGet:
# # -- Path to access on the HTTP server
# path: /health
# # -- Name or number of the port to access on the container
# port: 4000
# # -- The initial delay seconds for the readiness probe.
# initialDelaySeconds: 5
# # -- The timeout seconds for the readiness probe
# timeoutSeconds: 1
# # -- The period seconds for the readiness probe
# periodSeconds: 10
# # -- The success threshold for the readiness probe
# successThreshold: 1
# # -- The failure threshold for the readiness probe
# failureThreshold: 3
# -- The config for liveness probe of the main container
livenessProbe: {}
# httpGet:
# # -- Path to access on the HTTP server
# path: /health
# # -- Name or number of the port to access on the container
# port: 4000
# # -- The initial delay seconds for the readiness probe.
# initialDelaySeconds: 5
# # -- The timeout seconds for the readiness probe
# timeoutSeconds: 1
# # -- The period seconds for the readiness probe
# periodSeconds: 10
# # -- The success threshold for the readiness probe
# successThreshold: 1
# # -- The failure threshold for the readiness probe
# failureThreshold: 3
# -- The configurations for flownode security context.
securityContext: {}
# -- The annotations to be created to the pod.
annotations: {}
# -- The labels to be created to the pod.
labels: {}
# -- The pod node selector
nodeSelector: {}
# -- The pod tolerations
tolerations: []
# -- The pod affinity
affinity: {}
# -- The pod volumes
volumes: []
serviceAccount:
# -- Create a service account
create: false
# -- The annotations for flownode serviceaccount
annotations: {}
# -- The configurations for flownode security context.
securityContext: {}
# -- GreptimeDB http service port
httpServicePort: 4000
# -- GreptimeDB grpc service port
grpcServicePort: 4001
# -- GreptimeDB mysql service port
mysqlServicePort: 4002
# -- GreptimeDB postgres service port
postgresServicePort: 4003
# -- Configure to prometheus PodMonitor
prometheusMonitor:
# -- Create PodMonitor resource for scraping metrics using PrometheusOperator
enabled: false
# -- Interval at which metrics should be scraped
interval: "30s"
# -- Add labels to the PodMonitor
labels:
release: prometheus
# -- Configure to object storage
objectStorage:
# credentials:
# secretName: ""
# # AWS or AliCloud cloudProvider accessKeyID and secretAccessKey
# accessKeyId: "you-should-set-the-access-key-id-here"
# secretAccessKey: "you-should-set-the-secret-access-key-here"
# # Azure cloudProvider accountName and accountKey
# accountName: "you-should-set-the-account-name-here"
# accountKey: "you-should-set-the-account-key-here"
# # GCP cloudProvider serviceAccountKey JSON-formatted base64 value
# serviceAccountKey: "you-should-set-the-base64-service-account-key-here"
# # Set the existing secret to get the key's of cloudProvider
# existingSecretName: ""
# configure to use s3 storage.
s3: {}
# bucket: "bucket-name"
# region: "us-west-2"
# # The data directory in S3 will be: 's3://<bucket>/<root>/data/...'.
# root: "mycluster"
# endpoint: "s3.us-west-2.amazonaws.com" # See more detail: https://docs.aws.amazon.com/general/latest/gr/s3.html
# configure to use oss storage.
oss: {}
# bucket: "bucket-name"
# region: "cn-hangzhou"
# # The data directory in OSS will be: 'oss://<bucket>/<root>/data/...'.
# root: "mycluster"
# endpoint: "oss-cn-hangzhou.aliyuncs.com"
# configure to use gcs storage
gcs: {}
# bucket: "bucket-name"
# scope: "" # example: "https://www.googleapis.com/auth/devstorage.read_write"
# # The data directory in gcs will be: 'gcs://<bucket>/<root>/data/...'.
# root: "mycluster"
# endpoint: "https://storage.googleapis.com"
# configure to use azblob storage
azblob: {}
# container: ""
# endpoint: ""
# root: "mycluster"
# -- Configure to remote wal
remoteWal:
# -- Enable remote wal
enabled: false
# -- The remote wal type, only support kafka now.
kafka:
# -- The kafka broker endpoints
brokerEndpoints: []
# -- The static auth for greptimedb, only support one user now(https://docs.greptime.com/user-guide/deployments/authentication/static).
auth:
# -- Enable static auth
enabled: false
# -- The auth file path to store the auth info
mountPath: "/etc/greptimedb/auth"
# -- The auth file name, the full path is `${mountPath}/${fileName}`
fileName: "passwd"
# -- The users to be created in the auth file
users:
- username: "admin"
password: "admin"
debugPod:
# -- Enable debug pod
enabled: false
# -- The debug pod image
image:
registry: docker.io
repository: greptime/greptime-tool
tag: "20241107-9c210d18"
# -- The debug pod resource
resources:
requests:
memory: 64Mi
cpu: 50m
limits:
memory: 256Mi
cpu: 200m
# -- The monitoring bootstrap configuration
monitoring:
# -- Enable monitoring
enabled: false
# -- Configure the standalone instance for storing monitoring data
standalone: {}
# base:
# main:
# # -- The standalone image, if not set, it will use the cluster image.
# image: ""
#
# resources:
# # -- The requested resources for monitoring
# requests: {}
## cpu: 500m
## memory: 512Mi
#
# # -- The resources limits for monitoring
# limits: {}
## cpu: "1"
## memory: "1Gi"
#
# # -- The environment variables for the container
# env: []
#
# # -- The command to be executed in the container
# command: []
#
# # -- The arguments to be passed to the command
# args: []
#
# # -- The annotations to be created to the pod for monitoring
# annotations: {}
#
# # -- The labels to be created to the pod for monitoring
# labels: {}
#
# # -- The pod node selector for monitoring
# nodeSelector: {}
#
# # -- The pod tolerations for monitoring
# tolerations: []
#
# # -- The pod affinity for monitoring
# affinity: {}
#
# # -- The global service account for monitoring
# serviceAccountName: ""
# -- Configure the logs collection
logsCollection:
# -- The greptimedb pipeline for logs collection
pipeline:
data: ""
# -- Configure vector for logs and metrics collection.
vector:
# -- vector image registry
registry: docker.io
# -- vector image repository
repository: timberio/vector
# -- vector image tag
tag: nightly-alpine
# -- vector resource
resources:
requests:
cpu: "50m"
memory: "64Mi"
limits:
cpu: "50m"
memory: "64Mi"
# -- Global logging configuration
logging:
# -- The log level for greptimedb, only support "debug", "info", "warn", "debug"
level: "info"
# -- The log format for greptimedb, only support "json" and "text"
format: "text"
# -- The logs directory for greptimedb
logsDir: "/data/greptimedb/logs"
# -- Whether to log to stdout only
onlyLogToStdout: false
# -- indicates whether to persist the log with the datanode data storage. It **ONLY** works for the datanode component.
persistentWithData: false
# -- The log filters, use the syntax of `target[span\{field=value\}]=level` to filter the logs.
filters: []
# -- The slow query log configuration.
slowQuery:
# -- Enable slow query log.
enabled: false
# -- The threshold of slow query log in seconds.
threshold: "10s"
# -- Sample ratio of slow query log.
sampleRatio: "1.0"
# -- Deploy grafana for monitoring.
grafana:
# -- Enable grafana deployment. It needs to enable monitoring `monitoring.enabled: true` first.
enabled: false
# -- The default admin username for grafana.
adminUser: admin
# -- The default admin password for grafana.
adminPassword: gt-operator
# -- The grafana image.
image:
# -- The grafana image registry.
registry: docker.io
# -- The grafana image repository.
repository: grafana/grafana
# -- The grafana image tag.
tag: 11.1.3
# -- The grafana dashboard providers.
dashboardProviders:
dashboardproviders.yaml:
apiVersion: 1
providers:
- name: greptimedb-cluster-metrics
orgId: 1
type: file
disableDeletion: false
editable: true
options:
path: /var/lib/grafana/dashboards/greptimedb-cluster-metrics
- name: greptimedb-cluster-logs
orgId: 1
type: file
disableDeletion: false
editable: true
options:
path: /var/lib/grafana/dashboards/greptimedb-cluster-logs
- name: greptimedb-cluster-slow-queries
orgId: 1
type: file
disableDeletion: false
editable: true
options:
path: /var/lib/grafana/dashboards/greptimedb-cluster-slow-queries
# -- The grafana dashboards configmaps that will be created to store the dashboards.
dashboardsConfigMaps:
greptimedb-cluster-metrics: greptimedb-cluster-metrics-dashboard
greptimedb-cluster-logs: greptimedb-cluster-logs-dashboard
greptimedb-cluster-slow-queries: greptimedb-cluster-slow-queries-dashboard
# -- The grafana datasources.
datasources:
datasources.yaml:
datasources:
# Query the cluster metrics.
- name: metrics
type: prometheus
url: http://mycluster-monitor-standalone.default.svc.cluster.local:4000/v1/prometheus
access: proxy
isDefault: true
# Query the cluster logs and slow queries.
- name: logs
type: mysql
url: mycluster-monitor-standalone.default.svc.cluster.local:4002
access: proxy
database: public
# Query the information schema from the cluster.
- name: information_schema
type: mysql
url: mycluster-frontend.default.svc.cluster.local:4002
access: proxy
database: information_schema