diff --git a/charts/victoriametrics/Chart.yaml b/charts/victoriametrics/Chart.yaml index 131c700..f0fa6f1 100644 --- a/charts/victoriametrics/Chart.yaml +++ b/charts/victoriametrics/Chart.yaml @@ -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 \ No newline at end of file diff --git a/charts/victoriametrics/values.yaml b/charts/victoriametrics/values.yaml index 6916407..2f945cd 100644 --- a/charts/victoriametrics/values.yaml +++ b/charts/victoriametrics/values.yaml @@ -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: @@ -27,24 +93,23 @@ 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: @@ -52,7 +117,15 @@ vm: 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 @@ -77,13 +150,19 @@ 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" @@ -91,6 +170,13 @@ vm: requests: cpu: "0.5" memory: "500Mi" + nodeSelector: + node_group: monit-logging + tolerations: + - key: olly + operator: Equal + value: "true" + effect: NoSchedule vmagent: enabled: true @@ -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 \ No newline at end of file + 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