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

Validate model names #11

Open
YevheniiSemendiak opened this issue Oct 13, 2021 · 0 comments
Open

Validate model names #11

YevheniiSemendiak opened this issue Oct 13, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@YevheniiSemendiak
Copy link
Contributor

They should not contain underscores (_), otherwise we are getting

2021-10-13 07:44:40 - root - INFO - Deploying model: _DeployedModel(image='registry.default.org.neu.ro/yevheniisemendiak/ml_recipe_bone_age/inference:21.4.13', model_name='bone_age_predictor', model_storage_uri=URL('storage://default/yevheniisemendiak/ml_recipe_bone_age/mlruns/0/26e39c613b48477d8a2511748c9efecc/artifacts/model'), model_stage='Staging', model_version='1', source_run_id='26e39c613b48477d8a2511748c9efecc', deployment_namespace='seldon', need_redeploy=True)
The SeldonDeployment "bone_age_predictor-staging" is invalid: metadata.name: Invalid value: "bone_age_predictor-staging": 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])?)*')
2021-10-13 07:44:45 - root - ERROR - Unable to deploy '_DeployedModel(image='registry.default.org.neu.ro/yevheniisemendiak/ml_recipe_bone_age/inference:21.4.13', model_name='bone_age_predictor', model_storage_uri=URL('storage://default/yevheniisemendiak/ml_recipe_bone_age/mlruns/0/26e39c613b48477d8a2511748c9efecc/artifacts/model'), model_stage='Staging', model_version='1', source_run_id='26e39c613b48477d8a2511748c9efecc', deployment_namespace='seldon', need_redeploy=True)': Command 'kubectl apply -f /tmp/tmpx8e7hxlf' returned non-zero exit status 1.
2021-10-13 07:44:45 - root - INFO - Deployed models: bone_age_predictor-staging:1
@YevheniiSemendiak YevheniiSemendiak added the bug Something isn't working label Oct 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant