From 90d02dcc1ac23e33535024fb4633193125cc3f1f Mon Sep 17 00:00:00 2001 From: EarthlingDavey <15802017+EarthlingDavey@users.noreply.github.com> Date: Wed, 14 Aug 2024 16:19:24 +0100 Subject: [PATCH] Remove pod monitor and network policy (#671) * Delete network-policy.yml * Delete pod-monitor.yml --- deploy/development/network-policy.yml | 16 ---------------- deploy/development/pod-monitor.yml | 13 ------------- 2 files changed, 29 deletions(-) delete mode 100644 deploy/development/network-policy.yml delete mode 100644 deploy/development/pod-monitor.yml diff --git a/deploy/development/network-policy.yml b/deploy/development/network-policy.yml deleted file mode 100644 index a5b6200f9..000000000 --- a/deploy/development/network-policy.yml +++ /dev/null @@ -1,16 +0,0 @@ -kind: NetworkPolicy -apiVersion: networking.k8s.io/v1 -metadata: - name: allow-prometheus-scraping - namespace: intranet-dev -spec: - podSelector: - matchLabels: - app: intranet-dev - policyTypes: - - Ingress - ingress: - - from: - - namespaceSelector: - matchLabels: - component: monitoring \ No newline at end of file diff --git a/deploy/development/pod-monitor.yml b/deploy/development/pod-monitor.yml deleted file mode 100644 index b7e965fc4..000000000 --- a/deploy/development/pod-monitor.yml +++ /dev/null @@ -1,13 +0,0 @@ -apiVersion: monitoring.coreos.com/v1 -kind: PodMonitor -metadata: - name: intranet-dev - namespace: intranet-dev -spec: - selector: - matchLabels: - app: intranet-dev - podMetricsEndpoints: - - port: nginx-port - path: "/status?openmetrics" - interval: 15s \ No newline at end of file