Skip to content
Latchkey

Kubernetes Namespace - CI/CD Glossary Definition

A Kubernetes namespace is a virtual cluster that scopes and isolates resources (pods, services, secrets) within a single physical cluster. Names must be unique within a namespace but can repeat across namespaces.

What it isolates

Namespaces provide a boundary for resource quotas, RBAC, and network policies. Teams commonly separate dev, staging, and prod, or give each CI build its own throwaway namespace for integration tests.

Common commands

Terminal
kubectl create namespace ci-build-42
kubectl get pods -n ci-build-42
kubectl delete namespace ci-build-42

Related guides

Tired of flaky CI? Latchkey auto-heals failed jobs and retries them for you. Start free →