Initial Guidance and Assumptions
- Conduct all steps in this guide from a Kubernetes control plane node in your Akash Provider cluster.
- Guide assumes that your Akash Provider was installed via Helm Charts as detailed in this guide.
- Guide assumes that the Kubernetes control plane node used has Helm installed. Refer to this guide step if a Helm install is needed. Return to this guide once Helm install is completed.
Caveats
Attributes in Active Leases
- If your provider has active leases, attributes that were used during the creation of those leases cannot be updated
- Example - if a lease was created and is active on your provider with
key=region
andvalue=us-east
- it would not be possible to update theregion
attribute without closing those active leases prior
Pre-Update Attribute Captures
- Prior to updating the Provider’s attributes, capture the current attributes
- We will use this current capture to compare against the updated provider subsequently
On Chain Current Attributes Capture
Command Template
- Replace the
<provider-address>
variable with the address of your provider
Example Command
Expected/Example Output
Provider Update
Capture Current Provider Settings to File
- Issue this command to capture current provider settings and write to file
Update Provider Settings
- Open the file containing the current provider settings and update attribute key-value pairs as desired
Example Provider YAML Update
- If compared to the initial
provider.yaml
file - updates have been made to theregion
andorganization
values have been updated
Update Provider
Expected Output of Helm Upgrade
Post Update Verifications
On Chain Post Update Attributes Verification
Command Template
Example Command
Expected/Example Output
- Ensure that the new/updated attributes are now active