In the last line they mentioned as each kubernetes resource can only be in one n . . .

Mahesan G:
In the last line they mentioned as each kubernetes resource can only be in one namespace but we can create pods In other namespaces with same name because names only need to be unique within a namespace right it’s little bit confusing could anyone help me on this

Tej_Singh_Rana:
Yeah, you understood correctly.
Each k8s resource can only be in one namespace with a unique name.

Mumshad Mannambeth:
Hi @Mahesan G can you elaborate what is confusing? Remember the analogy we discussed in the video lecture about names in namespaces? If each namespace is a house and each resource is a person, you cannot have 2 person with the same name within the same house (namespace). but you can have person with the same name in different houses (namespaces). Does that help?

Mahesan G:
Yes your videos helping me a lot thankyou @Mumshad Mannambeth . Now I understood.