What is the purpose of `hostNetwork`, `hostPort` and `hostPID`?
IntermediateConceptServices, Networking, Ingress & Gateway API
Answer
hostNetwork: true puts the Pod in the node's network namespace (used by CNI agents, node exporters). hostPort maps a container port to a node port without a Service. hostPID shares the node's process namespace. All three weaken isolation and are blocked by the Baseline/Restricted Pod Security Standards.