2. First steps

In this lab, we will interact with the Kubernetes cluster for the first time.

Login

Namespaces

A Namespace is a logical design used in Kubernetes to organize and separate your applications, Deployments, Pods, Ingresses, Services, etc. on a top-level basis. Take a look at the Kubernetes docs . Authorized users inside a namespace are able to manage those resources. Namespace names have to be unique in your cluster.

Task 2.1: Create a Namespace

Create a new namespace on the Kubernetes Cluster.. The kubectl help output can help you figure out the right command.

Solution

To create a new Namespace on your cluster use the following command:

kubectl create namespace <namespace>