Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-48669

K8s resource name prefix follows DNS Subdomain Names rule

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.5.1
    • None
    • k8s

    Description

      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:

      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. 

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jshmchenxi Xi Chen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: