Member-only story

Kubernetes Namespaces

Ishan Liyanage
3 min readDec 12, 2020

Lets take this example. There two boys name Mark. We can use their last name to differentiate them from each other.

Also they come from different houses. There are other members in the house. The individuals in the house can address each other simply by their first name. For example, father addresses Mark simply as Mark. However if the father wants to refer Mark in the other house, he would use the full name.

Also someone outside the house would also refer to the full name when they want to refer boys or anybody in the house.

Each of these houses has their own set of rules on how they live or they can have own set or resources to do their day to day work.

They have own rules and resources to live their daily life

Now lets get back to kubernetes. We can relate these houses to namespaces in kubernetes.

We have objects like PODs, Deployments and Services in our cluster. We are creating them inside a namespace even though we have not noticed it. This is called the default namespace. It is created automatically when cluster is set up.

Kubernetes will create set of PODs and Services for its internal usage. Kubernetes will create them under another namespace named kube-system

Create an account to read the full story.

The author made this story available to Medium members only.
If you’re new to Medium, create a new account to read this story on us.

Or, continue in mobile web

Already have an account? Sign in

Ishan Liyanage
Ishan Liyanage

Written by Ishan Liyanage

Passionate Technical Lead, Senior Software Developer and free and open source software advocate. Based in Singapore.

No responses yet

Write a response