Skip to content

Mark --vcpu and --memory options as deprecated for phala deploy #141

@h4x3rotab

Description

@h4x3rotab

Summary

The --vcpu and --memory options should be marked as [DEPRECATED] in the phala deploy command since --instance-type is the preferred way to specify resources.

Affected command

  • phala deploy

Current behavior

These options appear as regular options without any deprecation notice.

Expected behavior

Options should show [DEPRECATED] tag and suggest using --instance-type instead, similar to how --uuid shows:

--uuid <value>          [DEPRECATED] Use --cvm-id instead. CVM UUID.

Suggested format

--vcpu <value>          [DEPRECATED] Use --instance-type instead. Number of vCPUs.
--memory <value>        [DEPRECATED] Use --instance-type instead. Memory size.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions