feat: add hostNetwork support for the Konnectivity Agent (#883)

This commit extends CRD API: Added hostNetwork field to KonnectivityAgentSpec struct.
It's false by default so it's backwards compatible.

Signed-off-by: Dario Tranchitella <dario@tranchitella.eu>
This commit is contained in:
Mateusz Kwiatkowski
2025-07-30 22:31:38 +02:00
committed by GitHub
parent c04d8ddc85
commit f52fe45c46
5 changed files with 63 additions and 0 deletions

View File

@@ -108,6 +108,14 @@ spec:
items:
type: string
type: array
hostNetwork:
default: false
description: |-
HostNetwork enables the konnectivity agent to use the Host network namespace.
By enabling this mode, the Agent doesn't need to wait for the CNI initialisation,
enabling a sort of out-of-band access to nodes for troubleshooting scenarios,
or when the agent needs direct access to the host network.
type: boolean
image:
default: registry.k8s.io/kas-network-proxy/proxy-agent
description: AgentImage defines the container image for Konnectivity's agent.