From 5a0969a4cf042100dc76b990e3c84c6b9209786e Mon Sep 17 00:00:00 2001 From: William P Date: Tue, 13 May 2025 14:24:53 -0400 Subject: [PATCH] Revert "monitoring: change node-exporter port to 9101 to avoid conflict" This reverts commit af72b565816c9e6ffc9d2d4566b145a4ea55992f. --- .../node-exporter/nodeExporter-daemonset.yaml | 10 +++++----- .../monitoring/node-exporter/nodeExporter-service.yaml | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/system-apps/monitoring/node-exporter/nodeExporter-daemonset.yaml b/system-apps/monitoring/node-exporter/nodeExporter-daemonset.yaml index 6150443..e4be35b 100644 --- a/system-apps/monitoring/node-exporter/nodeExporter-daemonset.yaml +++ b/system-apps/monitoring/node-exporter/nodeExporter-daemonset.yaml @@ -27,7 +27,7 @@ spec: automountServiceAccountToken: true containers: - args: - - --web.listen-address=127.0.0.1:9101 + - --web.listen-address=127.0.0.1:9100 - --path.sysfs=/host/sys - --path.rootfs=/host/root - --path.udev.data=/host/root/run/udev/data @@ -64,9 +64,9 @@ spec: name: root readOnly: true - args: - - --secure-listen-address=[$(IP)]:9101 + - --secure-listen-address=[$(IP)]:9100 - --tls-cipher-suites=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305,TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305 - - --upstream=http://127.0.0.1:9101/ + - --upstream=http://127.0.0.1:9100/ env: - name: IP valueFrom: @@ -75,8 +75,8 @@ spec: image: quay.io/brancz/kube-rbac-proxy:v0.19.1 name: kube-rbac-proxy ports: - - containerPort: 9101 - hostPort: 9101 + - containerPort: 9100 + hostPort: 9100 name: https resources: limits: diff --git a/system-apps/monitoring/node-exporter/nodeExporter-service.yaml b/system-apps/monitoring/node-exporter/nodeExporter-service.yaml index ee70cd0..3da2699 100644 --- a/system-apps/monitoring/node-exporter/nodeExporter-service.yaml +++ b/system-apps/monitoring/node-exporter/nodeExporter-service.yaml @@ -11,7 +11,7 @@ metadata: spec: ports: - name: https - port: 9101 + port: 9100 targetPort: https selector: app.kubernetes.io/component: exporter