Add resource reqs to driver and executor containers…#6
Open
erikerlandson wants to merge 17 commits intofoxish:k8s-supportfrom
Open
Add resource reqs to driver and executor containers…#6erikerlandson wants to merge 17 commits intofoxish:k8s-supportfrom
erikerlandson wants to merge 17 commits intofoxish:k8s-supportfrom
Conversation
* Use images with spark pre-installed * simplify staging for client.jar * Remove some tarball-uri code. Fix kube client URI in scheduler backend. Number executors default to 1 * tweak client again, works across my testing environments * use executor.sh shim * allow configuration of service account name for driver pod * spark image as a configuration setting instead of env var * namespace from spark.kubernetes.namespace * configure client with namespace; smooths out cases when not logged in as admin * Assume a download jar to /opt/spark/kubernetes to avoid dropping protections on /opt
* Add support for dynamic executors * fill in some sane logic for doKillExecutors * doRequestTotalExecutors signals graceful executor shutdown, and favors idle executors
Collaborator
Author
|
This initial push contains the logic to correctly align resource requests for the containers with the spark resource settings. However, when a pod fails to schedule due to insufficient resources, it remains in Before this merges, I want to add some logic for detecting when new executors are stuck in |
… spark resource settings for cores and memory
166f31e to
97c2b86
Compare
7566d27 to
f6ccb54
Compare
Collaborator
|
@erikerlandson - close this in favor of what we have on https://github.com/apache-spark-on-k8s/spark/? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add resource reqs to driver and executor containers, corresponding to spark resource settings for cores and memory.