initial commit
This commit is contained in:
5
dev/grafana/README.md
Executable file
5
dev/grafana/README.md
Executable 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
|
||||
19
dev/grafana/catalog-info.yaml
Normal file
19
dev/grafana/catalog-info.yaml
Normal 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
|
||||
|
||||
16
dev/grafana/ingressroute-tls.yaml
Executable file
16
dev/grafana/ingressroute-tls.yaml
Executable 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
|
||||
Reference in New Issue
Block a user