- StreamNative Cloud
- Use
Work with tenants
A tenant is an administrative unit for allocating capacity and enforcing an authentication or authorization scheme. After creating a cluster, you can create one or more tenants for the organization.
Work with tenants through snctl
In this release, snctl does not support creating or managing tenants. You can create a tenant for the organization through the StreamNative Cloud Console. For details about how to create a tenant, see create tenant. You can use pulsarctl to manage tenants.
Work with tenants through StreamNative Cloud Console
This section describes how to work with tenants through the StreamNative Cloud Console.
Create a tenant
To create a tenant, follow these steps.
On the left navigation pane, under Tenant/Namespace, select the current default tenant/namespace, and then click New Tenant.
On the Tenants page, click New Tenant.
Configure the tenant, as outlined in the following table.
Item Description Tenants Enter a name for the tenant. A tenant name can contain any combination of lowercase letters (a-z), numbers (0-9), and hyphens (-) Allowed Clusters Select an allowed cluster for the tenant. Admin Roles (Optional) Select one or more administrators for the tenant. Click Confirm.
Manage tenants
This section describes how to manage tenants through the StreamNative Cloud Console.
Edit tenants
To edit a tenant, follow these steps.
On the left navigation pane, in the Admin section, click Tenants.
Click Edit in the Action column.
Select the Configuration tab where you can edit the following:
Item Description Allowed Clusters Select one allowed cluster for the tenant. Admin Roles Select one administrator for the tenant. Or, you can click Add Role and then select the available administrators for the tenant. To add more namespaces for the tenant, click the link on the tenant name and then click New Namespace. For details about how to create a namespace, see create namespace.
Delete tenants
You cannot delete a tenant if there are resources associated with the tenant.
To delete a tenant, follow these steps.
On the left navigation pane, in the Admin section, click Tenants.
Click Edit in the Action column.
Select the Configuration tab.
Click Delete Tenant. A dialog box displays asking, Are you sure you want to delete this?
Enter the tenant name and then click Confirm.