File tree Expand file tree Collapse file tree 4 files changed +74
-4
lines changed Expand file tree Collapse file tree 4 files changed +74
-4
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ type: application
1515# This is the chart version. This version number should be incremented each time you make changes
1616# to the chart and its templates, including the app version.
1717# Versions are expected to follow Semantic Versioning (https://semver.org/)
18- version : 1.2.7
18+ version : 1.2.8
1919
2020# This is the version number of the application being deployed. This version number should be
2121# 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:
55 namespace : {{ include "tensor-fusion.namespace" . }}
66data :
77 vector.yaml : |
8+ api:
9+ enabled: true
10+
811 sources:
912 metrics:
1013 type: file
@@ -53,14 +56,20 @@ data:
5356 inputs:
5457 - log_to_metric
5558 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 }}
5766
5867 sink_greptimedb_controller_metrics:
5968 type: prometheus_remote_write
6069 inputs:
6170 - prepare_controller_metrics
6271 {{- 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
6473 {{- else }}
6574 endpoint: https://{{ .Values.greptime.host }}/v1/prometheus/write?db={{ .Values.greptime.db }}
6675 {{- end }}
Original file line number Diff line number Diff line change @@ -58,8 +58,9 @@ controller:
5858
5959greptime :
6060 isCloud : false
61- internalHost : greptimedb-standalone.tensor-fusion .svc.cluster.local
61+ host : greptimedb-standalone.greptimedb .svc.cluster.local
6262 port : 4001
63+ installStandalone : true
6364
6465# greptime:
6566# isCloud: true
You can’t perform that action at this time.
0 commit comments