Files
confdroid_alloy/README.md

81 lines
2.4 KiB
Markdown
Raw Permalink Normal View History

2025-02-23 13:52:50 +01:00
# Readme
2025-02-23 12:34:30 +00:00
2025-05-22 17:06:22 +02:00
[![Build Status](https://jenkins.confdroid.com/buildStatus/icon?job=alloy_cd)](https://jenkins.confdroid.com/job/alloy_cd/)
2025-02-23 12:34:30 +00:00
2025-02-23 13:52:50 +01:00
[[_TOC_]]
2025-02-23 12:34:30 +00:00
2025-02-23 13:52:50 +01:00
## Synopsis
2025-02-23 12:34:30 +00:00
2025-02-23 13:58:44 +01:00
Grafana Alloy is a log management agent built by Grafana labs to scrape and forward logs to Loki, a log management system also built by Grafana labs. Then you can use Grafana itself to visualize those logs and built an alerting system.
2025-02-23 12:34:30 +00:00
2025-03-02 13:49:35 +01:00
`alloy_cd` is a Puppet module to automate installation and configuration of alloy.
2025-02-23 12:34:30 +00:00
2025-02-23 13:52:50 +01:00
## WARNING
2025-02-23 12:34:30 +00:00
2025-02-23 13:52:50 +01:00
***Attention: Never use this puppet module on systems which have been previously configured manually. It is impossible to predict how and what would have been configured, hence previous configurations outside the scope of this module may be overwritten! Automated configurations require a test environment to verify that the module suits the purpose intended by the user, as well as tune the parameters, before deploying into live production***
2025-02-23 12:34:30 +00:00
2025-02-23 13:52:50 +01:00
## Features
INSTALLATION
2025-02-23 12:34:30 +00:00
2025-02-23 13:58:44 +01:00
* installs alloy binaries
2025-02-23 12:34:30 +00:00
2025-02-23 13:52:50 +01:00
CONFIGURATION
2025-02-23 12:34:30 +00:00
2025-03-02 13:30:56 +01:00
* manage directories and files including templates
2025-05-22 17:06:22 +02:00
* manages the main alloy jenkins for loki and prometheus
2025-03-02 13:30:56 +01:00
* manage service
2025-02-23 12:34:30 +00:00
2025-02-23 13:52:50 +01:00
## Repo Documentation
2025-02-23 12:34:30 +00:00
2025-02-23 13:52:50 +01:00
See the full Puppet documentation including parameters in `docs/index.html`
2025-02-23 12:34:30 +00:00
2025-02-23 13:52:50 +01:00
## Dependencies
2025-02-23 12:34:30 +00:00
2025-02-23 13:52:50 +01:00
All dependencies must be included in the catalogue.
2025-02-23 12:34:30 +00:00
2025-02-23 13:52:50 +01:00
## Deployment
2025-02-23 12:34:30 +00:00
2025-02-23 13:52:50 +01:00
* native Puppet deployment
via site.pp or nodes.pp
```bash
node 'example.example.net' {
include cd_kubernetes
}
```
2025-02-23 12:34:30 +00:00
2025-02-23 13:52:50 +01:00
* through Foreman:
2025-02-23 12:34:30 +00:00
2025-02-23 14:03:29 +01:00
In order to apply parameters through Foreman, the params.pp must be added to the host or host group in question.
2025-02-23 12:34:30 +00:00
2025-02-23 13:52:50 +01:00
See [more details about class deployment on Confdroid.com](https://confdroid.com/2017/05/deploying-our-puppet-modules/).
2025-02-23 12:34:30 +00:00
2025-02-23 13:52:50 +01:00
## SELINUX
2025-02-23 12:34:30 +00:00
2025-02-23 13:52:50 +01:00
All files and directories are configured with correct selinux context. If selinux is disabled, these contexts are ignored.
2025-02-23 12:34:30 +00:00
2025-02-23 13:52:50 +01:00
## Known Problems
2025-02-23 12:34:30 +00:00
## Support
2025-02-23 14:01:19 +01:00
* OS: Rocky 9
2025-03-12 14:54:10 +01:00
* Puppet 6,8
2025-02-23 12:34:30 +00:00
2025-02-23 13:52:50 +01:00
## Tests
2025-02-23 12:34:30 +00:00
2025-02-23 13:52:50 +01:00
* Puppet Lint
* Puppet Parser
* ERB Template Parser
* Sonar Quality Gate
2025-02-23 12:34:30 +00:00
2025-02-23 13:52:50 +01:00
## Contact Us
2025-02-23 12:34:30 +00:00
2025-02-23 13:52:50 +01:00
[contact Us](https://confdroid.com/contact/)
2025-02-23 12:34:30 +00:00
2025-02-23 13:52:50 +01:00
## Disclaimer
2025-02-23 12:34:30 +00:00
2025-02-23 13:52:50 +01:00
ConfDroid as entity is entirely independent from Puppet. We provide custom configuration modules, written for specific purposes and specific environments.
The modules are tested and supported only as documented, and require testing in designated environments (i.e. lab or development environments) for parameter tuning etc. before deploying into production environments.