Skip to content

Commit 82d5f55

Browse files
Scott Carruthersgitbook-bot
Scott Carruthers
authored andcommitted
GitBook: [#909] Updating CLI instances from Akash to Provider Services
1 parent 98d0cbb commit 82d5f55

File tree

4 files changed

+26
-26
lines changed

4 files changed

+26
-26
lines changed

features/authorized-spend/relevant-commands-and-example-use.md

+14-14
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ NOTE - two wallets will be necessary to test Authorized Spend.
1616
* Ensure that `uakt` is used as denomination for the `fund-amount` and as shown in `Example Use`.
1717

1818
```
19-
akash tx deployment authz grant <deploy-wallet> <fund-amount> --from <funding-wallet>
19+
provider-services tx deployment authz grant <deploy-wallet> <fund-amount> --from <funding-wallet>
2020
```
2121

2222
### Example Use
2323

2424
```
25-
akash tx deployment authz grant akash17ck7uhkpjjj45fw9s9vpv7jn0m97958vjjxmf8 20000000uakt --from akash10x24jqyplwk37nynqy0pqaez5sx9fqrll59hl9
25+
provider-services tx deployment authz grant akash17ck7uhkpjjj45fw9s9vpv7jn0m97958vjjxmf8 20000000uakt --from akash10x24jqyplwk37nynqy0pqaez5sx9fqrll59hl9
2626
```
2727

2828
## View Authorization Created - Specific Deploy Wallet
@@ -34,13 +34,13 @@ To view details for a specific deploy wallet authorization from a specified fund
3434
### **Syntax**
3535

3636
```
37-
akash query authz grants <funding-wallet> <deploy-wallet>
37+
provider-services query authz grants <funding-wallet> <deploy-wallet>
3838
```
3939

4040
### **Example Use**
4141

4242
```
43-
akash query authz grants akash10x24jqyplwk37nynqy0pqaez5sx9fqrll59hl9 akash17ck7uhkpjjj45fw9s9vpv7jn0m97958vjjxmf8
43+
provider-services query authz grants akash10x24jqyplwk37nynqy0pqaez5sx9fqrll59hl9 akash17ck7uhkpjjj45fw9s9vpv7jn0m97958vjjxmf8
4444
```
4545

4646
### **Expected Output**
@@ -69,13 +69,13 @@ To view ALL wallets authorized to spend from the funding wallet
6969
### **Syntax**
7070

7171
```
72-
akash query authz granter-grants <funding-wallet-address>
72+
provider-services query authz granter-grants <funding-wallet-address>
7373
```
7474

7575
### **Example Use**
7676

7777
```
78-
akash query authz granter-grants akash10x24jqyplwk37nynqy0pqaez5sx9fqrll59hl9
78+
provider-services query authz granter-grants akash10x24jqyplwk37nynqy0pqaez5sx9fqrll59hl9
7979
```
8080

8181
## Change Amount of Authorized Funds
@@ -87,13 +87,13 @@ To change the amount of an authorized funds
8787
### **Syntax**
8888

8989
```
90-
akash tx deployment authz grant <deploy-wallet> <fund-amount> --from <funding-wallet> --gas-prices="0.025uakt" --gas="auto" --gas-adjustment=1.5 -y
90+
provider-services tx deployment authz grant <deploy-wallet> <fund-amount> --from <funding-wallet> --gas-prices="0.025uakt" --gas="auto" --gas-adjustment=1.5 -y
9191
```
9292

9393
### **Example Use**
9494

9595
```
96-
akash tx deployment authz grant akash17ck7uhkpjjj45fw9s9vpv7jn0m97958vjjxmf8 10000000uakt --from akash10x24jqyplwk37nynqy0pqaez5sx9fqrll59hl9 --gas-prices="0.025uakt" --gas="auto" --gas-adjustment=1.5 -y
96+
provider-services tx deployment authz grant akash17ck7uhkpjjj45fw9s9vpv7jn0m97958vjjxmf8 10000000uakt --from akash10x24jqyplwk37nynqy0pqaez5sx9fqrll59hl9 --gas-prices="0.025uakt" --gas="auto" --gas-adjustment=1.5 -y
9797
```
9898

9999
## Create a Deployment from Authorized Funds
@@ -107,13 +107,13 @@ NOTE - only the creation deployment step is covered in this section. Please ref
107107
### **Syntax**
108108

109109
```
110-
akash tx deployment create --depositor-account <funding-wallet> --from <deploy-wallet> deploy.yaml --gas-prices="0.025uakt" --gas="auto" --gas-adjustment=1.5 -y
110+
provider-services tx deployment create --depositor-account <funding-wallet> --from <deploy-wallet> deploy.yaml --gas-prices="0.025uakt" --gas="auto" --gas-adjustment=1.5 -y
111111
```
112112

113113
### **Example Use**
114114

115115
```
116-
akash tx deployment create --depositor-account akash10x24jqyplwk37nynqy0pqaez5sx9fqrll59hl9 --from akash17ck7uhkpjjj45fw9s9vpv7jn0m97958vjjxmf8 deploy.yaml --gas-prices="0.025uakt" --gas="auto" --gas-adjustment=1.5 -y
116+
provider-services tx deployment create --depositor-account akash10x24jqyplwk37nynqy0pqaez5sx9fqrll59hl9 --from akash17ck7uhkpjjj45fw9s9vpv7jn0m97958vjjxmf8 deploy.yaml --gas-prices="0.025uakt" --gas="auto" --gas-adjustment=1.5 -y
117117
```
118118

119119
## **Deposit Additional Funds to Deployment**
@@ -125,13 +125,13 @@ Deposit additional funds into the escrow account of a running deployment from th
125125
### **Syntax**
126126

127127
```
128-
akash tx deployment deposit <fund-amount> --dseq <deployment-id> --from <deploy-wallet> -–depositor-account <funding-wallet> --gas-prices="0.025uakt" --gas="auto" --gas-adjustment=1.5 -y
128+
provider-services tx deployment deposit <fund-amount> --dseq <deployment-id> --from <deploy-wallet> -–depositor-account <funding-wallet> --gas-prices="0.025uakt" --gas="auto" --gas-adjustment=1.5 -y
129129
```
130130

131131
### **Example Use**
132132

133133
```
134-
akash tx deployment deposit 10000000uakt --dseq 19012 --from akash17ck7uhkpjjj45fw9s9vpv7jn0m97958vjjxmf8 --depositor-account akash10x24jqyplwk37nynqy0pqaez5sx9fqrll59hl9 --gas-prices="0.025uakt" --gas="auto" --gas-adjustment=1.5 -y
134+
provider-services tx deployment deposit 10000000uakt --dseq 19012 --from akash17ck7uhkpjjj45fw9s9vpv7jn0m97958vjjxmf8 --depositor-account akash10x24jqyplwk37nynqy0pqaez5sx9fqrll59hl9 --gas-prices="0.025uakt" --gas="auto" --gas-adjustment=1.5 -y
135135
```
136136

137137
## Revoke Access to a Deploy Wallet
@@ -143,11 +143,11 @@ Revoke the authorization from a funding wallet
143143
### **Syntax**
144144

145145
```
146-
akash tx deployment authz revoke <deploy-wallet> --from <funding-wallet>
146+
provider-services tx deployment authz revoke <deploy-wallet> --from <funding-wallet>
147147
```
148148

149149
### **Example Use**
150150

151151
```
152-
akash tx deployment authz revoke akash17ck7uhkpjjj45fw9s9vpv7jn0m97958vjjxmf8 --from akash10x24jqyplwk37nynqy0pqaez5sx9fqrll59hl9
152+
provider-services tx deployment authz revoke akash17ck7uhkpjjj45fw9s9vpv7jn0m97958vjjxmf8 --from akash10x24jqyplwk37nynqy0pqaez5sx9fqrll59hl9
153153
```

features/deployment-shell-access.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,19 @@ _Execute command sets within a running Akash deployment_
1919
![](https://lh3.googleusercontent.com/BgF4dAJD-W3HKaLJM4xvmLk-BWxN7-OjD5QknE7kWV9K938u3MTZj0slv5VgFd8eC41QF0JmUtzcc4pCcu5PbG-HhgtDp7QCfIokY5AI1vlewgDo1E4QMKo4AXsUMMQOw7USXjSa=s0)
2020

2121
```
22-
akash provider lease-shell --from <key-name> --dseq <dseq-number> --provider=<provider-address> <service-name> <command-to-execute>
22+
provider-services lease-shell --from <key-name> --dseq <dseq-number> --provider=<provider-address> <service-name> <command-to-execute>
2323
```
2424

2525
* Example command fully populated
2626

2727
```
28-
akash provider lease-shell --from mykey --dseq 226186 --provider=akash1gx4aevud37w4d6kfd5szgp87lmkqvumaz57yww web cat /etc/passwd
28+
provider-services lease-shell --from mykey --dseq 226186 --provider=akash1gx4aevud37w4d6kfd5szgp87lmkqvumaz57yww web cat /etc/passwd
2929
```
3030
* Example command fully populated using environment variables
3131
* Prior establishment of the AKASH\_KEY\_NAME and AKASH\_PROVIDER environment variables would be necessary to allow this syntax
3232
3333
```
34-
akash provider lease-shell --from $AKASH_KEY_NAME --dseq 226186 --provider=$AKASH_PROVIDER web cat /etc/passwd
34+
provider-services lease-shell --from $AKASH_KEY_NAME --dseq 226186 --provider=$AKASH_PROVIDER web cat /etc/passwd
3535
```
3636
3737
* Expected output example
@@ -52,15 +52,15 @@ _Gain access to an active Akash deployment’s CLI/shell_
5252
![](https://lh3.googleusercontent.com/BgF4dAJD-W3HKaLJM4xvmLk-BWxN7-OjD5QknE7kWV9K938u3MTZj0slv5VgFd8eC41QF0JmUtzcc4pCcu5PbG-HhgtDp7QCfIokY5AI1vlewgDo1E4QMKo4AXsUMMQOw7USXjSa=s0)
5353
5454
```
55-
akash provider lease-shell --from <key-name> --dseq <dseq-number> --tty --provider=<provider-address> <service-name> /bin/sh --node $AKASH_NODE
55+
provider-services lease-shell --from <key-name> --dseq <dseq-number> --tty --provider=<provider-address> <service-name> /bin/sh --node $AKASH_NODE
5656
```
5757
5858
* Example command fully populated
5959
* Note - the container instance must have a /bin/sh shell for the command to work in this exact syntax. If this were an Alpine container base image /bin/sh would need to become /bin/ash and this serves as an example of possible edit to the command syntax based on container type.
6060
* Prior establishment of the AKASH\_KEY\_NAME and AKASH\_PROVIDER environment variables would be necessary to allow this syntax
6161
6262
```
63-
akash provider lease-shell --from $AKASH_KEY_NAME --dseq 226186 --tty --provider=$AKASH_PROVIDER web /bin/sh --node $AKASH_NODE
63+
provider-services lease-shell --from $AKASH_KEY_NAME --dseq 226186 --tty --provider=$AKASH_PROVIDER web /bin/sh --node $AKASH_NODE
6464
```
6565
6666
@@ -81,20 +81,20 @@ _Copy a file from an active Akash deployment to a local file instance for inspec
8181
![](https://lh3.googleusercontent.com/BgF4dAJD-W3HKaLJM4xvmLk-BWxN7-OjD5QknE7kWV9K938u3MTZj0slv5VgFd8eC41QF0JmUtzcc4pCcu5PbG-HhgtDp7QCfIokY5AI1vlewgDo1E4QMKo4AXsUMMQOw7USXjSa=s0)
8282
8383
```
84-
akash provider lease-shell --from <key-name> --dseq <dseq-number> --provider=<provider-address> <service-name> <command-to-execute> > <local-file-name>
84+
provider-services lease-shell --from <key-name> --dseq <dseq-number> --provider=<provider-address> <service-name> <command-to-execute> > <local-file-name>
8585
```
8686
8787
* Example command fully populated
8888
8989
```
90-
akash provider lease-shell --from mykey --dseq 226186 --provider=akash1gx4aevud37w4d6kfd5szgp87lmkqvumaz57yww web cat /etc/passwd > local_copy_of_passwd
90+
provider-services lease-shell --from mykey --dseq 226186 --provider=akash1gx4aevud37w4d6kfd5szgp87lmkqvumaz57yww web cat /etc/passwd > local_copy_of_passwd
9191
```
9292
9393
* Example command fully populated using environment variables
9494
* Prior establishment of the AKASH\_KEY\_NAME and AKASH\_PROVIDER environment variables would be necessary to allow this syntax
9595
9696
```
97-
akash provider lease-shell --from $AKASH_KEY_NAME --dseq 226186 --provider=$AKASH_PROVIDER web cat /etc/passwd > local_copy_of_passwd
97+
provider-services lease-shell --from $AKASH_KEY_NAME --dseq 226186 --provider=$AKASH_PROVIDER web cat /etc/passwd > local_copy_of_passwd
9898
```
9999
100100
* Expected output example

features/hostname-migration.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,14 @@ The example hostname migration will continue with the two deployment scenarios p
3232
* Hostname migration command syntax with variable bracketing as such \<variable-name>
3333

3434
```
35-
akash provider migrate-hostnames --from <key-name> --dseq <dseq-number> --provider=<provider-address> <hostname>
35+
provider-services migrate-hostnames --from <key-name> --dseq <dseq-number> --provider=<provider-address> <hostname>
3636
```
3737

3838
* Example, populated hostname migration command
3939
* In referencing the deployment DSEQ the hostname is migrated to the UpdatedDeployment instance with a DSEQ of 241064 and simultaneously removing the hostname from OriginalDeployment (DSEQ 241027)
4040

4141
```
42-
akash provider migrate-hostnames --from mykey --dseq 241064 --provider=akash1gx4aevud37w4d6kfd5szgp87lmkqvumaz57yww supermariotest.akash.network
42+
provider-services migrate-hostnames --from mykey --dseq 241064 --provider=akash1gx4aevud37w4d6kfd5szgp87lmkqvumaz57yww supermariotest.akash.network
4343
```
4444

4545
## **Validation of Hostname Migration**
@@ -53,7 +53,7 @@ Validations of hostname migration are provided in the sample OriginalDeployment
5353
* The syntax for the lease-status command is as follows
5454

5555
```
56-
akash provider lease-status --node $AKASH_NODE --home ~/.akash --dseq $AKASH_DSEQ --from $AKASH_KEY_NAME --provider $AKASH_PROVIDER
56+
provider-services lease-status --node $AKASH_NODE --home ~/.akash --dseq $AKASH_DSEQ --from $AKASH_KEY_NAME --provider $AKASH_PROVIDER
5757
```
5858

5959

guides/cli/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ The **Akash** command-line client is used to interact with deployments. The `aka
66

77
We offer two guides to assist in getting started with the Akash CLI:
88

9-
* [Detailed Steps](detailed-steps/)
9+
* [Detailed Steps](../../other-resources/experimental/mainnet4-upgrade-docs/detailed-steps/)
1010
* [Akash CLI Booster](akash-cli-booster/)

0 commit comments

Comments
 (0)