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.
Applicable deployment type
Section titled “Applicable deployment type”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:
-
Log into your Aembit Tenant.
-
Click Client Workloads in the left nav pane.
-
Click New, revealing the Client Workload pop out menu.
-
Enter the Name and optional Description for the Client Workload.
-
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.
-
Click Save.
Aembit displays the new Client Workload on the Client Workloads page.
Find Kubernetes namespace
Section titled “Find Kubernetes namespace”To find the Kubernetes Namespace of a workload, follow these steps:
-
Use the command:
kubectl get pods --all-namespaces
. -
Locate the workload you want to identify in the output.
-
Note the value under the
NAMESPACE
column—this is the value to use in your Aembit configuration.