Skip to content

Commit

Permalink
New release for victoriametrics
Browse files Browse the repository at this point in the history
Signed-off-by: Ashwani Singh <[email protected]>
  • Loading branch information
ashwani-opstree committed Sep 23, 2024
1 parent 388100c commit f7fd277
Show file tree
Hide file tree
Showing 2 changed files with 151 additions and 24 deletions.
8 changes: 8 additions & 0 deletions charts/victoriametrics/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,11 @@ dependencies:
tags:
- monitoring
condition: vm.enabled

- name: prometheus-blackbox-exporter
version: 8.17.0
repository: https://prometheus-community.github.io/helm-charts/
tags:
- blackbox
alias: blackbox
condition: blackbox.enabled
167 changes: 143 additions & 24 deletions charts/victoriametrics/values.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,82 @@
vm:
defaultDashboardsEnabled: false.
defaultDashboardsEnabled: false
experimentalDashboardsEnabled: false
prometheus-node-exporter:
enabled: false
enabled: true
node:
enabled: false
enabled: true
kubeStateMetrics:
enabled: false
enabled: true
grafana:
enabled: false
enabled: true
testFramework:
enabled: false
sidecar:
datasources:
defaultDatasourceEnabled: false
resources:
requests:
cpu: "0.5"
memory: 1Gi
limits:
cpu: 1
memory: 2Gi
persistence:
enabled: true
type: sts
storageClassName: buildpiper-storage
accessModes:
- ReadWriteOnce
size: 1Gi
finalizers:
- kubernetes.io/pvc-protection
nodeSelector:
node_group: monit-logging
tolerations:
- key: olly
operator: Equal
value: "true"
effect: NoSchedule
alertmanager:
enabled: false
enabled: true
config:
global:
resolve_timeout: 5m
templates:
- "/etc/vm/configs/**/*.tmpl"
route:
receiver: "blackhole"
receivers:
- name: blackhole
spec:
configNamespaceSelector:
matchLabels:
kubernetes.io/metadata.name: monitoring
replicaCount: 2
retention: 240h
resources:
requests:
cpu: 250m
memory: 500Mi
limits:
cpu: 250m
memory: 500Mi
nodeSelector:
node_group: monit-logging
tolerations:
- key: olly
operator: Equal
value: "true"
effect: NoSchedule
storage:
volumeClaimTemplate:
spec:
storageClassName: buildpiper-storage
accessModes:
- "ReadWriteOnce"
resources:
requests:
storage: 1Gi
vmsingle:
enabled: false
defaultRules:
Expand All @@ -27,32 +93,39 @@ vm:
enabled: false
dashboards:
node-exporter-full: false
kube-state-metrics:
enabled: false

vmcluster:
enabled: true
spec:
retentionPeriod: "14d"
replicationFactor: 2
replicationFactor: 1
vmstorage:
replicaCount: 1
extraArgs:
search.maxUniqueTimeseries: "10000000000000"
resources:
limits:
cpu: "1"
memory: 5Gi
cpu: "0.5"
memory: 500Mi
requests:
cpu: "1"
memory: 5Gi
cpu: "0.5"
memory: 500Mi
storage:
volumeClaimTemplate:
spec:
storageClassName: buildpiper-storage
resources:
requests:
storage: 20Gi
nodeSelector:
node_group: monit-logging
tolerations:
- key: olly
operator: Equal
value: "true"
effect: NoSchedule
vmselect:
replicaCount: 1
extraArgs:
memory.allowedPercent: "75"
search.cacheTimestampOffset: 60m
Expand All @@ -77,20 +150,33 @@ vm:
requests:
cpu: "1"
memory: "1Gi"

nodeSelector:
node_group: monit-logging
tolerations:
- key: olly
operator: Equal
value: "true"
effect: NoSchedule
vminsert:
image:
tag: v1.103.0-cluster
replicaCount: 2
replicaCount: 1
extraArgs:
maxLabelsPerTimeseries: "100"
image:
tag: v1.103.0-cluster
resources:
limits:
cpu: "0.5"
memory: 500Mi
requests:
cpu: "0.5"
memory: "500Mi"
nodeSelector:
node_group: monit-logging
tolerations:
- key: olly
operator: Equal
value: "true"
effect: NoSchedule

vmagent:
enabled: true
Expand All @@ -104,20 +190,53 @@ vm:
promscrape.dropOriginalLabels: "true"
resources:
limits:
cpu: "1"
memory: 1Gi
cpu: "0.5"
memory: 500Mi
requests:
cpu: "1"
memory: 1Gi
cpu: "0.5"
memory: 500Mi
scrapeInterval: 30s

nodeSelector:
node_group: monit-logging
tolerations:
- key: olly
operator: Equal
value: "true"
effect: NoSchedule
vmalert:
enabled: true
spec:
resources:
limits:
cpu: "0.5"
memory: 1Gi
memory: 500Mi
requests:
cpu: "0.5"
memory: 1Gi
memory: 500Mi
nodeSelector:
node_group: monit-logging
tolerations:
- key: olly
operator: Equal
value: "true"
effect: NoSchedule


blackbox:
enabled: false
serviceMonitor:
enabled: false
config:
modules:
http_2xx:
prober: http
timeout: 5s
http:
valid_http_versions:
- "HTTP/1.0"
- "HTTP/1.1"
- "HTTP/2.0"
no_follow_redirects: false
preferred_ip_protocol: "ip4"
fail_if_ssl: false
fail_if_not_ssl: false

0 comments on commit f7fd277

Please sign in to comment.