Isolate volumes to specific teams¶
This topic describes how to grant two teams access to separate volumes in two different resource collections such that neither team can see the volumes of the other team. MKE allows you to do this even if the volumes are on the same nodes.
To create two teams:
Log in to the MKE web UI.
Navigate to Orgs & Teams.
Create two teams in the engineering organization named
Dev
andProd
.Add a non-admin MKE user to the Dev team.
Add a non-admin MKE user to the Prod team.
To create two resource collections:
Create a Swarm collection called
dev-volumes
nested under the Shared collection.Create a Swarm collection called
prod-volumes
nested under the Shared collection.
To create grants for controlling access to the new volumes:
Create a grant for the Dev team to access the dev-volumes collection with the Restricted Control built-in role.
Create a grant for the Prod team to access the prod-volumes collection with the Restricted Control built-in role.
To create a volume as a team member:
Log in as one of the users on the Dev team.
Navigate to Swarm > Volumes and click Create.
On the Details tab, name the new volume
dev-data
.On the Collection tab, navigate to the dev-volumes collection and click Create.
Log in as one of the users on the Prod team.
Navigate to Swarm > Volumes and click Create.
On the Details tab, name the new volume
prod-data
.On the Collection tab, navigate to the prod-volumes collection and click Create.
As a result, the user on the Prod team cannot see the Dev team volumes, and the user on the Dev team cannot see the Prod team volumes. MKE administrators can see all of the volumes created by either team.