monitoring stack
This commit is contained in:
parent
73ba70b888
commit
99c42d5e20
27
apps/production/monitoring/kube-prometheus-stack.yaml
Normal file
27
apps/production/monitoring/kube-prometheus-stack.yaml
Normal file
@ -0,0 +1,27 @@
|
||||
---
|
||||
apiVersion: source.toolkit.fluxcd.io/v1
|
||||
kind: HelmRepository
|
||||
metadata:
|
||||
name: prometheus-community
|
||||
namespace: monitoring
|
||||
spec:
|
||||
interval: 12h
|
||||
url: https://prometheus-community.github.io/helm-charts
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: kube-prometheus-stack
|
||||
namespace: monitoring
|
||||
spec:
|
||||
interval: 30m
|
||||
chart:
|
||||
spec:
|
||||
chart: kube-prometheus-stack
|
||||
version: "62.7.0"
|
||||
sourceRef:
|
||||
kind: HelmRepository
|
||||
name: kube-prometheus-stack
|
||||
namespace: monitoring
|
||||
interval: 12h
|
||||
#values: {}
|
7
apps/production/monitoring/kustomization.yaml
Normal file
7
apps/production/monitoring/kustomization.yaml
Normal file
@ -0,0 +1,7 @@
|
||||
---
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: monitoring
|
||||
resources:
|
||||
- namespace.yaml
|
||||
- kube-prometheus-stack.yaml
|
5
apps/production/monitoring/namespace.yaml
Normal file
5
apps/production/monitoring/namespace.yaml
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: monitoring
|
Reference in New Issue
Block a user