|
This is unreleased documentation for Network Enforcer 0.5-dev. |
Compatibility
Overview
Kubewarden Network Enforcer observes cluster traffic, proposes workload network policies, and enforces them in Kubernetes. It supports Istio ambient, Calico, and Cilium as providers.
Quick Reference
| Component | Requirement | Notes |
|---|---|---|
Provider |
|
Chart enum in |
Architecture |
x86_64, aarch64 |
Fully supported. |
Kubernetes |
1.31+ |
The chart sets |
cert-manager |
Required for every chart install |
Together with |
Linux distribution |
To be determined |
Provider Matrix
controller.provider.name is required and must be one of istio, cilium, calico. Defaults to istio.
| Provider | Minimum validated version | Transport and default endpoint | Policy backend |
|---|---|---|---|
Istio (ambient) |
1.30.3 |
The controller polls each agent pod over gRPC with mutual TLS. Default agent port: |
|
Calico |
v3.32.1 |
gRPC with mutual TLS to |
|
Cilium |
1.20.0 |
gRPC with mutual TLS to |
|
Istio ambient install flags
Set these values on the Istio Helm charts, not on the Network Enforcer chart:
-
ztunnel: setlogAsJson=trueso the agent can read the logs. Setenv.AUTHZ_POLICY_INFO_LOGGING=trueso ztunnel logs authorization decisions. -
istiod: useprofile=ambientand setpilot.env.AMBIENT_ENABLE_DRY_RUN_AUTHORIZATION_POLICY=truefor monitor mode.
For the equivalent istioctl command, see Install Istio ambient.
Provider TLS
Mutual TLS means both peers present a certificate. A hop is one connection between Network Enforcer and the provider. TLS mode says where the certificates for that hop come from.
The chart configures mutual TLS for Istio agents. For Cilium and Calico, use controller.provider.cilium.tls or controller.provider.calico.tls.
| Provider | Hop | Direction | Default mode | What you supply |
|---|---|---|---|---|
Istio |
Controller to each agent pod IP on port |
Controller is the client. Each agent is a server. |
Chart-managed mutual TLS |
Install cert-manager and its CSI driver. The chart uses its CA to issue a certificate per agent and a separate controller certificate. |
Calico |
Controller to Goldmane at |
Controller is the client. Goldmane is the server. Mutual TLS. |
|
Nothing in the release namespace. |
Cilium |
Controller to Hubble Relay at |
Controller is the client. Relay is the server. Mutual TLS. |
|
Nothing, when Secret |
For Calico and Cilium, the chart sets --provider-tls-mode and the matching --provider-tls-* flags on the controller.
A cross-namespace Secret also renders a Role and a RoleBinding in that namespace.
The Role allows get on that Secret, and on the CA ConfigMap when one is set.
Capability Matrix
| Provider | Learning | Monitor | Protect |
|---|---|---|---|
Istio (ambient) |
TCP, ingress only |
Yes |
Yes |
Calico |
TCP and UDP, ingress and egress |
Yes |
Yes |
Cilium |
TCP and UDP, ingress and egress |
Yes |
Yes |
Support
Hit a compatibility issue not covered here? Open an issue with your provider, versions, and cluster details.