Skip to content

Commit 213f3cd

Browse files
tolushagtrivedi88
andauthored
chore: Add network policy section (#2984)
* chore: Add network policy section Signed-off-by: Anatolii Bazko <[email protected]> * Update modules/administration-guide/pages/security-best-practices.adoc Co-authored-by: Gaurav Trivedi <[email protected]> * Update modules/administration-guide/pages/security-best-practices.adoc Co-authored-by: Gaurav Trivedi <[email protected]> * Update modules/administration-guide/pages/security-best-practices.adoc Co-authored-by: Gaurav Trivedi <[email protected]> * Update modules/administration-guide/pages/security-best-practices.adoc Co-authored-by: Gaurav Trivedi <[email protected]> * Update modules/administration-guide/pages/security-best-practices.adoc Co-authored-by: Gaurav Trivedi <[email protected]> --------- Signed-off-by: Anatolii Bazko <[email protected]> Co-authored-by: Gaurav Trivedi <[email protected]>
1 parent 5a048a9 commit 213f3cd

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

modules/administration-guide/pages/security-best-practices.adoc

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,24 @@ By combining Resource Quotas and Limit Ranges,
221221
you can enforce project-specific policies to prevent bad actors from consuming excessive resources.
222222

223223
These mechanisms contribute to better resource management, stability, and fairness within an OpenShift cluster.
224-
More details about link:https://docs.openshift.com/container-platform/4.14/applications/quotas/quotas-setting-per-project.html[Resource Quotas] and link:https://docs.openshift.com/container-platform/4.14/nodes/clusters/nodes-cluster-limit-ranges.html[Limit Ranges] are available in the OpenShift documentation.
224+
More details about link:https://docs.openshift.com/container-platform/4.14/applications/quotas/quotas-setting-per-project.html[Resource quotas] and link:https://docs.openshift.com/container-platform/4.14/nodes/clusters/nodes-cluster-limit-ranges.html[Limit ranges] are available in the OpenShift documentation.
225+
226+
.Network policies
227+
228+
Network policies provide an additional layer of security by controlling network traffic between
229+
pods in a {kubernetes} cluster. By default, every pod can communicate with every other pod and service on the cluster,
230+
see link:https://docs.redhat.com/en/documentation/openshift_container_platform/{ocp4-ver}/html/networking_overview/index#about-openshift-sdn[OpenShift networking overview].
231+
232+
Implementing network policies allows you to:
233+
234+
* Control ingress and egress traffic to and from workspace pods
235+
* Limit the attack surface by denying unauthorized network access
236+
237+
When configuring network policies for {prod},
238+
ensure that pods in the {prod-short} namespace can still communicate with pods in user namespaces,
239+
as this is required for proper functionality.
240+
241+
For detailed instructions on implementing network policies with {prod}, see xref:configuring-network-policies.adoc[].
225242

226243
.Disconnected environment
227244

0 commit comments

Comments
 (0)