Skip to content

Commit 54c3a11

Browse files
committed
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.
1 parent dc396b6 commit 54c3a11

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

charts/kvm-node-agent/templates/daemonset.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ spec:
7979
name: pki-libvirt
8080
- mountPath: /pki/qemu
8181
name: pki-qemu
82+
hostNetwork: true
8283
initContainers:
8384
- command:
8485
- sh

config/manager/manager.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ spec:
5252
# operator: In
5353
# values:
5454
# - linux
55+
hostNetwork: true
5556
securityContext:
5657
# runAsNonRoot: true
5758
supplementalGroups:

0 commit comments

Comments
 (0)