This commit is contained in:
Caffeine Fueled 2025-10-11 22:33:41 +02:00
commit d5472330d9
Signed by: cf7
GPG key ID: CA295D643074C68C
10 changed files with 1674 additions and 0 deletions

76
README.md Normal file
View file

@ -0,0 +1,76 @@
# Podman Kube for Logging Stack
Podman Kube to setup pods for:
- Grafana
- Loki
- Prometheus
**Status**: Currently Proof-of-Concept of my logging stack.
---
## Use
clone this repo
`cd podman-grafana-loki`
Go into subdirs, remove the `.example` suffix and change accordingly. Makes it easier to work with in this template for now.
`podman kube play mnsn-log-stack.yaml`
Taking it down
`podman kube down mnsn-log-stack.yaml`
---
## Configuration
Goals:
: keeping the endpoints local (127.1)
: automated setup
### Endpoint
Grafana
`http://127.0.0.1:3000/`
Loki
`http://127.0.0.1:3100/ready`
Prometheus
`http://127.0.0.1:9090`
### Auth
Open Grafana, default creds are `admin`/`admin`.
### Data Source
In Grafana, both data sources have to be added manually atm.
---
## Changelog
from initial project
- Removed Tempo/Mimir
- Loki Config `loki-local-config.yaml`
- `store: boltdb-shipper` > `store: tsdb`
- `schema: v11` > `schema: v13`
## Links
[Initial Article](https://grafana.com/blog/2022/09/08/how-to-deploy-the-mnsn-log-stack-using-podman/)
## TODO
- [ ] Authentication for Loki
- [ ] Hardening container
- [ ] improve documentation
- [ ] automated config and source management