You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Add/use new price aggregate
- New compute units system
- Display selection table and checkout for each entity
- Add/use new cost endpoint
- Split flows (between 80/20)
- Handle legacy flow/VM older than wallet_community_timestamp
- Fetch CRN list from new program endpoint
- Select an available GPU and then filter CRNs
- Display GPU pricing and compute units selection
- `internet` field not passed on program creation. It's an important fix since internet=True doubles the cost
- Display program pricing
- New `aleph pricing <entity>` cmd + tests
- New `aleph instance gpu` cmd
- Deprecate and remove firecracker hypervisor for instances
- Upgrade CI action versions
Copy file name to clipboardExpand all lines: src/aleph_client/commands/help_strings.py
+9-6Lines changed: 9 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -17,16 +17,15 @@
17
17
ASK_FOR_CONFIRMATION="Prompt user for confirmation"
18
18
IPFS_CATCH_ALL_PATH="Choose a relative path to catch all unmatched route or a 404 error"
19
19
PAYMENT_TYPE="Payment method, either holding tokens, NFTs, or Pay-As-You-Go via token streaming"
20
-
HYPERVISOR="Hypervisor to use to launch your instance. Defaults to QEMU"
20
+
HYPERVISOR="Hypervisor to use to launch your instance. Always defaults to QEMU, since Firecracker is now deprecated for instances"
21
21
INSTANCE_NAME="Name of your new instance"
22
22
ROOTFS= (
23
23
"Hash of the rootfs to use for your instance. Defaults to Ubuntu 22. You can also create your own rootfs and pin it"
24
24
)
25
-
ROOTFS_SIZE= (
26
-
"Size of the rootfs to use for your instance. If not set, content.size of the --rootfs store message will be used"
27
-
)
25
+
COMPUTE_UNITS="Number of compute units to allocate. Compute units correspond to a tier that includes vcpus, memory, disk and gpu presets. For reference, run: `aleph pricing --help`"
26
+
ROOTFS_SIZE="Rootfs size in MiB to allocate"
28
27
VCPUS="Number of virtual CPUs to allocate"
29
-
MEMORY="Maximum memory (RAM) allocation on VM in MiB"
28
+
MEMORY="Maximum memory (RAM) in MiB to allocate"
30
29
TIMEOUT_SECONDS="If vm is not called after [timeout_seconds] it will shutdown"
31
30
SSH_PUBKEY_FILE="Path to a public ssh key to be added to the instance"
32
31
CRN_HASH="Hash of the CRN to deploy to (only applicable for confidential and/or Pay-As-You-Go instances)"
@@ -37,6 +36,7 @@
37
36
CONFIDENTIAL_FIRMWARE_HASH="Hash of the UEFI Firmware content, to validate measure (ignored if path is provided)"
38
37
CONFIDENTIAL_FIRMWARE_PATH="Path to the UEFI Firmware content, to validate measure (instead of the hash)"
39
38
GPU_OPTION="Launch an instance attaching a GPU to it"
KEEP_SESSION="Keeping the already initiated session"
41
41
VM_SECRET="Secret password to start the VM"
42
42
CRN_URL_VM_DELETION="Domain of the CRN where an associated VM is running. It ensures your VM will be stopped and erased on the CRN before the instance message is actually deleted"
@@ -51,15 +51,18 @@
51
51
PAYMENT_CHAIN_USED="Chain you are using to pay for your instance"
52
52
ORIGIN_CHAIN="Chain of origin of your private key (ensuring correct parsing)"
53
53
ADDRESS_CHAIN="Chain for the address"
54
+
ADDRESS_PAYER="Address of the payer. In order to delegate the payment, your account must be authorized beforehand to publish on the behalf of this address. See the docs for more info: https://docs.aleph.im/protocol/permissions/"
54
55
CREATE_REPLACE="Overwrites private key file if it already exists"
55
56
CREATE_ACTIVE="Loads the new private key after creation"
56
57
PROMPT_CRN_URL="URL of the CRN (Compute node) on which the instance is running"
57
58
PROMPT_PROGRAM_CRN_URL="URL of the CRN (Compute node) on which the program is running"
58
59
PROGRAM_PATH="Path to your source code. Can be a directory, a .squashfs file or a .zip archive"
59
60
PROGRAM_ENTRYPOINT="Your program entrypoint. Example: `main:app` for Python programs, else `run.sh` for a script containing your launch command"
60
61
PROGRAM_RUNTIME="Hash of the runtime to use for your program. You can also create your own runtime and pin it. Currently defaults to `{runtime_id}` (Use `aleph program runtime-checker` to inspect it)"
61
-
PROGRAM_BETA="If true, you will be prompted to add message subscriptions to your program"
62
+
PROGRAM_INTERNET="Enable internet access for your program. By default, internet access is disabled"
63
+
PROGRAM_PERSISTENT="Create your program as persistent. By default, programs are ephemeral (serverless): they only start when called and then shutdown after the defined timeout delay."
62
64
PROGRAM_UPDATABLE="Allow program updates. By default, only the source code can be modified without requiring redeployement (same item hash). When enabled (set to True), this option allows to update any other field. However, such modifications will require a program redeployment (new item hash)"
65
+
PROGRAM_BETA="If true, you will be prompted to add message subscriptions to your program"
63
66
PROGRAM_KEEP_CODE="Keep the source code intact instead of deleting it"
64
67
PROGRAM_KEEP_PREV="Keep the previous program intact instead of deleting it"
65
68
TARGET_ADDRESS="Target address. Defaults to current account address"
0 commit comments