Install the victoria-metrics-cluster.
This module is part of Swiss Army Kube project. Checkout main repository and contributing guide.
Swiss Army Kube | Contributing Guide
module scaling {
source = "github.com/provectus/sak-victoria-metrics"
cluster_name = module.eks.cluster_id
}
Add this sections to config:
grafana:
additionalDataSources:
- name: VictoriaMetrics
type: prometheus
access: proxy
url: http://victoria-metrics-cluster-vmselect:8481/select/0/prometheus
prometheus:
prometheusSpec:
remoteWrite:
- url: http://victoria-metrics-cluster-vminsert:8480/insert/0/prometheus/api/v1/write
terraform >= 1.1
Name | Version |
---|---|
aws | n/a |
helm | n/a |
kubernetes | n/a |
local | n/a |
random | n/a |
Name | Description | Type | Default | Required |
---|---|---|---|---|
argocd | A set of values for enabling deployment through ArgoCD | map(string) |
{} |
no |
chart_version | A Helm Chart version | string |
"0.8.10" |
no |
cluster_name | A name of the Amazon EKS cluster | string |
n/a | yes |
conf | A custom configuration for deployment | map(string) |
{} |
no |
module_depends_on | A list of explicit dependencies | list(any) |
[] |
no |
namespace | A name of the existing namespace | string |
"" |
no |
namespace_name | A name of namespace for creating | string |
"monitoring" |
no |
tags | A tags for attaching to new created AWS resources | map(string) |
{} |
no |