Initial monitoring impl
This commit is contained in:
parent
99be722b27
commit
e3d87d2393
|
@ -0,0 +1,16 @@
|
|||
apiVersion: traefik.io/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: grafana-ingress
|
||||
namespace: monitoring
|
||||
spec:
|
||||
entryPoints:
|
||||
- websecure
|
||||
routes:
|
||||
- match: Host(`monitoring.namesny.com`)
|
||||
kind: Rule
|
||||
middlewares:
|
||||
- name: "auth-authelia@kubernetescrd"
|
||||
services:
|
||||
- name: kube-prometheus-stack-grafana
|
||||
port: 80
|
|
@ -0,0 +1,20 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
generatorOptions:
|
||||
disableNameSuffixHash: true
|
||||
namespace: monitoring
|
||||
resources:
|
||||
- namespace.yaml
|
||||
- grafana-ingress.yaml
|
||||
|
||||
#generators:
|
||||
#- ./secret-generator.yaml
|
||||
|
||||
helmCharts:
|
||||
- name: kube-prometheus-stack
|
||||
releaseName: kube-prometheus-stack
|
||||
version: 55.11.0
|
||||
repo: https://prometheus-community.github.io/helm-charts
|
||||
namespace: monitoring
|
||||
valuesFile: values.yaml
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: monitoring
|
|
@ -0,0 +1,12 @@
|
|||
defaultRules:
|
||||
rules:
|
||||
etcd: false
|
||||
kubeControllerManager: true
|
||||
|
||||
kubeEtcd:
|
||||
enabled: false
|
||||
kubeControllerManager:
|
||||
enabled: false
|
||||
kubeScheduler:
|
||||
enabled: false
|
||||
|
Loading…
Reference in New Issue