Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
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
- 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
Attachments
Issue Links
- links to