You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2024/10/10 00:24:00 UTC
[jira] [Updated] (SPARK-48669) K8s resource name prefix follows DNS Subdomain Names rule
[ https://issues.apache.org/jira/browse/SPARK-48669?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated SPARK-48669:
-----------------------------------
Labels: pull-request-available (was: )
> K8s resource name prefix follows DNS Subdomain Names rule
> ---------------------------------------------------------
>
> Key: SPARK-48669
> URL: https://issues.apache.org/jira/browse/SPARK-48669
> Project: Spark
> Issue Type: Bug
> Components: k8s
> Affects Versions: 3.5.1
> Reporter: Xi Chen
> Priority: Major
> Labels: pull-request-available
>
> In SPARK-39614, we extended the allowed name length from 63 to 253 for executor pod and config map.
> However, when the pod name is exceeded length 253, we don't truncate it. This leads to error when creating the Spark pods.
> Error example:
> {code:java}
> Caused by: io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: POST at: https://kubernetes.default.svc.cluster.local:443/api/v1/namespaces/foo/pods. Message: Pod "some-super-long-spark-pod-name-exceeded-length-253-driver" is invalid: metadata.name: Invalid value: "some-super-long-spark-pod-name-exceeded-length-253-driver": must be no more than 253 characters. {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org