Kubernetes and Cloud Native Associate (KCNA) — Question 84
What Linux namespace is shared by default by containers running within a Kubernetes Pod?
Answer options
- A. Host Network
- B. Network
- C. Process ID
- D. Process Name
Correct answer: B
Explanation
The correct answer is B, as containers in the same Kubernetes Pod share the same Network namespace, allowing them to communicate over localhost and share the same IP address. Options A, C, and D refer to other namespaces that are not shared by default within a Pod, limiting their ability to interact as closely as those in the Network namespace.