-
Notifications
You must be signed in to change notification settings - Fork 5
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
[bug] kn faas deploy fails when used with quay.io #24
Comments
@nainaz isn't the repo private? |
There is inconsistency Edit this belong to another issue. |
@matejvasek the problem is that we have moved the push to a registry to happen in the deploy step. However, if you are using quay.io then your first deploy will always fail the first time. You can often make the repository public in time for Knative to not give up, but still that's non-optimal. We either need to move the push to a registry back into the build step, or somehow deal with quay.io being awful.
I don't think that is the case, is it? IIRC |
I was wrong about this. The |
@lance If you use |
buildConfig: buildConfig{
Registry: prompt.ForString("Registry for Function images", c.buildConfig.Registry),
},
// vs
return buildConfig{
Path: prompt.ForString("Path to project directory", c.Path),
Image: prompt.ForString("Image name", imageName, prompt.WithRequired(true)),
Verbose: c.Verbose,
// Registry not prompted for as it would be confusing when combined with explicit image. Instead it is
// inferred by the derived default for Image, which uses Registry for derivation.
} |
Describe the bug
For node runtime, after running
kn faas build
. Runningkn faas deploy
fails withError: knative deployer failed to wait for the service to become ready: timeout: service 'testdaynodefunc' not ready after 60 seconds
To Reproduce
Steps to reproduce the behavior:
Expected behavior
successful deploy of the function
Screenshots
docker images | grep testday
testdayquarkfunction latest fb2b0f91d03c 40 years ago 394MB
Desktop (please complete the following information):
Additional context
Looks like push to quay.io is part of deploy step and since quay.io repo needs to be made public beforehand. This fails due to unavailability of the image.
The text was updated successfully, but these errors were encountered: