Skip to content

Commit

Permalink
GitBook: [akash-network#242] Adding deployment update commands to dep…
Browse files Browse the repository at this point in the history
…loy with cli doc
  • Loading branch information
Scott Carruthers authored and gitbook-bot committed Dec 10, 2021
1 parent 4e4977e commit 276ed0c
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions guides/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

0 comments on commit 276ed0c

Please sign in to comment.