KOP Network Policy Manager - Cluster-Wide Policies - Rafay Product Documentation

Cluster-Wide Network Policies

Overview

For any pods/workloads that existed pre-deployment of Cilium/Network Policy Manager onto the cluster, those pods/workloads must be RESTARTED in order for policies to take effect. New pods/workloads do NOT need to be restarted.

Org Admin or Infra Admin role is required to create and use cluster-wide network policies.

A cluster-wide network policy is a bundle of network security rules that can be applied to one or more clusters via blueprints. They streamline the application of a standard default posture by allowing the admin to apply a single policy which applies to pods in all namespaces, regardless of the policies that exist in individual namespaces.

Workflow

The typical workflow for using cluster-wide policies is the following:

Step 1: Create Cluster-Wide Policy Rules
Step 2: Create Cluster-Wide Policies
Step 3: Add the Cluster-Wide Policies To a Custom or Golden Blueprint

Use Cases

As an admin, you would want to use cluster-wide policies for the following use cases:


Managing Cluster-Wide Policies

Creating a Cluster-Wide Policy

In order to create a cluster-wide policy, you must add cluster-scoped network policy rules to it. Refer here for instructions to create Network Policy rules.

Rules can be added to or removed from a policy using the same workflow. A new version needs to be created every time a policy is updated.


Using Cluster-Wide Policies

Cluster-Wide Policies are applied to clusters via blueprints. These policies can be added to either custom blueprints or golden blueprints. See the blueprint documentation to learn how to create a custom or golden blueprint.

Adding/Removing Cluster-Wide To/From Blueprints

When using a custom blueprint, if it inherits from a golden blueprint, then the cluster-wide policies specified in the golden blueprint cannot be overridden or deleted. This is to ensure that an admin can specify key sets of policies that are always on for compliance and security.