Skip to main content

Adding a Namespace

Kubernetes uses namespaces when installing software into the cluster. With namespaces, microservice applications can scope resources and host multiple tenants. To install Cribl Helm Charts into a Kubernetes cluster, you must define the namespace.

tip

The following syntax allows Helm to create a namespace on installation if it does not already exist:

helm install --create-namespace ...

For the purposes of this Sandbox, you'll create it separately using the kubectl command.

Before starting, check that the namespace you want to create doesn't already exist. Then create the namespace!

important
  1. Run the following command to check for existing namescapes:
kubectl get ns
  1. Run the following command to create a new namespace:
kubectl create ns cribl

You'll see the following output:

namespace/cribl created

To install Cribl Edge on the Kubernetes cluster, continue to the next page.