lithops-cloud / lithops

A multi-cloud framework for big data analytics and embarrassingly parallel jobs, that provides an universal API for building parallel applications in the cloud ☁️🚀
http://lithops.cloud
Apache License 2.0
317 stars 105 forks source link

service name is too long when using backend knative #991

Closed dunty closed 2 years ago

dunty commented 2 years ago

The code below will cause metadata.name exceed the limit 63 bytes of DNS label, in lithops/serverless/backends/knative/knative.py, line 442 and in other functions:

service_name = self._format_service_name(docker_image_name, runtime_memory)

if docker_server name is long enough.