Day 17 NameSpace | Kubernetes

Experienced DevOps & Software Engineer, Creating and Scaling applications over various emerging technologies. :)
what is namespace?
Namespaces are also called
virtual clustersin our physical Kubernetes cluster.We should use
Namespaceswhere we have many users spread across multiple teams over projects.Namespace creates
isolation boundaryfrom other Kubernetes objects, also we can limit the resources likeCPU, Memoryon per namespace basis(Resouce Quota)

Kubelet having some default namespaces that used by kubernetes to manage the operations. like default , kube-* etc.
How to create NameSpace?
There are two ways to create the namespaces.
Using
kubectlcommand.kubectl create namespace dev3Using Declarative
ymlfile.%[https://gist.github.com/m3pratik/c7891b1d2a7c4bbe50d367339efcafec]
Namespaces provide a way to logically separate resources within a single cluster and enable better resource management. For example, if you have multiple teams working on different projects in the same cluster, you can create different namespaces for each project.
Names of resources must be unique within a namespace, but not across namespaces. This means that you can have two resources with the same name in different namespaces. This is especially useful when you want to reuse the same resource name across multiple projects.
Reference: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
Reference: github.com/m3pratik/31daysofEKS
Made with ❤️ by Pratikkumar Panchal. github.com/m3pratik/31daysofEKS



