Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(server): group plans by type in server plans human output #315

Merged
merged 1 commit into from
Jul 3, 2024

Conversation

kangasta
Copy link
Contributor

@kangasta kangasta commented Jul 3, 2024

Example output:

$ upctl server plans

  General purpose

     Name           Cores   Memory   Storage size   Storage tier   Transfer out (GiB/month) 
    ────────────── ─────── ──────── ────────────── ────────────── ──────────────────────────
     1xCPU-1GB          1     1024             25   maxiops                            1024 
     1xCPU-2GB          1     2048             50   maxiops                            2048 
     2xCPU-4GB          2     4096             80   maxiops                            4096 
     4xCPU-8GB          4     8192            160   maxiops                            5120 
     6xCPU-16GB         6    16384            320   maxiops                            6144 
     8xCPU-32GB         8    32768            640   maxiops                            7168 
     12xCPU-48GB       12    49152            960   maxiops                            9216 
     16xCPU-64GB       16    65536           1280   maxiops                           10240 
     24xCPU-96GB       24    98304           1920   maxiops                           12288 
     32xCPU-128GB      32   131072           2048   maxiops                           24576 
     38xCPU-192GB      38   196608           2048   maxiops                           24576 
     48xCPU-256GB      48   262144           2048   maxiops                           24576 
     64xCPU-384GB      64   393216           2048   maxiops                           24576 
    
  High CPU

     Name                 Cores   Memory   Storage size   Storage tier   Transfer out (GiB/month) 
    ──────────────────── ─────── ──────── ────────────── ────────────── ──────────────────────────
     HICPU-8xCPU-12GB         8    12288            100   maxiops                            4096 
     HICPU-8xCPU-16GB         8    16384            200   maxiops                            4096 
     HICPU-16xCPU-24GB       16    24576            100   maxiops                            5120 
     HICPU-16xCPU-32GB       16    32768            200   maxiops                            5120 
     HICPU-32xCPU-48GB       32    49152            200   maxiops                            6144 
     HICPU-32xCPU-64GB       32    65536            300   maxiops                            6144 
     HICPU-64xCPU-96GB       64    98304            200   maxiops                            7168 
     HICPU-64xCPU-128GB      64   131072            300   maxiops                            7168 
    
  High memory

     Name                 Cores   Memory   Storage size   Storage tier   Transfer out (GiB/month) 
    ──────────────────── ─────── ──────── ────────────── ────────────── ──────────────────────────
     HIMEM-2xCPU-8GB          2     8192            100   maxiops                            2048 
     HIMEM-2xCPU-16GB         2    16384            100   maxiops                            2048 
     HIMEM-4xCPU-32GB         4    32768            100   maxiops                            4096 
     HIMEM-4xCPU-64GB         4    65536            200   maxiops                            4096 
     HIMEM-6xCPU-128GB        6   131072            300   maxiops                            6144 
     HIMEM-8xCPU-192GB        8   196608            400   maxiops                            8192 
     HIMEM-12xCPU-256GB      12   262144            500   maxiops                           10240 
     HIMEM-16xCPU-384GB      16   393216            600   maxiops                           12288 
    
  Developer

     Name            Cores   Memory   Storage size   Storage tier   Transfer out (GiB/month) 
    ─────────────── ─────── ──────── ────────────── ────────────── ──────────────────────────
     DEV-1xCPU-1GB       1     1024             20   standard                           1024 
     DEV-1xCPU-2GB       1     2048             30   standard                           2048 
     DEV-1xCPU-4GB       1     4096             40   standard                           3072 
    

@kangasta kangasta requested a review from a team as a code owner July 3, 2024 10:32
@kangasta kangasta merged commit 127cf6e into main Jul 3, 2024
7 checks passed
@kangasta kangasta deleted the refactor/server-group-plans branch July 3, 2024 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants