Skip to content

Commit e2bdb94

Browse files
authored
Update k8s-best-practices-cnf-security.adoc
1 parent b192628 commit e2bdb94

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

modules/k8s-best-practices-cnf-security.adoc

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,3 +74,18 @@ See test cases link:https://github.com/test-network-function/cnf-certification-t
7474
7575
**Impacts and Risks of Non-Compliance:** Modified base images can introduce security vulnerabilities, create inconsistent behavior, and violate immutable infrastructure principles.
7676
====
77+
78+
[id="k8s-best-practices-avoid-the-host-network-namespace"]
79+
= Avoid the host network namespace
80+
81+
Application pods must avoid using `hostNetwork`. Applications may not use the host network, including `nodePort` for network communication. Any networking needs beyond the functions provided by the pod network and ingress/egress proxy must be serviced via a MULTUS connected interface.
82+
83+
.Workload requirement
84+
[IMPORTANT]
85+
====
86+
Applications may not use `NodePorts` or the `hostNetwork`.
87+
88+
See test case link:https://github.com/test-network-function/cnf-certification-test/blob/main/CATALOG.md#access-control-service-type[access-control-service-type]
89+
90+
**Impacts and Risks of Non-Compliance:** NodePort services expose applications directly on host ports, creating security risks and potential port conflicts with host services.
91+
====

0 commit comments

Comments
 (0)