A UTS namespace isolates the system hostname and Network Information Service (NIS) domain name visible to processes. It is one of several Linux namespace types: a process also belongs to namespaces for other resources, such as networking and process IDs. section 2.3.1
Two containers in one pod
Put two containers in the same Kubernetes pod. Because they share a UTS namespace, both see the same system hostname. They also share a network namespace, but that is a separate kind of sharing: it gives them the same network interfaces, IP address, and port space. A pod can share a PID namespace too, but only when that is explicitly enabled. section 3.3.1 section 5.1.1
Figure 2.17 Each process is associated with multiple namespace types, some of which can be shared.
The figure shows why sharing a hostname does not mean that processes share every resource: each process is associated with multiple namespace types, and some can be shared. section 2.3.1
