Skip to main content

Can you support namespace-level network isolation?

Syself support For release

Yes. Namespace network isolation with Cilium works on every Syself Autopilot cluster: you put a default-deny policy in the namespace and allow only the traffic it needs.

Cilium provides the pod network on every cluster. It enforces the standard Kubernetes NetworkPolicy and its own CiliumNetworkPolicy and CiliumClusterwideNetworkPolicy. On a new cluster, pods reach each other across all namespaces. Syself Autopilot protects the nodes with a host firewall. Which of your services talk to each other is your decision, so you write the pod policies.

Start small:

  1. Add one policy per namespace that blocks traffic from other namespaces. This rarely breaks anything.
  2. For sensitive namespaces, move to full default-deny for ingress and egress. Then allow DNS and each connection the workloads need.

Policies work on Layer 3 and Layer 4: workload identity, IP ranges, ports and protocols. Layer 7 rules (HTTP-aware) and DNS-based rules (toFQDNs) are rejected when you apply them, so you name external destinations by IP range. If you have a use case that needs these rules, reach out to us at support@syself.com⁠.

You find the manifests for each step in Segment with network policies. If several tenants share one cluster, network policies are only one part, so also read Multi-tenant isolation for agencies.

Still stuck?

Prepare your case, then email us.