11.1 Creating a Kubernetes Namespace for Monitoring
Create a Kubernetes namespace to provide a scope for Prometheus and Grafana objects, such as pods and services, that you create in the environment.
To create your namespace issue the following
command:
kubectl create namespace <namespace>
For
example:kubectl create namespace monitoring
The output will look similar to the
following:namespace/monitoring created