What is a Namespace?

last updated May 10, 2019

A Namespace is a logical group for application enviroments - staging, qa, production - a namespace isolates containers within it from containers outside. You can think of a Namespace a bit like a IP network, in that applications typically have access to other resources within their same namespace. KubeSail provides you with a namespace on a shared cluster, and is one of the ways we isolate your applications from those of other users.

There isn't typically much to a Namespace definition, simply a name:

apiVersion: v1
kind: Namespace
name: my-namespace
.apiVersionKube resource version to use
.kindWhat kind of resource is this yaml doc defining
.metadata.nameName of your resource

At KubeSail we're working hard to build tools that will enable you to rapidly iterate on Kubernetes. If you have any thoughts or requests, please join our chat!