Skip to content

aeciopires/learning-victoriametrics

Repository files navigation

About

Use Case

VictoriaMetrics is a fast, cost-effective and scalable time series database. It can be used as a long-term remote storage for Prometheus.

I worked at Sensedia for almost 5 years and used VIctoriaMetrics in production collecting metrics from over 100 clusters (EKS and GKE) running hundreds of pods on each cluster and going through 5 Black Friday without downtime in the monitoring stack.

Details of this use case can be found in the following links:

I also contribute to the VictoriaMetrics helm chart:

Contributing

See CONTRIBUTING.md file.

VictoriaMetrics documentation

See LEARNING_VICTORIAMETRICS.md file.

Requirements

Install all packages and binaries following this tutorial.

Create cluster and deploy applications

Create kind cluster and install helm apps using make command:

cd learning-victoriametrics
make up

Actions performed:

  • Check requirements
  • Create kind Kubernetes cluster
  • Install helm apps: MetalLB, VictoriaMetrics (cluster mode), VictoriaLogs (cluster mode), ingress-nginx, certificate-manager, kube-pires and kube-stack-prometheus
  • Insert new entry in /etc/hosts (Linux/MacOS)

VictoriaMetrics Cluster Mode

See the helm-apps/victoriametrics-cluster-mode/README.md file to configure VictoriaMetrics cluster mode.

VictoriaLogs Cluster Mode

See the helm-apps/victorialogs-cluster-mode/README.md file to configure VictoriaLogs cluster mode.

argocd

See the helm-apps/argocd/README.md

ingress-nginx

See the helm-apps/ingress-nginx/README.md

cert-manager

See the helm-apps/cert-manager/README.md

kube-prometheus-stack

See the helm-apps/kube-stack-prometheus/README.md

kube-pires

See the helm-apps/kube-pires/README.md

VictoriaMetrics and VictoriaLogs Architecture

vm-vl-architecture

Tools used

tools-used

Request workflow

request-workflow

Uninstall

Destroy Kind cluster and uninstall apps:

cd learning-victoriametrics
make down

Maintainers

License

GPL-3.0 Aécio dos Santos Pires