You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
when kn service create fails, there is no container error message #998
When a service create fails, sometimes the revision container error is empty, i.e. Container failed with: .. E.g.,
❱❱ kn service create example2 --image busybox
Creating service 'example2' in namespace '57aca2f5-aea8':
0.731s The Configuration is still working to reflect the latest desired specification.
1.100s The Route is still working to reflect the latest desired specification.
1.100s Configuration "example2" is waiting for a Revision to become ready.
19.764s Revision "example2-bpphv-1" failed with message: Container failed with: .
19.765s Configuration "example2" does not have any ready Revision.
Error: RevisionFailed: Revision "example2-bpphv-1" failed with message: Container failed with: .
Run 'kn --help' for usage
kn service describe example2 has the same problem.
I think it is not suitable to run an application using busybox image. The knative will test the probe which default port is 8080. I think budybox don't have such application server. You can use helloworld-go image instead.
those error messages are produced at server and relayed by client, @ericmillin do you mind opening the issue against serving ?
(since the client dont cross the boundary of knative APIs and cant inspect the underlying resources for the errors)
Activity
MIBc commentedon Sep 6, 2020
I think it is not suitable to run an application using busybox image. The knative will test the probe which default port is 8080. I think budybox don't have such application server. You can use helloworld-go image instead.
navidshaikh commentedon Sep 7, 2020
those error messages are produced at server and relayed by client, @ericmillin do you mind opening the issue against serving ?
(since the client dont cross the boundary of knative APIs and cant inspect the underlying resources for the errors)
ericmillin commentedon Sep 7, 2020
@MIBc I know why it didn't work. The point is the error message is empty.
@navidshaikh I created an issue in serving. Thanks :)