CKAD Prep Part 3 – Kubernetes Namespaces

Kubernetes Namespaces A Namespace provides a way of organising or categorising resources in a Kubernetes cluster. Every resource you create is associated with a Namespace. When an objects Namespace isn't specified explicitly, it will be associated with the default Namespace. Namespaces are a great way of logically grouping or partitioning resources in a cluster. For example multiple teams in a company using the same cluster could partition resources by namespace. Creating & Viewing Namespaces To create a Namespace run kubectl create namespace some-namespace as follows. You can then view all Namespaces in the cluster by running kubectl get namespaces. Creating a Pod with a Custom Namespace When [...]