Skip to content

kola: add minMemory in kola.json (external tests)#1651

Merged
openshift-merge-robot merged 2 commits intocoreos:masterfrom
jlebon:pr/min-memory
Aug 11, 2020
Merged

kola: add minMemory in kola.json (external tests)#1651
openshift-merge-robot merged 2 commits intocoreos:masterfrom
jlebon:pr/min-memory

Conversation

@jlebon
Copy link
Member

@jlebon jlebon commented Aug 11, 2020

For the root reprovisioning work, we need to be able to temporarily save
the rootfs into RAM. This means we need at least 4G of RAM.

Add a new minMemory field which tells the platform to make sure the
machine provisioned has at least that amount of memory. On QEMU, this
directly controls the memory of the machine. On cloud platforms, it
would affect the instance type to use. But for now, we only actually
handle this field on QEMU.

jlebon added 2 commits August 10, 2020 21:23
For the root reprovisioning work, we need to be able to temporarily save
the rootfs into RAM. This means we need at least 4G of RAM.

Add a new `minMemory` field which tells the platform to make sure the
machine provisioned has at least that amount of memory. On QEMU, this
directly controls the memory of the machine. On cloud platforms, it
would affect the instance type to use. But for now, we only actually
handle this field on QEMU.
Copy link
Contributor

@darkmuggle darkmuggle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

This seems cleaner to me. I like the switch to using a MachineOption over the additionalDisks.

@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ashcrow, darkmuggle, jlebon

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:
  • OWNERS [ashcrow,darkmuggle,jlebon]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-robot openshift-merge-robot merged commit 99ea017 into coreos:master Aug 11, 2020
@cgwalters
Copy link
Member

I'm ok with this but I think what we should do instead in the future is support something like openstack/aws instance sizes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants