diff --git a/kubernetes/raspberry/observability/kube-prometheus-stack/app/helmrelease.yaml b/kubernetes/raspberry/observability/kube-prometheus-stack/app/helmrelease.yaml index 71339f684..34fa5504a 100644 --- a/kubernetes/raspberry/observability/kube-prometheus-stack/app/helmrelease.yaml +++ b/kubernetes/raspberry/observability/kube-prometheus-stack/app/helmrelease.yaml @@ -27,8 +27,6 @@ spec: strategy: rollback retries: 3 values: - crds: - enabled: true alertmanager: ingress: enabled: true @@ -85,8 +83,6 @@ spec: - new-service-discovery-manager - remote-write-receiver enableRemoteWriteReceiver: true - externalLabels: - cluster: "raspberry" retention: 30d retentionSize: 64GiB nodeSelector: @@ -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} @@ -127,6 +109,11 @@ spec: tls: - hosts: - *host + sidecar: + dashboards: + multicluster: + global: + enabled: true persistence: enabled: true storageClassName: longhorn diff --git a/kubernetes/turing/observability/kube-prometheus-stack/app/helmrelease.yaml b/kubernetes/turing/observability/kube-prometheus-stack/app/helmrelease.yaml index de97ec2af..67a933d02 100644 --- a/kubernetes/turing/observability/kube-prometheus-stack/app/helmrelease.yaml +++ b/kubernetes/turing/observability/kube-prometheus-stack/app/helmrelease.yaml @@ -6,7 +6,7 @@ metadata: name: &app prometheus-agent namespace: &namespace observability spec: - interval: 30m + interval: 1h timeout: 15m chart: spec: @@ -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'