Skip to content

Commit

Permalink
refactor: add example of standalone
Browse files Browse the repository at this point in the history
  • Loading branch information
zyy17 committed Oct 17, 2024
1 parent 9bff7bc commit 5b724c1
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 3 deletions.
4 changes: 2 additions & 2 deletions charts/greptimedb-cluster/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,8 +214,8 @@ helm uninstall mycluster -n default
| meta.podTemplate.volumes | list | `[]` | The pod volumes |
| meta.replicas | int | `1` | Meta replicas |
| meta.storeKeyPrefix | string | `""` | Meta will store data with this key prefix |
| monitoring | object | `{"enabled":false,"logsCollection":{"pipeline":{"data":""}},"standalone":{},"vector":{"registry":"docker.io","repository":"timberio/vector","resource":{"limits":{"cpu":"50m","memory":"64Mi"},"requests":{"cpu":"50m","memory":"64Mi"}},"tag":"nightly-alpine"}}` | The monitoring bootstrap configuration |
| monitoring.enabled | bool | `false` | Enable monitoring |
| monitoring | object | `{"enabled":true,"logsCollection":{"pipeline":{"data":""}},"standalone":{},"vector":{"registry":"docker.io","repository":"timberio/vector","resource":{"limits":{"cpu":"50m","memory":"64Mi"},"requests":{"cpu":"50m","memory":"64Mi"}},"tag":"nightly-alpine"}}` | The monitoring bootstrap configuration |
| monitoring.enabled | bool | `true` | Enable monitoring |
| monitoring.logsCollection | object | `{"pipeline":{"data":""}}` | Configure the logs collection |
| monitoring.logsCollection.pipeline | object | `{"data":""}` | The greptimedb pipeline for logs collection |
| monitoring.standalone | object | `{}` | Configure the standalone instance for storing monitoring data |
Expand Down
44 changes: 43 additions & 1 deletion charts/greptimedb-cluster/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -564,10 +564,52 @@ debugPod:
# -- The monitoring bootstrap configuration
monitoring:
# -- Enable monitoring
enabled: false
enabled: true

# -- 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:
Expand Down

0 comments on commit 5b724c1

Please sign in to comment.