Skip to content

This page explains how to use the Kubernetes Namespace identifier to uniquely identify workloads deployed on Kubernetes.

Understanding the Kubernetes Namespace identifier

Section titled “Understanding the Kubernetes Namespace identifier”

Namespaces in Kubernetes provide a way to divide cluster resources between multiple users or applications. They’re commonly used to group related workloads and manage resource allocation and access boundaries. Using a namespace as an identifier is useful when you want to manage Access Policies for all workloads within a specific namespace.

Aembit supports the Kubernetes Namespace identification method for Edge-based deployments on Kubernetes.

Create a Client Workload with a Kubernetes Namespace identifier

Section titled “Create a Client Workload with a Kubernetes Namespace identifier”

To configure a Client Workload with a Kubernetes Namespace identifier, follow these steps:

  1. Log into your Aembit Tenant.

  2. Click Client Workloads in the left nav pane.

  3. Click New, revealing the Client Workload pop out menu.

  4. Enter the Name and optional Description for the Client Workload.

  5. Under Client Identification, select Kubernetes Namespace.

    For Value, enter the name of the Kubernetes Namespace where the workload is running.

    For example, if your namespace is backend-services, enter that in the Value field.

    If you don’t know the namespace or how to find it, see Find Kubernetes Namespace.

  6. Click Save.

    Aembit displays the new Client Workload on the Client Workloads page.

To find the Kubernetes Namespace of a workload, follow these steps:

  1. Use the command: kubectl get pods --all-namespaces.

  2. Locate the workload you want to identify in the output.

  3. Note the value under the NAMESPACE column—this is the value to use in your Aembit configuration.