move into root

This commit is contained in:
decentral1se 2022-03-18 12:53:20 +01:00
parent 98b5dc44bf
commit 5ef8936388
No known key found for this signature in database
GPG Key ID: 03789458B3D0C410
17 changed files with 24 additions and 29 deletions

View File

@ -1,5 +1,26 @@
# new-monitoring-experiment
## monitoring
> [notes pad](https://pad.autonomic.zone/lyCDVQbaSpusOtIZXHzHMA?view#2022-03-17-monitoring-co-hack)
> grafana/loki/prometheus
gathering stack lives [here](https://git.coopcloud.tech/knoflook/gathering).
- [g.monitor.autonomic.zone](https://g.monitor.autonomic.zone)
- [p.monitor.autonomic.zone](https://p.monitor.autonomic.zone)
- [l.monitor.autonomic.zone](https://l.monitor.autonomic.zone)
```
printf $(pass show hosts/swarm.autonomic.zone/minio/secret_key) | docker secret create gp_monitoring_loki_aws_secret_access_key_v1 -
printf password | docker secret create gp_monitoring_grafana_admin_password_v1 -
printf <...> | docker secret create gp_monitoring_grafana_oauth_client_secret_v1 -
pwgen -s 64 1; ./scripts/genpw.py # input password & get hashed output for secret
printf <...> | docker secret create gp_monitoring_prometheus_admin_password_v1 -
pwgen -s 64 1; ./scripts/genpw.py # input password & get hashed output for secret
printf <...> | docker secret create gp_monitoring_loki_admin_password_v1 -
printf <...> | docker secret create gp_monitoring_alertmanager_smtp_password_v1 -
set -a && source env && set +a
docker context use monitor.autonomic.zone
docker stack deploy -c compose.yml gp_monitoring
```

View File

View File

@ -1,26 +0,0 @@
## monitoring
> grafana/loki/prometheus
- [g.monitor.autonomic.zone](https://g.monitor.autonomic.zone)
- [p.monitor.autonomic.zone](https://p.monitor.autonomic.zone)
- [l.monitor.autonomic.zone](https://l.monitor.autonomic.zone)
```
printf $(pass show hosts/swarm.autonomic.zone/minio/secret_key) | docker secret create gp_monitoring_loki_aws_secret_access_key_v1 -
printf password | docker secret create gp_monitoring_grafana_admin_password_v1 -
printf <...> | docker secret create gp_monitoring_grafana_oauth_client_secret_v1 -
pwgen -s 64 1; ./scripts/genpw.py # input password & get hashed output for secret
printf <...> | docker secret create gp_monitoring_prometheus_admin_password_v1 -
pwgen -s 64 1; ./scripts/genpw.py # input password & get hashed output for secret
printf <...> | docker secret create gp_monitoring_loki_admin_password_v1 -
printf <...> | docker secret create gp_monitoring_alertmanager_smtp_password_v1 -
set -a && source env && set +a
docker context use monitor.autonomic.zone
docker stack deploy -c compose.yml gp_monitoring
```