This commit is contained in:
Haitao Pan 2023-12-22 22:52:13 +08:00
parent 834eebc2e5
commit 5f8269538e
4 changed files with 7 additions and 5 deletions

View File

@ -1,7 +1,7 @@
apiVersion: helm.toolkit.fluxcd.io/v2beta2
kind: HelmRelease
metadata:
name: kube-prometheus-stack
name: prometheus-agent
spec:
interval: 1h
chart:
@ -29,8 +29,10 @@ spec:
valuesKey: kube-state-metrics-config.yaml
# https://github.com/prometheus-community/helm-charts/blob/main/charts/kube-prometheus-stack/values.yaml
values:
global:
imageRegistry: "artifact.onwalk.net/base"
prometheus:
agentMode: false
agentMode: true
prometheusSpec:
remoteWrite:
- name: remote_prometheus

View File

@ -4,7 +4,7 @@ resources:
- namespace.yaml
- ../../apps/monitor/observability-agent/
- ../../apps/monitor/kube-prometheus-stack/
# - podmonitor.yaml
- podmonitor.yaml
# - ../../apps/c-demo/
# - ../../apps/js-demo/
# - ../../apps/python-demo/

View File

@ -4,7 +4,7 @@ resources:
- namespace.yaml
- ../../apps/monitor/observability-agent/
- ../../apps/monitor/kube-prometheus-stack/
# - podmonitor.yaml
- podmonitor.yaml
# - ../../apps/c-demo/
# - ../../apps/js-demo/
# - ../../apps/python-demo/

View File

@ -4,7 +4,7 @@ resources:
- namespace.yaml
- ../../apps/monitor/observability-agent/
- ../../apps/monitor/kube-prometheus-stack/
# - podmonitor.yaml
- podmonitor.yaml
# - ../../apps/c-demo/
# - ../../apps/js-demo/
# - ../../apps/python-demo/