Pods and hosts - one network stack -:
For pods that are running system application, we sometimes need to grant them a direct access to the host's network stack.
We could achieve that by using the "hostNetwork" parameter in the Yaml configuration file for the pod as below:
We could check the pod's network interfaces, by going inside the pod and running the "ip addr" command as below:
We could also get inside inside the container by executing our command interactively in a - running - pod as below:
Once inside the container, we could run the use the "ip addr" command.