last sync: 2023-Jun-13 17:47:07 UTC

Community Policy definition

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

Name Control whether a Pod may use the Host Network, and allow Host Ports in a Kubernetes Cluster
Community-Policy GitHub
Id kubernetes_host-network-ports
Version 1.0.0-preview
details on versioning
Category Kubernetes PSP
Microsoft docs
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
Used RBAC Role none
Rule Aliases
Rule ResourceTypes IF (1)
Microsoft.ContainerService/managedClusters
JSON