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.
billing
tenant is created by the Avi controller admin.
create
ako-admin
and ako-tenant
roles which gives appropriate privileges to the ako user in admin
and billing
tenant.
Administration->Accounts->Tenants
create
ako-admin
and ako-tenant
roles to admin and billing tenant respectively.
ControllerSettings.tenantsPerCluster
to true
and ControllerSettings.tenantName
to the tenant created in the earlier steps.avicredentials.username
and avicredentials.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.