Skip to content

Commit 9b7d713

Browse files
heng4funapecloud-bot
authored andcommitted
chore: support vmcluster HA deployment (#2448)
(cherry picked from commit 8e5665b)
1 parent 299e5fc commit 9b7d713

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

addons-cluster/victoria-metrics/values.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ vminsert:
2020
## Prefix VM_ will be added automatically. Example: replicationFactor -> VM_replicationFactor
2121
## See https://docs.victoriametrics.com/cluster-victoriametrics/cluster-setup/#vminsert-flags
2222
env:
23-
replicationFactor: 1
23+
replicationFactor: 2
2424
maxConcurrentInserts: # Defaults to number of CPU cores
2525
disableRerouting: true
2626
maxInsertRequestSize: "32MiB" # 33554432
@@ -39,7 +39,7 @@ vmselect:
3939
## Prefix VM_ will be added automatically. Example: dedup.minScrapeInterval -> VM_dedup_minScrapeInterval
4040
## See https://docs.victoriametrics.com/cluster-victoriametrics/cluster-setup/#vmselect-flags
4141
env:
42-
dedup.minScrapeInterval: "0ms" # Set > 0 only if replicationFactor > 1 for vminsert
42+
dedup.minScrapeInterval: "30s" # Set > 0 only if replicationFactor > 1 for vminsert
4343
search.maxConcurrentRequests: 16 # Defaults to 16
4444
search.maxQueryDuration: "30s"
4545
search.maxMemoryPerQuery: "0" # Defaults to 0 (unlimited)
@@ -56,14 +56,14 @@ vmstorage:
5656
##
5757
storageClassName: ""
5858
storage: 20
59-
replicas: 1
59+
replicas: 3
6060
resources: {}
6161
## @param env, additional environment variables for vmstorage
6262
## Prefix VM_ will be added automatically. Example: retentionPeriod -> VM_retentionPeriod
6363
## See https://docs.victoriametrics.com/cluster-victoriametrics/cluster-setup/#vmstorage-flags
6464
env:
6565
retentionPeriod: "1" # Overrides the global retentionPeriod if set, unit is months by default
66-
dedup.minScrapeInterval: "0ms" # Should match vmselect's setting if deduplication is enabled
66+
dedup.minScrapeInterval: "30s" # Should match vmselect's setting if deduplication is enabled
6767
forceMergeAuthKey: ""
6868
storage.minFreeDiskSpaceBytes: "10MB" # 10000000
6969
inmemoryDataFlushInterval: "5s"

0 commit comments

Comments
 (0)