94c059ccb9
- Secret grafana-telegram: bot token + chat ID (env var injection)
- ConfigMap grafana-alerting: provisioning files for contact point,
notification policy, and 4 alert rules
* Pod CrashLoopBackOff (for: 1m, noData: OK)
* Disk > 80% on non-tmpfs filesystems (for: 5m)
* RAM > 85% (for: 5m)
* Pod Failed/Unknown (for: 3m, noData: OK)
- Deployment: TELEGRAM_* env vars from secret + alerting volume mount
Token interpolated via ${TELEGRAM_BOT_TOKEN} in provisioning YAML.
10 lines
230 B
YAML
10 lines
230 B
YAML
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: grafana-telegram
|
|
namespace: monitoring
|
|
type: Opaque
|
|
data:
|
|
TELEGRAM_BOT_TOKEN: ODYxMTkxMzgwMjpBQUZsckZ0YzB2WUlTT2xpT19XOEI0Yy1XMXVlMGhHOUZpbw==
|
|
TELEGRAM_CHAT_ID: NTEzODQwNzY2Ng==
|