github.com/cilium/cilium@v1.16.2/Documentation/security/policy/index.rst (about) 1 .. only:: not (epub or latex or html) 2 3 WARNING: You are looking at unreleased Cilium documentation. 4 Please use the official rendered version released here: 5 https://docs.cilium.io 6 7 .. _network_policy: 8 .. _Network Policies: 9 .. _Network Policy: 10 11 Overview of Network Policy 12 -------------------------- 13 14 This page documents the policy language used to configure network policies 15 in Cilium. Security policies can be specified and imported via the following 16 mechanisms: 17 18 * Using Kubernetes `NetworkPolicy`, `CiliumNetworkPolicy` and `CiliumClusterwideNetworkPolicy` 19 resources. See the section :ref:`k8s_policy` for more details. In this mode, 20 Kubernetes will automatically distribute the policies to all agents. 21 22 * Directly imported into the agent via CLI or :ref:`api_ref` of the agent. This 23 method does not automatically distribute policies to all agents. It is in the 24 responsibility of the user to import the policy in all required agents. 25 26 .. toctree:: 27 :maxdepth: 2 28 :glob: 29 30 intro 31 language 32 kubernetes 33 lifecycle 34 troubleshooting 35 caveats