move prometheus to its own config
This commit is contained in:
parent
f4b99ca037
commit
4fcdaad297
@ -8,18 +8,7 @@ resources:
|
||||
- grafana.pvc.yaml
|
||||
- influxdb.pvc.yaml
|
||||
- grafana.ingress.yaml
|
||||
# prometheus-operator crds
|
||||
- https://github.com/prometheus-operator/prometheus-operator/releases/download/v0.70.0/bundle.yaml
|
||||
- prometheus.yaml
|
||||
- thanos-objstore-config.sealedsecret.yaml
|
||||
# thanos deployment from kube-thanos project
|
||||
- thanos-store.statefulset.yaml
|
||||
- thanos-query.deployment.yaml
|
||||
|
||||
images:
|
||||
- name: thanos
|
||||
newName: quay.io/thanos/thanos
|
||||
newTag: v0.34.1
|
||||
|
||||
helmCharts:
|
||||
- releaseName: grafana
|
||||
|
19
infrastructure/prometheus/kustomization.yaml
Normal file
19
infrastructure/prometheus/kustomization.yaml
Normal file
@ -0,0 +1,19 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
namespace: monitoring
|
||||
|
||||
resources:
|
||||
- namespace.yaml
|
||||
# prometheus-operator crds
|
||||
- https://github.com/prometheus-operator/prometheus-operator/releases/download/v0.70.0/bundle.yaml
|
||||
- prometheus.yaml
|
||||
- thanos-objstore-config.sealedsecret.yaml
|
||||
# thanos deployment from kube-thanos project
|
||||
- thanos-store.statefulset.yaml
|
||||
- thanos-query.deployment.yaml
|
||||
|
||||
images:
|
||||
- name: thanos
|
||||
newName: quay.io/thanos/thanos
|
||||
newTag: v0.34.1
|
4
infrastructure/prometheus/namespace.yaml
Normal file
4
infrastructure/prometheus/namespace.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: placeholder
|
@ -20,6 +20,7 @@ resources:
|
||||
- traefik/
|
||||
- external-dns/
|
||||
- external-services/
|
||||
- prometheus/application.yaml
|
||||
|
||||
# simple apps
|
||||
- adguard/
|
||||
|
19
kluster-deployments/prometheus/application.yaml
Normal file
19
kluster-deployments/prometheus/application.yaml
Normal file
@ -0,0 +1,19 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: prometheus-application
|
||||
namespace: argocd
|
||||
|
||||
spec:
|
||||
project: infrastructure
|
||||
source:
|
||||
repoURL: git@github.com:moll-re/bootstrap-k3s-infra.git
|
||||
targetRevision: main
|
||||
path: infrastructure/prometheus
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: monitoring
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
Loading…
x
Reference in New Issue
Block a user