last sync: 2025-May-14 18:52:07 UTC

Control whether a Pod may use the Host Network, and allow Host Ports in a Kubernetes Cluster

Community Policy definition

Source Repository Community-Policy GitHub
JSON Community-Policy GitHub
Deploy policy b6816ed8-f276-474c-a630-de28813533c7 (1.0.0) to Azure
Display name Control whether a Pod may use the Host Network, and allow Host Ports in a Kubernetes Cluster
Id b6816ed8-f276-474c-a630-de28813533c7
Version 1.0.0
Details on versioning
Category Kubernetes
Microsoft Learn
Description This policy controls whether pod may use the host network, and allows host ports in a Kubernetes cluster. For instructions on using this policy, please visit https://aka.ms/kubepolicydoc.
Mode Microsoft.Kubernetes.Data
Type Custom Community
Effect Default
Audit
Allowed
Audit, Deny, Disabled
RBAC role(s) none
Rule aliases
Rule resource types IF (2)
Microsoft.ContainerService/managedClusters
Microsoft.Kubernetes/connectedClusters
JSON
EPAC
Deploy policy b6816ed8-f276-474c-a630-de28813533c7 (1.0.0) to Azure