Skip to content

Commit

Permalink
enable kube-prometheus stack
Browse files Browse the repository at this point in the history
  • Loading branch information
Ronald Philipsen authored and Ronald Philipsen committed Feb 1, 2025
1 parent 370b3a8 commit 2971d68
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 0 deletions.
21 changes: 21 additions & 0 deletions kubernetes/apps/observability/kube-prometheus-stack/ks.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/kustomization-kustomize-v1.json
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: &appname kube-prometheus-stack
namespace: &namespace observability
spec:
targetNamespace: *namespace
commonMetadata:
labels:
app.kubernetes.io/name: *appname
interval: 30m
timeout: 5m
path: "./kubernetes/apps/observability/kube-prometheus-stack/app"
prune: true
sourceRef:
kind: GitRepository
name: flux-system
namespace: flux-system
wait: false
1 change: 1 addition & 0 deletions kubernetes/apps/observability/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ./grafana/ks.yaml
- ./kube-prometheus-stack/ks.yaml
- ./prometheus-operator-crds/ks.yaml
components:
- ../../components/namespace
Expand Down

0 comments on commit 2971d68

Please sign in to comment.