From 221b9a1370f9a4a6d5501641c3c0100db4910fc0 Mon Sep 17 00:00:00 2001 From: SeanOMik Date: Thu, 4 May 2023 14:35:54 -0400 Subject: [PATCH] media doesn't need a network policy --- cluster/apps/download/kustomization.yaml | 2 +- .../download/sonarr/sonarr-exportarr-metrics.yaml | 12 +++++------- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/cluster/apps/download/kustomization.yaml b/cluster/apps/download/kustomization.yaml index b394d14..e0fdb21 100644 --- a/cluster/apps/download/kustomization.yaml +++ b/cluster/apps/download/kustomization.yaml @@ -2,7 +2,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: - ./namespace.yaml -- ./network_policy.yaml +#- ./network_policy.yaml - ./qbittorrent - ./radarr - ./sonarr diff --git a/cluster/apps/download/sonarr/sonarr-exportarr-metrics.yaml b/cluster/apps/download/sonarr/sonarr-exportarr-metrics.yaml index bbf9a6c..53f5652 100644 --- a/cluster/apps/download/sonarr/sonarr-exportarr-metrics.yaml +++ b/cluster/apps/download/sonarr/sonarr-exportarr-metrics.yaml @@ -6,13 +6,11 @@ metadata: labels: release: kube-prometheus-stack spec: - endpoints: - - interval: 30s - targetPort: 9000 - path: /metrics - namespaceSelector: - matchNames: - - download selector: matchLabels: app: sonarr-service + endpoints: + - port: metrics + interval: 3m + scrapeTimeout: 1m + path: /metrics \ No newline at end of file