|
2 | 2 |
|
3 | 3 | A Helm chart for deploying GreptimeDB cluster in Kubernetes.
|
4 | 4 |
|
5 |
| -   |
| 5 | +   |
6 | 6 |
|
7 | 7 | ## Source Code
|
8 | 8 |
|
@@ -69,6 +69,12 @@ If you set `storage.s3.root` as `mycluser`, then the data layout will be:
|
69 | 69 | helm uninstall mycluster -n default
|
70 | 70 | ```
|
71 | 71 |
|
| 72 | +## Requirements |
| 73 | + |
| 74 | +| Repository | Name | Version | |
| 75 | +|------------|------|---------| |
| 76 | +| https://grafana.github.io/helm-charts | grafana | 8.5.8 | |
| 77 | + |
72 | 78 | ## Values
|
73 | 79 |
|
74 | 80 | | Key | Type | Default | Description |
|
@@ -177,6 +183,27 @@ helm uninstall mycluster -n default
|
177 | 183 | | frontend.replicas | int | `1` | Frontend replicas |
|
178 | 184 | | frontend.service | object | `{}` | Frontend service |
|
179 | 185 | | frontend.tls | object | `{}` | Frontend tls configure |
|
| 186 | +| grafana | object | `{"adminPassword":"gt-operator","adminUser":"admin","dashboardProviders":{"dashboardproviders.yaml":{"apiVersion":1,"providers":[{"disableDeletion":false,"editable":true,"name":"greptimedb-cluster-metrics","options":{"path":"/var/lib/grafana/dashboards/greptimedb-cluster-metrics"},"orgId":1,"type":"file"},{"disableDeletion":false,"editable":true,"name":"greptimedb-cluster-logs","options":{"path":"/var/lib/grafana/dashboards/greptimedb-cluster-logs"},"orgId":1,"type":"file"},{"disableDeletion":false,"editable":true,"name":"greptimedb-cluster-slow-queries","options":{"path":"/var/lib/grafana/dashboards/greptimedb-cluster-slow-queries"},"orgId":1,"type":"file"}]}},"dashboardsConfigMaps":{"greptimedb-cluster-logs":"greptimedb-cluster-logs-dashboard","greptimedb-cluster-metrics":"greptimedb-cluster-metrics-dashboard","greptimedb-cluster-slow-queries":"greptimedb-cluster-slow-queries-dashboard"},"datasources":{"datasources.yaml":{"datasources":[{"access":"proxy","isDefault":true,"name":"greptimedb-metrics","type":"prometheus","url":"http://mycluster-monitor-standalone.default.svc.cluster.local:4000/v1/prometheus"},{"access":"proxy","database":"public","name":"greptimedb-logs","type":"mysql","url":"mycluster-monitor-standalone.default.svc.cluster.local:4002"}]}},"enabled":false,"image":{"registry":"docker.io","repository":"grafana/grafana","tag":"11.1.3"},"initChownData":{"enabled":false},"persistence":{"accessModes":["ReadWriteOnce"],"enabled":true,"size":"10Gi"},"service":{"annotations":{},"enabled":true,"type":"ClusterIP"}}` | Deploy grafana for monitoring. | |
| 187 | +| grafana.adminPassword | string | `"gt-operator"` | The default admin password for grafana. | |
| 188 | +| grafana.adminUser | string | `"admin"` | The default admin username for grafana. | |
| 189 | +| grafana.dashboardProviders | object | `{"dashboardproviders.yaml":{"apiVersion":1,"providers":[{"disableDeletion":false,"editable":true,"name":"greptimedb-cluster-metrics","options":{"path":"/var/lib/grafana/dashboards/greptimedb-cluster-metrics"},"orgId":1,"type":"file"},{"disableDeletion":false,"editable":true,"name":"greptimedb-cluster-logs","options":{"path":"/var/lib/grafana/dashboards/greptimedb-cluster-logs"},"orgId":1,"type":"file"},{"disableDeletion":false,"editable":true,"name":"greptimedb-cluster-slow-queries","options":{"path":"/var/lib/grafana/dashboards/greptimedb-cluster-slow-queries"},"orgId":1,"type":"file"}]}}` | The grafana dashboard providers. | |
| 190 | +| grafana.dashboardsConfigMaps | object | `{"greptimedb-cluster-logs":"greptimedb-cluster-logs-dashboard","greptimedb-cluster-metrics":"greptimedb-cluster-metrics-dashboard","greptimedb-cluster-slow-queries":"greptimedb-cluster-slow-queries-dashboard"}` | The grafana dashboards configmaps that will be created to store the dashboards. | |
| 191 | +| grafana.datasources | object | `{"datasources.yaml":{"datasources":[{"access":"proxy","isDefault":true,"name":"greptimedb-metrics","type":"prometheus","url":"http://mycluster-monitor-standalone.default.svc.cluster.local:4000/v1/prometheus"},{"access":"proxy","database":"public","name":"greptimedb-logs","type":"mysql","url":"mycluster-monitor-standalone.default.svc.cluster.local:4002"}]}}` | The grafana datasources. | |
| 192 | +| grafana.enabled | bool | `false` | Enable grafana deployment. It needs to enable monitoring `monitoring.enabled: true` first. | |
| 193 | +| grafana.image | object | `{"registry":"docker.io","repository":"grafana/grafana","tag":"11.1.3"}` | The grafana image. | |
| 194 | +| grafana.image.registry | string | `"docker.io"` | The grafana image registry. | |
| 195 | +| grafana.image.repository | string | `"grafana/grafana"` | The grafana image repository. | |
| 196 | +| grafana.image.tag | string | `"11.1.3"` | The grafana image tag. | |
| 197 | +| grafana.initChownData | object | `{"enabled":false}` | Init chown data for grafana. | |
| 198 | +| grafana.initChownData.enabled | bool | `false` | Enable init chown data for grafana. | |
| 199 | +| grafana.persistence | object | `{"accessModes":["ReadWriteOnce"],"enabled":true,"size":"10Gi"}` | The grafana persistence configuration. | |
| 200 | +| grafana.persistence.accessModes | list | `["ReadWriteOnce"]` | The access modes for the grafana persistence. | |
| 201 | +| grafana.persistence.enabled | bool | `true` | Whether to enable the persistence for grafana. | |
| 202 | +| grafana.persistence.size | string | `"10Gi"` | The storage size for the grafana persistence. | |
| 203 | +| grafana.service | object | `{"annotations":{},"enabled":true,"type":"ClusterIP"}` | The grafana service configuration. | |
| 204 | +| grafana.service.annotations | object | `{}` | The annotations for the grafana service. | |
| 205 | +| grafana.service.enabled | bool | `true` | Whether to create the service for grafana. | |
| 206 | +| grafana.service.type | string | `"ClusterIP"` | The type of the service. | |
180 | 207 | | grpcServicePort | int | `4001` | GreptimeDB grpc service port |
|
181 | 208 | | httpServicePort | int | `4000` | GreptimeDB http service port |
|
182 | 209 | | image.pullSecrets | list | `[]` | The image pull secrets |
|
|
0 commit comments