docs(platform): mark the cozyplane variant experimental

Once merged the variant is one value away, and the values comment is
what an operator reads before choosing it, so it now says the variant
has no e2e coverage and is not for production. The threat model's note
also lists what the variant leaves unenforced beyond tenant isolation:
the platform components' own Cilium policies, several of them
ingressDeny rules that native NetworkPolicy cannot express.

Assisted-by: LLM
Signed-off-by: Timofei Larkin <lllamnyp@gmail.com>
This commit is contained in:
Timofei Larkin committed 2026-11-19 12:04:17 +01:00
1 parent 98c21690e6
commit d15fb0fc35
2 files changed
+8 -3

No files matched your search

+3 -1
View File
@@ -59,7 +59,9 @@ The actors below are decomposed **by trust boundary**, not by component: two com
| Tenant-to-tenant / tenant-to-platform traffic | Workload (T3) → workload (T3) / system | East-west packets | Cilium enforces policy at **both** endpoints, so a flow needs the source's egress *and* the destination's ingress to allow it. Every tenant pod's egress is confined to its own tenant subtree (namespaces labelled `tenant.cozystack.io/<tenant>`), platform system services (DNS, apiserver, ingress, dashboard, Keycloak, CDI), and `world` (out-of-cluster). Ingress is permissively open to `world` and `cluster`. | Cross-tenant pod-to-pod traffic is **denied** — an unrelated tenant has no egress path to another tenant's pod, even though that pod's ingress would accept it. Within a tenant subtree, parent→descendant traffic is allowed (descendants carry ancestor namespace labels); child→parent traffic is denied except for specific ancestor services (vminsert, etcd, ingress). See Non-goals for the ingress-side and LoadBalancer caveats. |
| Distribute platform config to tenants | Platform (T1) → tenant namespace (T2) | `cozystack-values` Secret (cluster/namespace host, OIDC toggles, gateway references) | Rendered by the platform charts and merged into every tenant HelmRelease as `valuesFrom`. | Tenants inherit platform config (host apex, etc.) but cannot forge it. |
> **`networkingVariant: cozyplane` (opt-in, draft):** the two Cilium-dependent rows above do not hold on this variant. CiliumNetworkPolicy objects apply but are not enforced, so tenant-to-tenant traffic on the default network is **not** denied until the variant's isolation is rebuilt on native NetworkPolicy; and `sdn.cozystack.io` is served by cozyplane's aggregated apiserver, not by `cozystack-api` — its SecurityGroup is a first-class tenant instrument policing traffic inside and across VPCs, not a projection onto CiliumNetworkPolicy.
> **`networkingVariant: cozyplane` (opt-in, experimental):** the two Cilium-dependent rows above do not hold on this variant. CiliumNetworkPolicy objects apply but are not enforced, so tenant-to-tenant traffic on the default network is **not** denied until the variant's isolation is rebuilt on native NetworkPolicy; and `sdn.cozystack.io` is served by cozyplane's aggregated apiserver, not by `cozystack-api` — its SecurityGroup is a first-class tenant instrument policing traffic inside and across VPCs, not a projection onto CiliumNetworkPolicy.
>
> The platform components' own Cilium policies lose their enforcement too: linstor's `restrict-drbd-reactor` and monitoring-agents' `restrict-node-exporter`, which keep the world off ports 9942 and 9100, the ingress-nginx admission-webhook policy, and keda's. Several are `ingressDeny` rules, which native NetworkPolicy has no equivalent for, so rebuilding isolation on native NetworkPolicy will not restore them; cozyplane's operator-only HostFirewall is the layer that can.
## Goals
+5 -2
View File
@@ -41,10 +41,13 @@ bundles:
# CNI/networking selector for the "isp-full" (Talos) variant:
# "kubeovn-cilium" — KubeOVN fabric + Cilium (default)
# "cozyplane" — cozyplane eBPF CNI + cozyplane-kpr socket-LB KPR
# (no Cilium, no kube-proxy)
# (no Cilium, no kube-proxy). EXPERIMENTAL: no e2e
# coverage, not for production clusters.
# On "cozyplane", CiliumNetworkPolicy objects apply but are NOT ENFORCED
# (the CRDs ship inert so stock charts install): tenant network isolation
# on the default network and the Cilium host firewall are not in effect.
# on the default network, the Cilium host firewall, and the platform
# components' own Cilium policies (ingressDeny rules included) are not in
# effect.
# cozystack-api's SecurityGroup — a restricted interface over
# CiliumNetworkPolicy — is not served either; cozyplane's own SecurityGroup
# polices traffic inside and across VPCs instead.