Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant