From 9f01166f989cb50083a240280bd8f0857ba63ebc Mon Sep 17 00:00:00 2001 From: sHa Date: Sun, 18 Oct 2026 20:45:20 +0300 Subject: [PATCH] probara-worker: optional hostNetwork (1.0.2) Co-Authored-By: Claude Sonnet 5.5 --- probara-worker/Chart.yaml | 2 +- probara-worker/templates/deployment.yaml | 4 ++++ probara-worker/values.yaml | 4 ++++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/probara-worker/Chart.yaml b/probara-worker/Chart.yaml index 709671e..476df0f 100644 --- a/probara-worker/Chart.yaml +++ b/probara-worker/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: probara-worker description: Probara check worker for a remote location (connects to the platform over NATS only) type: application -version: 1.0.1 +version: 1.0.2 appVersion: "1.0.0" annotations: version-source: github-release:yassinebenameur/probara diff --git a/probara-worker/templates/deployment.yaml b/probara-worker/templates/deployment.yaml index d281a0b..0c297ba 100644 --- a/probara-worker/templates/deployment.yaml +++ b/probara-worker/templates/deployment.yaml @@ -20,6 +20,10 @@ spec: labels: app: {{ .Release.Name }} spec: + {{- if .Values.hostNetwork }} + hostNetwork: true + dnsPolicy: ClusterFirstWithHostNet + {{- end }} securityContext: fsGroup: 1000 runAsNonRoot: true diff --git a/probara-worker/values.yaml b/probara-worker/values.yaml index 7a030e9..53c7a33 100644 --- a/probara-worker/values.yaml +++ b/probara-worker/values.yaml @@ -9,6 +9,10 @@ image: pullSecrets: [] replicas: 1 + +# Run in the node network namespace, to check hosts that pods cannot reach. +# Set httpPort and metricsPort to ports that are free on the node. +hostNetwork: false concurrency: "10" logLevel: info