Closed rvesse closed 6 years ago
On further analysis the problem is not the numeric segment but the use of the upper case letters
I will hopefully have a PR out for review once I have validated my fix
@rvesse I think this is already fixed in https://github.com/apache-spark-on-k8s/spark/pull/612.
Duplicate of #612
Trying to run a job with Kerberos support, once I get all the configuration and environment correct so that it does the Kerberos login I get an error reported by K8S because the generate secret name is considered invalid:
I think this is because the last segment is generated with a purely numeric value which fails the validation regex on the API server -
[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*
- that requires every segment to start with a alphabetic characterMy Kubernetes version is as follows: