Skip to main content

More Info:

Do not generally permit containers which require the use of HostPorts.

Risk Level

Low

Address

Security

Compliance Standards

  • CIS Kubernetes

Triage and Remediation

Remediation

Using Console

List the policies in use for each namespace in the cluster, ensure that each policydisallows the admission of containers which have hostPort sections.

Additional Reading: