Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for DefaultDeny (1.81 sec)

  1. CHANGELOG/CHANGELOG-1.7.md

    	The v1beta1 API used an annotation on Namespaces to activate the DefaultDeny policy for an entire Namespace. To activate default deny in the v1 API, you can create a NetworkPolicy that matches all Pods but does not allow any traffic:
    
        ```yaml
        kind: NetworkPolicy
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Thu May 05 13:44:43 UTC 2022
    - 308.7K bytes
    - Viewed (1)
  2. CHANGELOG/CHANGELOG-1.8.md

    	When upgrading to Kubernetes 1.7 (and a network plugin that supports
    	the new NetworkPolicy v1 semantics), to ensure full behavioral
    	compatibility with v1beta1:
    	1. In Namespaces that previously had the "DefaultDeny" annotation,
    	   you can create equivalent v1 semantics by creating a
    	   NetworkPolicy that matches all pods but does not allow any
    	   traffic:
    
    	   ```yaml
               kind: NetworkPolicy
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Tue Feb 20 15:45:02 UTC 2024
    - 312.2K bytes
    - Viewed (0)
Back to top