To create a new plan to use when deploying applications, use the plan create command.
$ shipa plan create <name> -c cpushare [-m memory] [-s swap] [-t teams] [--default]
(= 0) Relative CPU share each unit will have available. This value is relative, so specifying the same value for all plans means all units will equally share processing power.
(= false) Set plan as default. This will remove the default flag from any other plan. The default plan will be automatically used when creating an application without explicitly setting a plan
(= "0") Amount of available memory for units in bytes or an integer value followed by M, K, or G for megabytes, kilobytes, or gigabytes, respectively
(= "0") Amount of available swap space for units in bytes or an integer value followed by M, K, or G for megabytes, kilobytes, or gigabytes, respectively
(= ) Teams which are allowed to use this plan
To list available plans when creating an application, use the plan list command
$ shipa plan list [--bytes]
(= false) byte-sized units for memory and swap.
To remove an existing plan, use the plan remove command.
$ shipa plan remove <name>
When removed, the plan is no longer available for newly created applications. Applications that were created using the removed plan will be unaffected. They will keep using the same value amount of resources described by the plan before deletion.
Updated 3 months ago