break(monitoring): remove prometheus-stack and loki
This commit is contained in:
parent
6c02d3e445
commit
9b45d13ba1
5 changed files with 0 additions and 1566 deletions
|
@ -5,7 +5,6 @@
|
|||
* [cert-manager](https://cert-manager.io/)
|
||||
* selfsigned issuer
|
||||
* LetsEncrypt issuers (Prod and Staging)
|
||||
* [prometheus and grafana](https://github.com/prometheus-community/helm-charts/tree/main/charts/kube-prometheus-stack)
|
||||
* [zabbix-proxy](https://git.zabbix.com/projects/ZT/repos/kubernetes-helm/browse?at=refs%2Fheads%2Frelease%2F6.4)
|
||||
* [loki](https://grafana.com/docs/loki/latest/)
|
||||
* [keel](https://keel.sh)
|
||||
|
|
|
@ -19,12 +19,6 @@ app + {
|
|||
pullPolicy: Always
|
||||
service:
|
||||
externalTrafficPolicy: Local
|
||||
metrics:
|
||||
enabled: true
|
||||
serviceMonitor:
|
||||
enabled: true
|
||||
additionalLabels:
|
||||
release: prometheus-grafana # same as prometheus-community chart name
|
||||
|||
|
||||
}
|
||||
]
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,39 +0,0 @@
|
|||
local app = import "../../_templates/argocd_app.libsonnet";
|
||||
|
||||
[
|
||||
app + {
|
||||
name:: "loki",
|
||||
namespace:: "metrics",
|
||||
chart:: "loki-stack",
|
||||
repo:: "https://grafana.github.io/helm-charts",
|
||||
version:: "2.9.*",
|
||||
syncOptions:: ["CreateNamespace=true", "Force=true"],
|
||||
values:: |||
|
||||
loki:
|
||||
isDefault: false
|
||||
promtail:
|
||||
extraScrapeConfigs:
|
||||
- job_name: journal
|
||||
journal:
|
||||
path: /var/log/journal
|
||||
max_age: 12h
|
||||
labels:
|
||||
job: systemd-journal
|
||||
relabel_configs:
|
||||
- source_labels:
|
||||
- '__journal__systemd_unit'
|
||||
target_label: 'unit'
|
||||
- source_labels:
|
||||
- '__journal__hostname'
|
||||
target_label: 'hostname'
|
||||
extraVolumes:
|
||||
- name: journal
|
||||
hostPath:
|
||||
path: /var/log/journal
|
||||
extraVolumeMounts:
|
||||
- name: journal
|
||||
mountPath: /var/log/journal
|
||||
readOnly: true
|
||||
|||
|
||||
}
|
||||
]
|
|
@ -1,47 +0,0 @@
|
|||
# see https://blog.ediri.io/kube-prometheus-stack-and-argocd-23-how-to-remove-a-workaround
|
||||
local app = import "../../_templates/argocd_app.libsonnet";
|
||||
|
||||
local vars = {
|
||||
"version": "55.3.1",
|
||||
"namespace": "metrics"
|
||||
};
|
||||
|
||||
[
|
||||
app + {
|
||||
name:: "prometheus-crds",
|
||||
namespace:: vars.namespace,
|
||||
path:: "charts/kube-prometheus-stack/charts/crds/crds",
|
||||
repo:: "https://github.com/prometheus-community/helm-charts.git",
|
||||
version:: "kube-prometheus-stack-" + vars.version,
|
||||
syncOptions:: ["CreateNamespace=true", "Replace=true"],
|
||||
sync_wave:: -1,
|
||||
},
|
||||
app + {
|
||||
name:: "prometheus-grafana",
|
||||
namespace: vars.namespace,
|
||||
chart:: "kube-prometheus-stack",
|
||||
repo:: "https://prometheus-community.github.io/helm-charts",
|
||||
version:: vars.version,
|
||||
skipCrds:: true,
|
||||
values:: |||
|
||||
fullnameOverride: prometheus-stack
|
||||
kubeProxy:
|
||||
enabled: false
|
||||
kubeScheduler:
|
||||
enabled: false
|
||||
kubeControllerManager:
|
||||
enabled: false
|
||||
alertmanager:
|
||||
enabled: false
|
||||
prometheus:
|
||||
prometheusSpec:
|
||||
storageSpec:
|
||||
volumeClaimTemplate:
|
||||
spec:
|
||||
accessModes: ["ReadWriteOnce"]
|
||||
resources:
|
||||
requests:
|
||||
storage: 10Gi
|
||||
|||
|
||||
}
|
||||
]
|
Loading…
Reference in a new issue