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

Feature/add driver core limit option #44 #140

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

oliver-tarrant-tessella
Copy link
Contributor

Add the optional parameters so that users can set the driver pod and executor pods cpu limit. This controls the amount of cpu any of the spark applications can use while it was previously unrestricted. The spark operator accepts these limits in units of millicpu (e.g."300m" for 300 millicpu), however, the spark operator accepts the cpu requests in terms of a decimal quantity of cpu (e.g. 0.3 for 0.3 cpu = 300m = 300 millicpu). As this is how we have already implemented the argument for cpu request we have used the same units in for the new parameters. Note, when not specified the default value is passed straight from the validation rules to the spark operator and thus must be in units of millicpu.
#44

@oliver-tarrant-tessella
Copy link
Contributor Author

System tests should still be run before merging this PR

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

Successfully merging this pull request may close these issues.

2 participants