hehuiyuan opened a new pull request #24839: [SPARK-27258][K8S]Deal with the k8s 
resource names that don't match their own regular expression
URL: https://github.com/apache/spark/pull/24839
 
 
   
   ## What changes were proposed in this pull request?
   The regex of Pod is 
^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*.
   The regex of Servive is ^[a-z]([-a-z0-9]*[a-z0-9])?.
   The regex of Secret is 
^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*.
   
   If --name=-min, the first character is '-' ,which does not satisfy the regex 
for Pod ,Service,Secret.
   if --name=1min, the first character is digit, which does not satisfy the 
regex for Service.
   
   [Previous Conflict PR](https://github.com/apache/spark/pull/24219)
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to