experiments icon indicating copy to clipboard operation
experiments copied to clipboard

constraints on experiment names

Open zach-nervana opened this issue 7 years ago • 1 comments

metadata.name: Invalid value: \"hierarchical_goals\": a DNS-1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*')"

Is there a reason underscores aren't permitted? I can see not wanting spaces to simplify certain space delimited interfaces, but still seems unnecessarily restricted.

zach-nervana avatar Apr 05 '18 01:04 zach-nervana

It is a kubernetes limitation, unfortunately. So the best we can do is to do input validation to make sure it fits the kubernetes naming requirements. Definitely a valid bug

nqn avatar May 09 '18 18:05 nqn