diff options
Diffstat (limited to 'kubernetes/namespaces/monitoring')
-rw-r--r-- | kubernetes/namespaces/monitoring/olli/README.md | 13 | ||||
-rw-r--r-- | kubernetes/namespaces/monitoring/olli/configmap.yaml | 10 | ||||
-rw-r--r-- | kubernetes/namespaces/monitoring/olli/secrets.yaml | bin | 0 -> 308 bytes |
3 files changed, 23 insertions, 0 deletions
diff --git a/kubernetes/namespaces/monitoring/olli/README.md b/kubernetes/namespaces/monitoring/olli/README.md new file mode 100644 index 0000000..ff748d5 --- /dev/null +++ b/kubernetes/namespaces/monitoring/olli/README.md @@ -0,0 +1,13 @@ +# Olli + +This folder contains the deployment information for [Olli](https://github.com/python-discord/olli), our Loki-Discord relay. + +The deployment manifest is located within the repository. + +The rest of the configuration can be applied through `kubectl apply -f .` in this directory. + +A secret called `olli-env` with the following a key `WEBHOOK_URL` with the configured Discord webhook. + +| Key | Description | +| --------------| -------------------------- | +| `WEBHOOK_URL` | The Discord webhook to use | diff --git a/kubernetes/namespaces/monitoring/olli/configmap.yaml b/kubernetes/namespaces/monitoring/olli/configmap.yaml new file mode 100644 index 0000000..ecedb90 --- /dev/null +++ b/kubernetes/namespaces/monitoring/olli/configmap.yaml @@ -0,0 +1,10 @@ +apiVersion: v1 +kind: ConfigMap +metadata: + name: olli-config-env + namespace: monitoring +data: + LOKI_API_URL: http://loki.loki.svc.cluster.local:3100 + LOKI_JOBS: default/bot,default/site,default/sir-lancebot,default/sir-robin,default/metricity,default/snekbox,default/quackstack,default/black-knight + SERVICE_INTERVAL_MINUTES: '30' + SERVICE_TOKENS: '[{"token":"CRITICAL","color":"#ff5f5f"},{"token":"ERROR","color":"#ff5f5f"},{"token":"WARN","color":"#ffe24d","case_sensitive":true}]' diff --git a/kubernetes/namespaces/monitoring/olli/secrets.yaml b/kubernetes/namespaces/monitoring/olli/secrets.yaml Binary files differnew file mode 100644 index 0000000..8e3ef0b --- /dev/null +++ b/kubernetes/namespaces/monitoring/olli/secrets.yaml |