From 278be05121c9074e04d80955d7aa1309afee3f78 Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Sat, 6 Jan 2024 14:13:00 -0600 Subject: [PATCH] v-m/blackbox: Switch to upstream container image I found the official container image for Prometheus Blackbox exporter. It is hosted on Quay, which is why I didn't see it on Docker Hub when I looked initially. --- victoria-metrics/blackbox-exporter.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/victoria-metrics/blackbox-exporter.yaml b/victoria-metrics/blackbox-exporter.yaml index 3568cea..61877a7 100644 --- a/victoria-metrics/blackbox-exporter.yaml +++ b/victoria-metrics/blackbox-exporter.yaml @@ -34,7 +34,7 @@ spec: spec: containers: - name: blackbox-exporter - image: docker.io/bitnami/blackbox-exporter:0.24.0 + image: quay.io/prometheus/blackbox-exporter:v0.24.0 args: - --config.file=/etc/blackbox-exporter/blackbox.yml ports: @@ -52,7 +52,6 @@ spec: failureThreshold: 30 timeoutSeconds: 1 securityContext: - runAsNonRoot: true readOnlyRootFilesystem: true volumeMounts: - mountPath: /etc/blackbox-exporter @@ -63,6 +62,8 @@ spec: subPath: tmp securityContext: runAsNonRoot: true + runAsUser: 1422 + runAsGroup: 1422 sysctls: - name: net.ipv4.ping_group_range value: 0 65536