Ansible roles and playbooks for Victoria Metrics.
Roles are published in ansible galaxy: https://galaxy.ansible.com/victoriametrics
Install collection:
ansible-galaxy collection install victoriametrics.cluster
Collection includes the following roles:
- docker - role for docker installation
- load_balancer - nginx setup for load balancing between select and insert nodes
- cluster - installs and configures VictoriaMetrics cluster running in docker
- single - installs and configures VictoriaMetrics single node
- vmagent - installs and configures
vmagent
- vmalert - installs and configures
vmalert
- add non-docker environment
- fix hardcoded ports
I'm using vagrant and libvirt for testing purpose. visit vendors' web-site for instructions of installing program. vagrant: https://www.vagrantup.com/downloads
Also, most roles are tested with molecule
. Please, check out installation docs: https://molecule.readthedocs.io/en/latest/installation.html