initial commit

This commit is contained in:
allard
2025-11-23 18:58:51 +01:00
commit 376a944abc
1553 changed files with 314731 additions and 0 deletions

5
dev/grafana/README.md Executable file
View File

@@ -0,0 +1,5 @@
1) enable microk8s built-in observability
2) apply ingressroute-tls (in namespace observability)
3) log in with
- user : admin
- password : prom-operator

View File

@@ -0,0 +1,19 @@
apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
name: dev-grafana
title: Drupal (dev)
description: Grafana instance running in Kubernetes
annotations:
backstage.io/kubernetes-label-selector: "app=grafana"
links:
- url: https://github.com/AllardKrings/kubernetes/dev/grafana
title: grafana-configuration
docs:
- url: ./README.md
spec:
type: service
lifecycle: production
owner: group:default/allarddcs
subcomponentOf: component:default/DEV-cluster

View File

@@ -0,0 +1,16 @@
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: grafana-tls
namespace: observability
spec:
entryPoints:
- websecure
routes:
- match: Host(`grafana-dev.allarddcs.nl`)
kind: Rule
services:
- name: kube-prom-stack-grafana
port: 80
tls:
certResolver: letsencrypt