[ 
https://issues.apache.org/jira/browse/SPARK-43419?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fei Wang updated SPARK-43419:
-----------------------------
    Description: 
make limit.cores be able to be fallen back to request.cores

now without limit.cores, we will meet below issue:
{code:java}
io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: POST 
at: https://****/api/v1/namespaces/hadooptessns/pods. Message: 
Forbidden!Configured service account doesn't have access. Service account may 
have been revoked. pods "****" is forbidden: failed quota: 
high-qos-limit-requests: must specify limits.cpu. {code}
If spark.kubernetes.executor/driver.limit.cores is not specified, how about 
treating request.cores as limit.cores?

  was:
make limit.cores be able to be fallen back to request.cores

now without limit.cores, we will meet below issue:
{code:java}
io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: POST 
at: https://****/api/v1/namespaces/hadooptessns/pods. Message: 
Forbidden!Configured service account doesn't have access. Service account may 
have been revoked. pods "****" is forbidden: failed quota: 
high-qos-limit-requests: must specify limits.cpu. {code}
If spark.kubernetes.executor/driver.limit.cores, how about treat request.cores 
as limit.cores?


> [K8S] Make limit.cores be able to be fallen back to request.cores
> -----------------------------------------------------------------
>
>                 Key: SPARK-43419
>                 URL: https://issues.apache.org/jira/browse/SPARK-43419
>             Project: Spark
>          Issue Type: Improvement
>          Components: Kubernetes
>    Affects Versions: 3.4.0
>            Reporter: Fei Wang
>            Priority: Major
>
> make limit.cores be able to be fallen back to request.cores
> now without limit.cores, we will meet below issue:
> {code:java}
> io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: 
> POST at: https://****/api/v1/namespaces/hadooptessns/pods. Message: 
> Forbidden!Configured service account doesn't have access. Service account may 
> have been revoked. pods "****" is forbidden: failed quota: 
> high-qos-limit-requests: must specify limits.cpu. {code}
> If spark.kubernetes.executor/driver.limit.cores is not specified, how about 
> treating request.cores as limit.cores?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to