Updates and cleanups

This commit is contained in:
2023-08-29 09:29:36 +03:00
parent 4fa554da57
commit b11ac8bcae
42 changed files with 254 additions and 297 deletions

View File

@@ -1,5 +1,9 @@
# Grafana
This application is managed by [ArgoCD](https://argocd.k-space.ee/applications/argocd/grafana)
Should ArgoCD be down manifests here can be applied with:
```
kubectl create namespace grafana
kubectl apply -n grafana -f application.yml
@@ -8,8 +12,4 @@ kubectl apply -n grafana -f application.yml
## Grafana post deployment steps
* Configure Prometheus datasource with URL set to
`http://prometheus-operated.prometheus-operator.svc.cluster.local:9090`
* Configure Elasticsearch datasource with URL set to
`http://elasticsearch.elastic-system.svc.cluster.local`,
Time field name set to `timestamp` and
ElasticSearch version set to `7.10+`
`http://prometheus-operated.monitoring.svc.cluster.local:9090`

View File

@@ -185,3 +185,11 @@ spec:
tls:
- hosts:
- "*.k-space.ee"
---
apiVersion: codemowers.cloud/v1beta1
kind: MysqlDatabaseClaim
metadata:
name: grafana
spec:
capacity: 1Gi
class: shared