Providers must be updated with attributes in order to bid on the SHM deplloyments.
NOTE - in the Akash Provider build documentation a provider.yaml file was created and which stores provider attribute/other settings. In this section we will update that provider.yaml file with SHM related attributes. The remainder of the pre-existing file should be left unchanged.
Access Provider Configuration File
Steps included in this code block create the necessary provider.yaml file in the expected directory
Update the Provider YAML File With SHM Attribute
When the provider.yaml file update is complete look like the following example.
Example Provider Config File
Update Provider Via Helm
Update the Inventory Operator with SHM Support
NOTE - when your Akash Provider was initially installed a step was included to also install the Akash Inventory Operator. In this step we will make any necessary changes to the inventory operator for SHM support.
Helm Chart - values.yaml file
The values.yaml file for the inventory operator defaults are as follows
To support SHM we must update the inventory operator to include SHM/ram class. We will update the inventory operator with such support in the subsequent step.
Update Cluster Storage Cluster Setting
Use this command to update the cluster storage settings with SHM support
NOTE - in the example we include the support of persistent storage type of beta3 as well. Adjust this section appropriately based on your provider’s support of persistent storage.
Expected Output
Verify Health of Akash Provider
Use the following command to verify the health of the Akash Provider and Hostname Operator pods
Example/Expected Output
Verify Provider Attributes On Chain
In this step we ensure that your updated Akash Provider Attributes have been updated on the blockchain. Ensure that the GPU model related attributes are now in place via this step.
NOTE - conduct this verification from your Kubernetes control plane node
Example/Expected Output
Verify Akash Provider Image
Verify the Provider image is correct by running this command: