• / company
    • about us
      • / about us

        The partner of choice for data & product engineering to drive business growth & deliver an impact within your organization
    • product engineering
      • / product engineering
        We specialize in Software Product Engineering, transforming your concepts into impactful products.
    • technology
      • / technology
        250+ specialists skilled in software, BI, integration, offering end-to-end services from research to ongoing maintenance.
    • methodology
      • / methodology
        We specialize in software product engineering, transforming your concepts into impactful products.
    • careers
      • / careers
        Our team needs one more awesome person, like you. Let’s grow together! Why not give it a try?
    • do good
      • / do good
        We’re a team devoted to making the world better with small acts. We get involved and always stand for kindness.
    • events
      • / events
        LLMs in Action: Transforming How We Work, Communicate, and Innovate
    • blog
      • / blog
        Why Every Developer Should Care About AI Plugins, And What You Might Be Missing
        mindit chats with Andreea Moldovan: “At mindit.io people really put effort into making it happen.”
    • contact us
      • / contact us
        We would love to hear from you! We have offices and teams in Romania and Switzerland. How can we make your business thrive?
  • / get in touch

Kubernetes 101 – Namespaces

Intro

Before jumping into Kubernetes resources, let’s take a look over a very important concept called Namespace.

Namespaces are a way to separate cluster resources.

Namespace-based scoping is applicable only for certain types of objects (e.g. Pods Deployments, Services, etc.) and not for cluster-wide objects (e.g. StorageClass, Nodes, PersistentVolumes, etc.).
Usage

Retrieve all defined namespaces.

>> kubectl get namespace

If none specified, the resources are created in the ‘default’ namespace.

Create a new namespace called ‘test’.

>> kubectl create namespace test

Create a pod in the newly created namespace.

>> kubectl run nginx-pod –-image=nginx –n test

We’ll talk about the pod object a lot more in the later posts.

For now, you only need to know that they are resources that can be grouped into different namespaces.

Retrieve all pods in the ‘test’ namespace.

>> kubectl get pods –n test
Follow the Kubernetes 101 series on mindit.io.

Check out new-spike.net for other articles on Kubernetes and much more!

Distribute:

/turn your vision into reality

The best way to start a long-term collaboration is with a Pilot project. Let’s talk.