This feature allows AKO to map each kubernetes / OpenShift cluster uniquely to a tenant in Avi. ControllerSettings.tenantsPerCluster
needs to be set to true
to enable this feature.
- Create separate tenant for each cluster in AVI. For the below steps, lets assume
billing
tenant is created by the Avi controller admin. - Click
create
- Create the
ako-admin
andako-tenant
roles which gives appropriate privileges to the ako user inadmin
andbilling
tenant. - Create a new user for AKO in AVI under
Administration->Accounts->Tenants
- Click
create
- Assign
ako-admin
andako-tenant
roles to admin and billing tenant respectively. - In AKO, Set the
ControllerSettings.tenantsPerCluster
totrue
andControllerSettings.tenantName
to the tenant created in the earlier steps. - In AKO, Set the
avicredentials.username
andavicredentials.password
to the user credentials created above.
With the above settings AKO will map the billing
cluster to the billing
tenant and all the objects will be created in that tenant.
Note: In
NodePort
mode of AKO (whenL7Settings.serviceType
is set toNodePort
), VRFContext permissions are not required inadmin
tenant in AVI Controller.