Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Server with name that includes v0.1 doesn't work #255

Open
samos123 opened this issue Oct 12, 2023 · 0 comments
Open

Server with name that includes v0.1 doesn't work #255

samos123 opened this issue Oct 12, 2023 · 0 comments

Comments

@samos123
Copy link
Contributor

samos123 commented Oct 12, 2023

Create a server with name like this mistral-7b-v0.1 and the following error will be thrown:

2023-10-12T05:28:19Z    ERROR   Reconciler error        {"controller": "server", "controllerGroup": "substratus.ai", "controlle
rKind": "Server", "Server": {"name":"mistral-7b-v0.1","namespace":"default"}, "namespace": "default", "name": "mistral-7b-v0.1"
, "reconcileID": "45ad963d-a029-4a68-96d2-216657dd58dd", "error": "failed to apply service: Service \"mistral-7b-v0.1-server\" 
is invalid: metadata.name: Invalid value: \"mistral-7b-v0.1-server\": a DNS-1035 label must consist of lower case alphanumeric 
characters or '-', start with an alphabetic character, and end with an alphanumeric character (e.g. 'my-name',  or 'abc-123', r
egex used for validation is '[a-z]([-a-z0-9]*[a-z0-9])?')"} 

workaround: remove . from the name

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant