prometheus-fail2ban-exporte.../README.md

68 lines
2.7 KiB
Markdown
Raw Normal View History

# Prometheus Fail2Ban exporter
2023-07-09 10:40:04 +00:00
[![Build Status](https://drone.cryptic.systems/api/badges/volker.raschek/prometheus-fail2ban-exporter-charts/status.svg)](https://drone.cryptic.systems/volker.raschek/prometheus-fail2ban-exporter-charts)
[![Artifact Hub](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/volker-raschek)](https://artifacthub.io/packages/search?repo=volker-raschek)
2025-01-04 21:11:50 +00:00
This helm chart contains a daemonset to deploy a fail2ban metric exporter on kubernetes nodes, which have fail2ban
locally installed and configured.
2023-07-09 10:40:04 +00:00
2025-01-04 21:11:50 +00:00
The fail2ban exporter was repackaged to make it possible to deploy the application on kubernetes. The forked fail2ban
exporter can be found [here](https://git.cryptic.systems/volker.raschek/prometheus-fail2ban-exporter).
2023-07-09 10:40:04 +00:00
2025-01-04 21:11:50 +00:00
This helm chart can be found on [artifacthub.io](https://artifacthub.io/) and can be installed via helm.
2023-07-09 10:40:04 +00:00
```bash
helm repo add volker.raschek https://charts.cryptic.systems/volker.raschek
helm install prometheus-fail2ban-exporter volker.raschek/prometheus-fail2ban-exporter
```
## Customization
All [configuration
options](https://gitlab.com/hectorjsmith/fail2ban-prometheus-exporter/-/blob/235d34114bdf6c99f8b8154240c007b2491248ea/cfg/cfg.go#L12)
2025-01-04 21:11:50 +00:00
can be defined in the `values.yml` file below the `config` section. Alternatively can be the options passed via the
`--set` flag of the `helm install` command.
## Parameters
### Affinity
| Name | Description | Value |
| ---------- | ---------------------------------------------- | ----- |
| `affinity` | Affinity for the postgres-exporter deployment. | `{}` |
### Configuration
### Image
| Name | Description | Value |
| ------------------ | -------------------------------------------------------- | ----------------------------------------------------------------- |
| `image.repository` | Image repository, eg. `library/busybox`. | `git.cryptic.systems/volker.raschek/prometheus-fail2ban-exporter` |
| `image.pullPolicy` | Image pull policy. | `Always` |
| `image.tag` | Custom image tag, eg. `0.1.0`. Defaults to `appVersion`. | `""` |
| `imagePullSecrets` | Secret to use for pulling the image. | `[]` |
### Ingress
### NodeSelector
### PodAnnotations
### PodPriorityClassName
### PodSecurityContext
### Resources
### SecurityContext
### Service
### ServiceMonitor
### Tolerations
### VolumeMounts
### Volume