You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Daniel Majano (JIRA)" <ji...@apache.org> on 2018/08/22 10:45:00 UTC

[jira] [Created] (SPARK-25194) Kubernetes - Define cpu and memory limit to init container

Daniel Majano created SPARK-25194:
-------------------------------------

             Summary: Kubernetes - Define cpu and memory limit to init container
                 Key: SPARK-25194
                 URL: https://issues.apache.org/jira/browse/SPARK-25194
             Project: Spark
          Issue Type: New Feature
          Components: Kubernetes
    Affects Versions: 2.3.1
            Reporter: Daniel Majano


Hi,

 

Recently I have started to work with spark under kubernetes. We have all our kubernetes clusters with resources quotes, so if you want to do a deploy yo need to define container cpu and memory limit.

 

With driver and executors this is ok due to with spark submit props you can define this limits. But today for one of my projects, I need to load an external dependency. I have tried to define the dependency with --jars and the link with https so then, the init container will pop up and you don't have the possibility to define limits and the submitter failed due to he can't start the pod with driver + init container.

 

 

Thanks.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org