What would you like to be added?
Apologizes for the delay, but IMHO we should not be using hostPort at all.
This is unconventional for Deployment (see https://kubernetes.io/docs/concepts/configuration/overview/) and it it not a good practice for Kubernetes.
In order to access your deployed files, you should be accessing it via Service or Ingress / Route rather than going to the node IP and going directly to the hostPort.
This also presents security issues too.
Why is this needed?
Security issues. Not standard practice.