Prometheus installation

23 views
Skip to first unread message

ritesh patel

unread,
Feb 8, 2022, 3:54:46 AM2/8/22
to promethe...@googlegroups.com
Hello Team,

Can I run multiple prometheus as a docker container? Also can I managed target and prometheus.yml via git/puppet? 

Thanks and regards
Ritesh Patel 

Brian Candler

unread,
Feb 8, 2022, 4:03:27 AM2/8/22
to Prometheus Users
On Tuesday, 8 February 2022 at 08:54:46 UTC p4patelr...@gmail.com wrote:
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
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.
Reply all
Reply to author
Forward
0 new messages