Compute SKU
During the infrastructure setup step, the Org Administrator would have navigated to the "Template Catalog" and cloned the compute and Jupyter notebook templates into this project. In this step, you will use the PaaS Studio to create and publish a compute profile (aka SKU) that will be made immediately available to end users for self-service consumption via the Developer Hub.
You will create a Computer Profiles called "small" that the end user can launch as a compute instance.
A very common approach used by organizations is to publish multiple flavors of compute SKUs. In our exercise, we will use the default resource sizes.
SKU | CPU | Memory | GPU |
---|---|---|---|
Small | 4 | 8Gb | 1 |
Medium | 8 | 16Gb | 2 |
Large | 16 | 32Gb | 4 |
Small Compute Profile¶
In this step, let us start with the creation of a compute profile for a small SKU.
Navigate to the PaaS Studio with a PaaS Project Admin role (If you are logged in as an Org Admin with access to all projects, ensure you have selected the right project).
- Select Compute Profiles and click on New Compute Profile
- Provide a unique name
- Ensure you select "Shared" for Allocation Type.
- Select the environment template/version for the compute instance that was shared to your project by the admin
- Click on Save
Once the profile has been created, we are ready to configure it with details that map to our table from above.
Inputs & Constraints¶
The compute template from the catalog comes with a default list of commonly used input variables. The PaaS Studio administrator now has to make a decision on which of these should be made available as inputs for the end user.
- Navigate to the Input Settings configuration section.
-
Disable the checkboxes for the "Allow Override" (This ensures that the end user cannot change these settings)
-
For "Namespace Quota Size", ensure "small" is selected
- For "Host Cluster Name", enter the name of the underlying host cluster that has been provisioned in a prior step (e.g. mohan-lab-cluster)
Click on Save. You should now have a published compute profile called "small" like the image below.
Note
As a convenience, the Rafay Platform provides three starter options for SKUs: small, medium and large. Admins can rename and customize these if necessary.
Verify Compute Profile¶
This is a completely optional step. Admins may wish to validate what the compute profile will look like for the end user. They can do this by following the steps below:
- click on Compute Instances
- Click on New Compute Instance
- You should now see the newly created "small" SKU as an option.
This is what the end users will also see in the Developer Hub Portal.