Skip to content

Commit

Permalink
Make sure to display old deprecated instance sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
lauhon committed Oct 29, 2024
1 parent e19c610 commit cf49e61
Showing 1 changed file with 36 additions and 16 deletions.
52 changes: 36 additions & 16 deletions specification/resources/apps/models/app_component_instance_base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,44 @@ properties:

instance_size_slug:
description: 'The instance size to use for this component. Default: `apps-s-1vcpu-0.5gb`'
oneOf:
- $ref: 'old_instance_size_slug'
- type: string
enum:
- apps-s-1vcpu-0.5gb
- apps-s-1vcpu-1gb-fixed
- apps-s-1vcpu-1gb
- apps-s-1vcpu-2gb
- apps-s-2vcpu-4gb
- apps-d-1vcpu-0.5gb
- apps-d-1vcpu-1gb
- apps-d-1vcpu-2gb
- apps-d-1vcpu-4gb
- apps-d-2vcpu-4gb
- apps-d-2vcpu-8gb
- apps-d-4vcpu-8gb
- apps-d-4vcpu-16gb
- apps-d-8vcpu-32gb
default: apps-s-1vcpu-0.5gb
example: apps-s-1vcpu-0.5gb

old_instance_size_slug:
description: 'Deprecated in favor of more detailed instance size slugs. Default: `basic-xxs`'
type: string
enum:
- apps-s-1vcpu-0.5gb
- apps-s-1vcpu-1gb-fixed
- apps-s-1vcpu-1gb
- apps-s-1vcpu-2gb
- apps-s-2vcpu-4gb
- apps-d-1vcpu-0.5gb
- apps-d-1vcpu-1gb
- apps-d-1vcpu-2gb
- apps-d-1vcpu-4gb
- apps-d-2vcpu-4gb
- apps-d-2vcpu-8gb
- apps-d-4vcpu-8gb
- apps-d-4vcpu-16gb
- apps-d-8vcpu-32gb
default: apps-s-1vcpu-0.5gb
example: apps-s-1vcpu-0.5gb
- basic-xxs
- basic-xs
- basic-s
- basic-m
- professional-xs
- professional-s
- professional-m
- professional-1l
- professional-l
- professional-xl
default: basic-xxs
example: basic-xxs
deprecated: true

autoscaling:
description: Configuration for automatically scaling this component based on metrics.
Expand Down

0 comments on commit cf49e61

Please sign in to comment.