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

Add memory/CPU requests and limits to deploy command #987

Merged
merged 1 commit into from Nov 20, 2023

Conversation

alexellis
Copy link
Member

Description

Add memory/CPU requests and limits to deploy command

Motivation and Context

  • Allows for memory/CPU requests and limits to be passed via deploy and store deploy when no additional YAML file is being used.

How Has This Been Tested?

Tested by supplying requests values and looking at the output of faas-cli describe.

Removing the flags removed the values from the function.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

* Allows for memory/CPU requests and limits to be passed via
deploy and store deploy when no additional YAML file is
being used.

Tested by supplying requests values and looking at the output
of faas-cli describe.

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
@alexellis alexellis merged commit 9981e9e into master Nov 20, 2023
2 checks passed
@alexellis alexellis deleted the memory-cpu-via-cli branch November 20, 2023 12:03
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.

None yet

2 participants