Ryan Lo created SUBMARINE-669:
---------------------------------
Summary: notebook name contain only lowercase alphanumeric
characters or '-'
Key: SUBMARINE-669
URL: https://issues.apache.org/jira/browse/SUBMARINE-669
Project: Apache Submarine
Issue Type: Bug
Components: Workbench Notebook
Reporter: Ryan Lo
If we create a notebook instance with name "test.a", the notebook-controller
will return below error message.
Reissued from statefulset/test.a: create Pod test.a-0 in StatefulSet test.a
failed error: Pod "test.a-0" is invalid: [spec.containers[0].name: Invalid
value: "test.a": a DNS-1123 label must consist of lower case alphanumeric
characters or '-', and must start and end with an alphanumeric character (e.g.
'my-name', or '123-abc', regex used for validation is
'[a-z0-9]([-a-z0-9]*[a-z0-9])?'), spec.hostname: Invalid value: "test.a-0": a
DNS-1123 label must consist of lower case alphanumeric characters or '-', and
must start and end with an alphanumeric character (e.g. 'my-name', or
'123-abc', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?')]
Object names must follow the DNS label standard as defined in [RFC
1123|https://tools.ietf.org/html/rfc1123]
* contain at most 63 characters
* contain only lowercase alphanumeric characters or '-'
* start with an alphanumeric character
* end with an alphanumeric character
reference : [K8s object names and
IDs|https://kubernetes.io/docs/concepts/overview/working-with-objects/names/]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]