Validation
To validate the multitenant architecture that was configured in the previous steps, complete the following steps:
Validate access to create PVCs or pods in assigned project
-
Log in as ocp-project-1-user, developer in project-1.
-
Check access to create a new project.
-
Create a PVC in project-1 using the storageclass that is assigned to project-1.
-
Check the PV associated with the PVC.
-
Validate that the PV and its volume is created in an SVM dedicated to project-1 on NetApp ONTAP.
-
Create a pod in project-1 and mount the PVC created in previous step.
-
Check if the pod is running and whether it mounted the volume.
Validate access to create PVCs or pods in another project or use resources dedicated to another project
-
Log in as ocp-project-1-user, developer in project-1.
-
Create a PVC in project-1 using the storageclass that is assigned to project-2.
-
Create a PVC in project-2.
-
Make sure that PVCs
test-pvc-project-1-sc-2
andtest-pvc-project-2-sc-1
were not created. -
Create a pod in project-2.
Validate access to view and edit Projects, ResourceQuotas, and StorageClasses
-
Log in as ocp-project-1-user, developer in project-1.
-
Check access to create new projects.
-
Validate access to view projects.
-
Check if the user can view or edit ResourceQuotas in project-1.
-
Validate that the user has access to view the storageclasses.
-
Check access to describe the storageclasses.
-
Validate the user’s access to edit the storageclasses.