Kubernetes for Beginners  (Namespaces)

Kubernetes for Beginners  (Namespaces)

Namespace. In Kubernetes, there is a default namespace as default. When we deploy a pod, service, deployment, or any Kubernetes object without specifying it’s the namespace, they all get deployed under the default namespace which is default.

Hey guys, welcome back with Kubernetes for Beginners tutorial series. Today Kubernetes has become a trending technology in the industry with their transfer from monolith to microservices. This article series is for beginners to learn Kubernetes.

If we recall our last article, we discuss Kubernetes Deployments, how to use them. Through this article, I will be discussing namespaces in Kubernetes. Well, at the end of the last article I mentioned that I will discuss how to work with deployments. But, to work with Deployments or with Kubernetes you need to know what is a namespace and why we use a namespace.

What is a namespace?

To start, I will explain to you using a simple example. There are two people named John living with each other next door. One is_ John Brown_ and the other one is John Miller. Though we call them by their last names, their family calls them by their first name. John Brown’s father calls him John. But when John Brown’s father needs to talk to John Miller, he uses his full name. Also, each of their houses has a different set of rules and resources used by them.

Now let’s get back to Kubernetes. So, these houses are like Namespace. In Kubernetes, there is a default namespace as default. When we deploy a pod, service, deployment, or any Kubernetes object without specifying it’s the namespace, they all get deployed under the default namespace which is default.

devops-training kubernetes namespaces devops kubectl

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

50+ Useful Kubernetes Tools for 2020 - Part 2

Our original Kubernetes tool list was so popular that we've curated another great list of tools to help you improve your functionality with the platform.

Kubernetes vs Docker

Get Hands-on experience on Kubernetes and the best comparison of Kubernetes over the DevOps at your place at Kubernetes training

Typical flow for deploying applications to Kubernetes

Get Hands-on experience on Kubernetes and the best comparison of Kubernetes over the DevOps at your place at Kubernetes training

How to use Terraform and Kubernetes to manage the IT worlds

Get Hands-on experience on Kubernetes and the best comparison of Kubernetes over the DevOps at your place at Kubernetes training

▷ Kubernetes Training | Certified Kubernetes Administrator Course

Learn Certified Kubernetes Administrator (CKA) Course from the World's Best Online Training Platform - Mindmajix ✔️12 Hrs ✔️Real-Time Use Cases ✔️Job Placement