Can I run multiple prometheus as a docker container?
Yes.
Also can I managed target and prometheus.yml via git/puppet?
Yes.
Stuart Clark
unread,
Feb 8, 2022, 4:05:54 AM2/8/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to promethe...@googlegroups.com, ritesh patel
Yes it is common to run Prometheus in a Docker container (for example inside Kubernetes) with an image being produced for this purpose. It is also common to run pairs for HA purposes, generally configured to run on different underlying hardware and/or availability zones.
With regards to the management of your Prometheus configuration files you can use any tool which can produce a YAML file. Tools such as Ansible, Puppet or Chef are commonly used. It is also recommended to use the built-in service discovery within Prometheus to make configuration easier. This allows you to generate scrape targets from other systems of record, such as Kubernetes or AWS to allow more dynamic environments to update without constant changes from your configuration management system.
-- Sent from my Android device with K-9 Mail. Please excuse my brevity.