DevOps > Kubernetes 1 second ago

What is Name Space in Kubernetes?

What is Name Space in Kubernetes?

311 views . 1 answers . 0 likes . 1 shares Sujatha D 1 answers

What is Namespace in Kubernetes? and how Namespaces are useful in realtime deployments?

profilepic.png

Answers (1)


profilepic.png
PR Reddy Best Answer 2 years ago

What is Namespace:

Kubernetes supports virtual clusters within the physical cluster that makes easy to manage application deployments for different team, environment, project specific. 

Namespace is best to logically differentiate Dev, QA, Prod environment specific deployments and even possible to logically separate the project specific deployments. 

Lets say, Below name spaces are created to manage the environment specific application deployments

dpt-dev - Dev Deployments

dpt-qa - QA Deployments

dpt-prod - Prod Deployments

All these Namespaces share the same Kubernetes cluster but logically separated just to manage environment specific isolation for easy management. 

How to create Namespace:

# kubectl create ns dpt-dev

 

311 views . 1 shares