Manage NFS for tenants
Give tenants NFS access without a client installation. Enable NFS multi-tenancy, assign tenants to interface groups, and understand which NFS features are available to a tenant.
Overview
NFS multi-tenancy gives each tenant its own NFS service: isolated client groups, isolated exports, and dedicated floating IP addresses reached through the tenant's network space. Tenants gain filesystem access without installing any client software.
Tenant NFS access works differently from tenant POSIX access, and the difference matters before you provision anything:
POSIX (wekafs)
Authentication. Users obtain a mount token through weka user login --tenant, and mounting is limited to stateless clients.
NFS
Network topology. The tenant's floating IPs live in its network space and VLAN. Connections use sec=sys and carry no token.
Both paths keep tenants separated from each other, but they rely on different mechanisms. An NFS export is reachable by anything that can route to the tenant's floating IPs, so the network space boundary is the security boundary. Size and segment the network space accordingly.
All tasks in this topic require the ClusterAdmin role unless stated otherwise.
Related topics
Multi-tenancy cluster-level administration
Enable NFS multi-tenancy
NFS multi-tenancy is disabled by default and applies to the whole cluster. Enabling it changes how every NFS object is scoped, so review the prerequisites before you switch it on.
Before you begin
Enabling fails if any of the following exist in the cluster:
The Kubernetes NFS deployment mode is in use. Multi-tenancy and that deployment mode are mutually exclusive.
An NFS export on a tenant filesystem uses
manage_gids.A client group belonging to a tenant has a name-based (DNS) rule.
Resolve these first. The error lists every conflicting feature type at once, so a single attempt tells you everything you need to fix:
In the GUI only, one further condition applies: the Multi-Tenancy toggle is disabled while LDAP or Kerberos authentication is configured, with the tooltip "Multi-tenancy cannot be enabled while LDAP or Kerberos authentication is configured. Reset them first." The CLI has no such restriction. With the CLI, Kerberos and LDAP become available only in the root organization once multi-tenancy is enabled.
GUI procedure
From the menu, select Manage > Protocols.
Select NFS, then open the Settings tab.
In the Global settings section, select Update.
Set Multi-Tenancy to on.
Select Submit, then select Confirm in the Restart NFS Containers dialog. The restart temporarily interrupts IO for connected NFS clients.
CLI alternative
The CLI does not restart the containers. On success, it prints Restart of NFS-W containers needed to apply changes. Restart the containers as a separate step.
To confirm the current state:
Assign a tenant to an interface group
A tenant's floating IP addresses are defined in the tenant's own network space, through --fip-range. Assigning the tenant to an interface group causes those floating IPs to be served by that interface group's servers, which is what makes the tenant's exports reachable.
Before you begin
The tenant must already exist and have at least one network space assigned. See Create a tenant environment.
The tenant's network space must define a floating IP range through
--fip-range, which is accepted on bothweka cluster network-space addandupdate.A tenant network space supports a maximum of 8 floating IP addresses.
GUI procedure
From the menu, select Manage > Protocols.
Select NFS, then open the Configuration tab.
Select the target interface group to open its detail view.
Select Add in the Name Spaces section.

Add a tenant to an interface group Select the tenant, then select Submit.
The Tenant list offers only tenants. The root organization appears but cannot be selected, because it uses the interface group's floating IPs directly.
The same dialog also moves a tenant: a tenant already assigned to another interface group is moved to this one.

Assign Tenant dialog
To remove a tenant, open the Name Spaces table on the interface group's detail view and select Remove on the tenant's row.
The Tenant column on that table shows which tenant each namespace serves.
CLI alternative
List the tenants currently assigned to interface groups. Run the parent command itself, which has no list subcommand:
Assign a tenant to an interface group:
Move a tenant to a different interface group:
Remove a tenant from an interface group:
All three verbs take the same two positional arguments, interface group first and tenant second.
Inspect tenant network space assignment
Each tenant network space is hosted on a specific server. Use this command to see the current mapping, for example when diagnosing why a tenant's floating IP is unreachable:
For the failover behavior that moves a tenant's floating IPs between servers, see Scalability, load balancing, and resiliency.
Feature availability: root organization and tenants
Several NFS features remain available only in the root organization while NFS multi-tenancy is enabled. A tenant attempting to configure one receives an error naming the feature.
Kerberos authentication
Yes
No. Connections that use RPCSEC_GSS are rejected with AUTH_TOOWEAK.
LDAP for NFS group resolution
Yes
No
Manage GIDs
Yes
No
Name-based (DNS) client rules
Yes
No. Use IP-based rules.
ACLs
Yes
No
NFSv3 file locking (NLM)
Yes
No. NFSv4.1 locking is available.
Two further consequences for tenant exports:
An explicitly requested ACL type or Kerberos flavor is rejected with an error. A defaulted ACL type is silently set to
NONE, so an export created without naming an ACL type has weaker access control than the pre-multi-tenancy default.Kerberos flavors are removed from the tenant view of
weka nfs global-config. A cluster administrator and a tenant administrator running the same command see different output.
Per-tenant limits
Tenants have lower NFS object limits than the root organization.
Client groups
50
8
Client group rules
200
16
Exports (permissions)
1024
64
Floating IPs per network space
Not applicable
8
Each limit is enforced per organization at creation time. A cluster supports up to 255 network spaces, and a single tenant can own more than one, so there is no per-tenant network space quota.
The root organization's 200 floating IP addresses come from the interface group's own address pool. Tenant floating IPs are allocated from their network spaces and do not count against it.
Remove NFS resources before deleting a tenant
Deleting a tenant is blocked while the tenant still holds NFS resources. Remove the tenant's exports and client groups, and remove the tenant from its interface group, before deleting it.
A network space cannot be edited or deleted while a tenant is attached to it.
Last updated