Skip to main content
InterviewHubPRO
Section Overview
Q3

Question 3 of 50

Part 1: Basic & Foundational Concepts (Junior / Entry-Level)

6%
Kubernetes (K8s) (50 Qs)•Part 1: Basic & Foundational Concepts (Junior / Entry-Level)

What are Namespaces in Kubernetes and what are their isolation boundaries?

junior LevelMost AskedKubernetes

In Simple Words: A Namespace is a logical partition or virtual cluster within a single physical Kubernetes cluster.

  • Default Namespaces:
    • default: Default space for user workloads.
    • kube-system: Reserved for core Kubernetes control plane and add-on components (CoreDNS, kube-proxy).
    • kube-public: Universally readable namespace for public cluster discovery.
    • kube-node-lease: Holds heartbeat leases from each node.
  • Isolation Scope:
    • Namespaces provide naming scoping (two Pods named api can exist in different namespaces).
    • Can attach ResourceQuotas (e.g., max 20 CPUs, 64GB RAM per department).
    • Warning: Namespaces do not provide network isolation by default; any Pod can talk to any other Pod across namespaces unless restricted by a NetworkPolicy.