Skip to content

Commit a78eac9

Browse files
authored
Bump max instance RAM to 1536 GiB (#2858)
Since oxidecomputer/omicron#8527 the control plane has been happy to accept such sizes.
1 parent 320a6c4 commit a78eac9

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

app/api/util.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,17 @@ import type {
2323
VpcFirewallRuleUpdate,
2424
} from './__generated__/Api'
2525

26-
// API limits encoded in https://github.com/oxidecomputer/omicron/blob/b7af5f8e/nexus/src/app/mod.rs
26+
// API limits encoded in https://github.com/oxidecomputer/omicron/blob/aec3cd8d/nexus/src/app/mod.rs
2727

2828
export const MAX_NICS_PER_INSTANCE = 8
2929

3030
export const INSTANCE_MAX_CPU = 64
3131
export const INSTANCE_MIN_RAM_GiB = 1
32-
export const INSTANCE_MAX_RAM_GiB = 1024
32+
export const INSTANCE_MAX_RAM_GiB = 1536
3333

3434
export const MIN_DISK_SIZE_GiB = 1
3535
/**
36-
* Disk size limited to 1023 as that's the maximum we can safely allocate right now
36+
* Disk size limited to 1023 as that's the maximum we can safely allocate right now
3737
* @see https://github.com/oxidecomputer/omicron/issues/3212#issuecomment-1634497344
3838
*/
3939
export const MAX_DISK_SIZE_GiB = 1023

test/e2e/instance-create.e2e.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -634,12 +634,12 @@ test('Validate CPU and RAM', async ({ page }) => {
634634
// make sure it's not clamping the value
635635
await expect(cpu).toHaveValue('999')
636636

637-
await memory.fill('1025')
637+
await memory.fill('1537')
638638

639639
const submitButton = page.getByRole('button', { name: 'Create instance' })
640640

641641
const cpuMsg = page.getByText('Can be at most 64').first()
642-
const memMsg = page.getByText('Can be at most 1024 GiB').first()
642+
const memMsg = page.getByText('Can be at most 1536 GiB').first()
643643

644644
await expect(cpuMsg).toBeHidden()
645645
await expect(memMsg).toBeHidden()

0 commit comments

Comments
 (0)