:_mod-docs-content-type: ASSEMBLY
[id="microshift-creating-network-policy"]
= Creating network policies
include::_attributes/attributes-microshift.adoc[]
include::_attributes/common-attributes.adoc[]
:context: microshift-creating-network-policy

toc::[]

[role="_abstract"]
You can create a network policy for a namespace.

include::modules/nw-networkpolicy-object.adoc[leveloffset=+1]

include::modules/nw-networkpolicy-create-cli.adoc[leveloffset=+1]

include::modules/nw-networkpolicy-deny-all-allowed.adoc[leveloffset=+1]

include::modules/nw-networkpolicy-allow-external-clients.adoc[leveloffset=+1]

include::modules/nw-networkpolicy-allow-application-all-namespaces.adoc[leveloffset=+1]

include::modules/nw-networkpolicy-allow-application-particular-namespace.adoc[leveloffset=+1]
