Comments (5)
I've already worked a bit on it today (didn't commit anything yet, as I'm having some trouble with the validation of the Dockerfile 😄 )
I'm familiar with the whole dind thing (I've worked with this concept before) the only thing I don't know yet is how molecule handle mountpoints with containers and if I need to setup privileges somewhere..
Regarding the structure of the tasks, I've tried to stick as close as possible to the already existing variables so for exemple : the configuration is exposed to the container in read only from the related variable (it's a bit different for the data directory but I do set a volume in the right db folder 👍 ).
ATM everything is in the same install.yml
. I started with a dedicated install file but chosed to set stuff in blocks for now.. I'm still not sure about the better way to do this for now but having install.yml
with common tasks, and includes in that file to either binary
or docker
might work as well. I'll stick with blocks for now an see how it goes, and makes changes as requested later on !
from ansible-prometheus.
Personally I don't see any use in this, but maybe someone else has such need 😃
To do this properly it would need to have:
- parallel
install_docker.yml
tasks file with tasks relevant to containerized installation install.yml
split into two sections. So it can choose installation method and delegate it to proper file (install_docker.yml
orinstall_binary.yml
) while still allowing to have common parts- new variable to choose installation method.
- and the hardest part: molecule tests. Since we are already using containers to run each OS test instance it would need to use some sort of docker-in-docker trick.
As you can see this is quite a lot of things to do, but I will be happy to accept a PR and assist when you need some help.
from ansible-prometheus.
That is great to hear! 🎉 You can create a PR and work on it there, this way I could do reviews as you progress :)
I will be a bit busy till Monday so my responses can be slower than usual.
from ansible-prometheus.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
from ansible-prometheus.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
from ansible-prometheus.
Related Issues (20)
- RestrictSUIDSGID not supported in Debian buster HOT 1
- Multiple targets in scrape_configs HOT 2
- Restrict binary access HOT 2
- Cannot start prometheus if prometheus_db_dir is under /home
- checksum failed because is not the good line selected in sha256sums.txt (when install prometheus) HOT 1
- prometheus_config_dir/consoles and prometheus_config_dir/console_libraries are inaccessible HOT 1
- Role fails on 'Fail when file_sd targets are not defined in scrape_configs' while using consul_sd HOT 1
- Stance on default alert rules HOT 1
- Deprecation warning about `include` HOT 1
- Ability to specify oauth2 configuration HOT 1
- child process. Crashing instead. - Checksums HOT 4
- Download URL HOT 1
- Can't see consul_sd_configs on prometheus.yml HOT 1
- v4.0.0 seems to have disappeared from galaxy HOT 10
- Selinux packages for Oracle Linux 8 HOT 1
- Installing from distribution repo HOT 1
- relabel_configs in prometheus_scrape_configs HOT 1
- Updating prometheus_web_config doesn't reload prometheus HOT 2
- Add AlmaLinux variable file HOT 3
- Is ansible-prometheus abandoned? No commits have been made since January 2022 (now October 2022) HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ansible-prometheus.