Repository navigation
fix(networking): isolate tenant workloads across managed game namespaces - #894
Conversation
…namespaces Signed-off-by: Baylem <zelathis@gmail.com>
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 59 minutes. View limit details
Pre-merge checks:
|
Signed-off-by: Baylem <zelathis@gmail.com>
CI Report - e086e43run 43208169279 - attempt 1 0 failed - 32 passed - 1 skipped - 137m24s elapsed Test selection: full (selection-rule change) - per-suite table Coverage
Changed
Slowest jobs
e2e buckets run
|
…rking Signed-off-by: Baylem <zelathis@gmail.com>
Signed-off-by: Baylem <zelathis@gmail.com>
…t isolation Signed-off-by: Baylem <zelathis@gmail.com>
Signed-off-by: Baylem <zelathis@gmail.com>
…ion upgrade Signed-off-by: Baylem <zelathis@gmail.com>
Signed-off-by: Baylem <zelathis@gmail.com>
|
Hey, could you please add changelog entry? |
Signed-off-by: Baylem <zelathis@gmail.com>
Signed-off-by: Baylem <zelathis@gmail.com>
Signed-off-by: Baylem <zelathis@gmail.com>
|
Added the requested unreleased changelog entry. CI passed on e4059158. The diff through 2560c240 changes only the changelog entry and its index link. I canceled the repeat CI run because this update changes only Markdown. |
Signed-off-by: Baylem <zelathis@gmail.com>
Signed-off-by: Baylem <zelathis@gmail.com>
…n baseline Signed-off-by: Baylem <zelathis@gmail.com>
Signed-off-by: Baylem <zelathis@gmail.com>
Closes #869. Closes #885. Part of #867.
Merge order. The namespace admission and credential boundary from #886 and the pod-local probes from #889 are on
master. Commite086e430includesmasterat0988999b. This PR targetsmasterdirectly and changes 25 files. #908 builds on it. CI on the current networking revisionPolicy changes. The opt-in
networkPolicies.tenantIsolationprofile installs network policies in every managed game namespace. It requires explicit API and kubelet host CIDRs and repository ports, scopes DNS and backup egress, and confines a tunnel to its own game or wake listener. Provider-specific egress remains a separate administrator grant. The security and monitoring guides show the per-game and legacy kubelet rules and the separate Prometheus scrape policy.Acceptance tests. The Cilium CI bucket runs two games in one namespace and uses a second tenant with a matching game name. It exercises Pod IP and Service paths, direct external NodePort player traffic, an authenticated frp route, a Restic backup to an external test repository, fresh agent heartbeats and live metrics. Reachable controls verify that denials of private HTTPS, a simulated link-local metadata endpoint and peer administration ports have meaning. The same fixture checks Restricted Pod Security Admission and per-server and fallback probe behavior.
The stacked Linux operator and E2E sources compiled locally. Helm rendered the two-tenant profile, and the fixture scripts passed syntax checks. The Cilium job supplies the live acceptance result.
Enforcing-CNI qualification on
e40591583a57f2ea945161fed134557e28c7ff73The AMD64 Kind/Cilium test passed in 283.91 seconds. Two games in one namespace and a same-name game in another exercised Pod IP and Service NAT paths under Restricted Pod Security Admission. Authorized external NodePort players, an authenticated FRP tunnel, game-local sentinel traffic, agent heartbeats, monitoring and a Restic repository write succeeded. The tenant probes denied cross-game administration, cross-tenant relay access, private HTTPS and the simulated link-local metadata endpoint after their positive controls succeeded. The live profile admitted kubelet TCP 25566 for one game and TCP 25575 for the other. Named startup and numeric readiness references resolved to the same allowed socket for each game. The separate monitoring rule admitted the scrape. Switching to the documented fallback removed the per-game policies and produced the explicit shared two-port grant. Cilium on the network PR · Independent Cilium run on the dependent observability PR