File tree 4 files changed +74
-4
lines changed
4 files changed +74
-4
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ type: application
15
15
# This is the chart version. This version number should be incremented each time you make changes
16
16
# to the chart and its templates, including the app version.
17
17
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18
- version : 1.2.7
18
+ version : 1.2.8
19
19
20
20
# This is the version number of the application being deployed. This version number should be
21
21
# incremented each time you make changes to the application. Versions are not expected to
Original file line number Diff line number Diff line change
1
+ {{- if .Values.greptime.installStandalone }}
2
+ # NOTICE: make sure greptimedb operator had been installed in your test cluster
3
+ # cloud mode is recommended to reduce the maintenance effort
4
+ # ```bash
5
+ # helm repo add greptime https://greptimeteam.github.io/helm-charts/
6
+ # helm repo update
7
+ # helm install greptimedb-operator greptime/greptimedb-operator -n greptimedb --create-namespace
8
+ # ```
9
+ apiVersion : greptime.io/v1alpha1
10
+ kind : GreptimeDBStandalone
11
+ metadata :
12
+ name : greptimedb
13
+ namespace : greptimedb
14
+ spec :
15
+ base :
16
+ main :
17
+ image : docker.io/greptime/greptimedb:latest
18
+ livenessProbe :
19
+ failureThreshold : 10
20
+ httpGet :
21
+ path : /health
22
+ port : 4000
23
+ periodSeconds : 5
24
+ readinessProbe :
25
+ failureThreshold : 10
26
+ httpGet :
27
+ path : /health
28
+ port : 4000
29
+ periodSeconds : 5
30
+ resources : {}
31
+ startupProbe :
32
+ failureThreshold : 60
33
+ httpGet :
34
+ path : /health
35
+ port : 4000
36
+ periodSeconds : 5
37
+ datanodeStorage :
38
+ dataHome : /data/greptimedb
39
+ fs :
40
+ mountPath : /data/greptimedb
41
+ name : datanode
42
+ storageRetainPolicy : Retain
43
+ storageSize : 20Gi
44
+ httpPort : 4000
45
+ logging :
46
+ format : text
47
+ level : info
48
+ logsDir : /data/greptimedb/logs
49
+ onlyLogToStdout : false
50
+ persistentWithData : false
51
+ mysqlPort : 4002
52
+ postgreSQLPort : 4003
53
+ rollingUpdate :
54
+ maxUnavailable : 1
55
+ partition : 0
56
+ rpcPort : 4001
57
+ service :
58
+ type : ClusterIP
59
+ version : latest
60
+ {{- end }}
Original file line number Diff line number Diff line change @@ -5,6 +5,9 @@ metadata:
5
5
namespace : {{ include "tensor-fusion.namespace" . }}
6
6
data :
7
7
vector.yaml : |
8
+ api:
9
+ enabled: true
10
+
8
11
sources:
9
12
metrics:
10
13
type: file
@@ -53,14 +56,20 @@ data:
53
56
inputs:
54
57
- log_to_metric
55
58
new_naming: false
56
- endpoint: {{ .Values.greptime.endpoint }}:{{ .Values.greptime.port }}
59
+ endpoint: {{ .Values.greptime.host }}:{{ .Values.greptime.port }}
60
+ {{- if eq .Values.greptime.isCloud true }}
61
+ dbname: {{ .Values.greptime.db }}
62
+ username: {{ .Values.greptime.user }}
63
+ password: {{ .Values.greptime.password }}
64
+ tls: {}
65
+ {{- end }}
57
66
58
67
sink_greptimedb_controller_metrics:
59
68
type: prometheus_remote_write
60
69
inputs:
61
70
- prepare_controller_metrics
62
71
{{- if ne .Values.greptime.isCloud true }}
63
- endpoint: http://{{ .Values.greptime.internalHost }}:4000/v1/prometheus/write?db=public
72
+ endpoint: http://{{ .Values.greptime.host }}:4000/v1/prometheus/write?db=public
64
73
{{- else }}
65
74
endpoint: https://{{ .Values.greptime.host }}/v1/prometheus/write?db={{ .Values.greptime.db }}
66
75
{{- end }}
Original file line number Diff line number Diff line change @@ -58,8 +58,9 @@ controller:
58
58
59
59
greptime :
60
60
isCloud : false
61
- internalHost : greptimedb-standalone.tensor-fusion .svc.cluster.local
61
+ host : greptimedb-standalone.greptimedb .svc.cluster.local
62
62
port : 4001
63
+ installStandalone : true
63
64
64
65
# greptime:
65
66
# isCloud: true
You can’t perform that action at this time.
0 commit comments