Skip to content

Commit

Permalink
fix(prom): update prom-agent config
Browse files Browse the repository at this point in the history
  • Loading branch information
willianpaixao committed Nov 19, 2024
1 parent 7abc587 commit 1671e35
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 32 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ spec:
strategy: rollback
retries: 3
values:
crds:
enabled: true
alertmanager:
ingress:
enabled: true
Expand Down Expand Up @@ -85,8 +83,6 @@ spec:
- new-service-discovery-manager
- remote-write-receiver
enableRemoteWriteReceiver: true
externalLabels:
cluster: "raspberry"
retention: 30d
retentionSize: 64GiB
nodeSelector:
Expand All @@ -98,20 +94,6 @@ spec:
resources:
requests:
storage: 64Gi
nodeExporter:
enabled: true
prometheus-node-exporter:
fullnameOverride: node-exporter
prometheus:
monitor:
enabled: true
kubeStateMetrics:
enabled: true
kube-state-metrics:
fullnameOverride: kube-state-metrics
prometheus:
monitor:
enabled: true
grafana:
enabled: true
defaultDashboardsTimezone: ${TIMEZONE}
Expand All @@ -127,6 +109,11 @@ spec:
tls:
- hosts:
- *host
sidecar:
dashboards:
multicluster:
global:
enabled: true
persistence:
enabled: true
storageClassName: longhorn
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
name: &app prometheus-agent
namespace: &namespace observability
spec:
interval: 30m
interval: 1h
timeout: 15m
chart:
spec:
Expand All @@ -17,32 +17,24 @@ spec:
name: prometheus-community-charts
namespace: flux-system
install:
crds: Create
remediation:
retries: 3
upgrade:
crds: CreateReplace
cleanupOnFail: true
remediation:
strategy: rollback
retries: 3
values:
fullnameOverride: *app
alertmanager:
enabled: false
grafana:
enabled: false
kubeApiServer:
enabled: false
kubeEtcd:
enabled: false
kubeScheduler:
enabled: false
kubeProxy:
enabled: false
prometheus:
agentMode: true
prometheusSpec:
externalLabels:
cluster: "turing"
scrapeInterval: 30s
podMonitorSelectorNilUsesHelmValues: false
scrapeConfigSelectorNilUsesHelmValues: false
serviceMonitorSelectorNilUsesHelmValues: false
remoteWrite:
- url: 'http://192.168.0.35:9090/api/v1/write'

0 comments on commit 1671e35

Please sign in to comment.