From dc2868a9b1fc9d06178cbd66899a5ceb621d65df Mon Sep 17 00:00:00 2001 From: Aldo Lacuku Date: Wed, 17 Jul 2024 15:54:57 +0200 Subject: [PATCH 1/2] cleanup(prow): remove pushgateway component Since all prow components expose their metrics on their own the component is not needed anymore. Signed-off-by: Aldo Lacuku --- config/prow/pushgateway.yaml | 49 ------------------------------------ 1 file changed, 49 deletions(-) delete mode 100644 config/prow/pushgateway.yaml diff --git a/config/prow/pushgateway.yaml b/config/prow/pushgateway.yaml deleted file mode 100644 index c40732e32ab..00000000000 --- a/config/prow/pushgateway.yaml +++ /dev/null @@ -1,49 +0,0 @@ ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - namespace: default - name: pushgateway - labels: - app: pushgateway -spec: - replicas: 1 - selector: - matchLabels: - app: pushgateway - template: - metadata: - labels: - app: pushgateway - spec: - containers: - - name: pushgateway - image: prom/pushgateway:v0.4.0 - ports: - - name: http - containerPort: 9091 - resources: - limits: - cpu: 100m - memory: 256M - requests: - cpu: 100m - memory: 256M - nodeSelector: - Archtype: "x86" ---- -apiVersion: v1 -kind: Service -metadata: - namespace: default - name: pushgateway - labels: - app: pushgateway -spec: - ports: - - name: pushgateway - port: 80 - targetPort: http - type: NodePort - selector: - app: pushgateway From 93bc91e4d803659d078133887fa1d13ae7057bba Mon Sep 17 00:00:00 2001 From: Aldo Lacuku Date: Wed, 17 Jul 2024 15:55:48 +0200 Subject: [PATCH 2/2] update(prow/ghproxy): remove pushgatewry flag Signed-off-by: Aldo Lacuku --- config/prow/ghproxy.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/config/prow/ghproxy.yaml b/config/prow/ghproxy.yaml index d4b690d54ea..47f903f69e4 100644 --- a/config/prow/ghproxy.yaml +++ b/config/prow/ghproxy.yaml @@ -65,7 +65,6 @@ spec: args: - --cache-dir=/cache - --cache-sizeGB=99 - - --push-gateway=pushgateway - --serve-metrics=true ports: - name: main