-
Notifications
You must be signed in to change notification settings - Fork 771
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
kompose passes a kubernetes deployment without image #571
Comments
@surajssd Working on this. |
@cdrage I would not want to do magic here and ask user to specifically provide the image name, because then user might be confused why this is failing! |
@surajssd I don't believe it's magic. This is how Docker Compose does it while building, so I don't see a problem with it converting to Kubernetes and taking the appropriate Docker Image name as the service name. #521 will be adding the build functionality, so it may be best to wait until that's merged and then we can update this issue #571 in regards to warning the user that in-fact, there was no image specified and it will be using the service name for building / deployment. |
This should fail now right ? |
@surajssd No? I thought my comments address why having no image is still valid with build (it builds the docker container and tags it) |
Issues go stale after 90d of inactivity. Prevent issues from auto-closing with an If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or |
I have a docker-compose service with build specified but without image. So since kompose has no build support with kubernetes so it should error out saying that there is no image provided.
I am using following docker-compose file:
So I would recommend that we suggest user to add one more additional field called
image
to provide the image name explicitly.The text was updated successfully, but these errors were encountered: