From 54c3a11651bec70f3cd9f90dae82db391e745704 Mon Sep 17 00:00:00 2001 From: Fabian Wiesel Date: Fri, 9 May 2025 10:50:55 +0200 Subject: [PATCH] Run manager in host-network mode We do not need pod to pod communication, so setting the pod into hostNetwork mode makes it work even when CNI is not working. That matches the behaviour of the agents. --- charts/kvm-node-agent/templates/daemonset.yaml | 1 + config/manager/manager.yaml | 1 + 2 files changed, 2 insertions(+) diff --git a/charts/kvm-node-agent/templates/daemonset.yaml b/charts/kvm-node-agent/templates/daemonset.yaml index 1dd1330..68b0544 100644 --- a/charts/kvm-node-agent/templates/daemonset.yaml +++ b/charts/kvm-node-agent/templates/daemonset.yaml @@ -79,6 +79,7 @@ spec: name: pki-libvirt - mountPath: /pki/qemu name: pki-qemu + hostNetwork: true initContainers: - command: - sh diff --git a/config/manager/manager.yaml b/config/manager/manager.yaml index 7180f39..828ad6d 100644 --- a/config/manager/manager.yaml +++ b/config/manager/manager.yaml @@ -52,6 +52,7 @@ spec: # operator: In # values: # - linux + hostNetwork: true securityContext: # runAsNonRoot: true supplementalGroups: