Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

{serverinstall/builtin}/nomad: Provide config values for memory and CPU #1318

Merged
merged 8 commits into from
Apr 20, 2021

Conversation

briancain
Copy link
Member

@briancain briancain commented Apr 12, 2021

This commit introduces config options to use when defining a Server and
Runner nomad job config. If no option is specified, it will use the
configured defaults for Waypoint. This commit also increases the default
CPU in MHz to 200 and Memory in MB to 600 (double the default for Nomad
tasks)

It also introduces resources stanza for nomads deploy. Unlike the install for a server and runner, it sticks to the default resource size.

Fixes #1302

@github-actions github-actions bot added the core label Apr 12, 2021
@briancain briancain requested a review from a team April 12, 2021 15:54
@mitchellh
Copy link
Contributor

This looks good! I think the thing we should check is if this is enough. We can run our Lambda GitOps demo through this, I can do that soon.

@briancain
Copy link
Member Author

@mitchellh - perfect! Thanks. Let me know and I'll update the default vars in the PR

@nateberkopec
Copy link

LGTM!

This commit introduces config options to use when defining a Server and
Runner nomad job config. If no option is specified, it will use the
configured defaults for Waypoint. This commit also increases the default
CPU in MHz to 200 and Memory in MB to 600 (double the default for Nomad
tasks)

Fixes #1302
This commit introduces a 'resources' stanza to allow users to configure
CPU and Memory per-deploy. It uses the default resources if left
unspecified.
@briancain briancain changed the title serverinstall/nomad: Provide config values for memory and CPU {serverinstall/builtin}/nomad: Provide config values for memory and CPU Apr 13, 2021
Copy link
Contributor

@krantzinator krantzinator left a comment

Choose a reason for hiding this comment

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

resource config looks great!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remote runner job for Nomad clusters OOMs when doing basic tasks
4 participants