diff --git a/guides/cli.md b/guides/cli.md index 00ef0c5a..6dfcdd5f 100644 --- a/guides/cli.md +++ b/guides/cli.md @@ -645,3 +645,23 @@ akash \ --provider "$AKASH_PROVIDER" \ --from "$AKASH_KEY_NAME" ``` + +## Part 11. Update the Deployment + +### Update the Manifest + +Update the deploy.yml manifest file with the desired change. + +_**NOTE**_** -** not all attributes of the manifest file are eligible for deployment update. If the hardware specs of the manifest are updated (I.e. CPU count), a re-deployment of the workload is necessary. Other attributes, such as deployment count and funding, are eligible for updates. + +### Issue Transaction for On Chain Update + +``` +akash tx deployment update deploy.yml --dseq $AKASH_DSEQ --from $AKASH_KEY_NAME --chain-id $AKASH_CHAIN_ID --node $AKASH_NODE --fees=5000uakt +``` + +### Send Updated Manifest to Provider + +``` +akash provider send-manifest deploy.yml --node $AKASH_NODE --dseq $AKASH_DSEQ --provider $AKASH_PROVIDER --home ~/.akash --from $AKASH_KEY_NAME +```