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
Conformance test for container that fails to start. #2010
area/APIAPI objects and controllersarea/test-and-releaseIt flags unit/e2e/conformance/perf test issues for product featureskind/featureWell-understood/specified features, ready for coding.kind/specDiscussion of how a feature should be exposed to customers.
If a container fails to come up, a Revision should not become ready.
We should define a sample that explicitly has and fails a readiness probe and ensure that when it is deployed it is never reported as Ready: True (or made the Configuration's LatestReadyRevision)
area/APIAPI objects and controllersarea/test-and-releaseIt flags unit/e2e/conformance/perf test issues for product featureskind/featureWell-understood/specified features, ready for coding.kind/specDiscussion of how a feature should be exposed to customers.
Activity
steuhs commentedon Sep 20, 2018
@mattmoor do you have any reference to the docs/implementation of readiness probe? Where is "Ready: True" coming from?
steuhs commentedon Oct 17, 2018
@tcnghia It seems Matt is busy. Would you be able to help with my questions?
tcnghia commentedon Oct 18, 2018
@steuhs
Ready=Trueis from the Status of the Revision. For example https://github.com/knative/serving/blob/master/test/conformance/blue_green_test.go#L221.The ReadinessProbe is specified in the Service or Configuration by setting the Spec.Container.ReadinessProbe field like this https://github.com/knative/docs/blob/4e9fb40c9d0fb1ec75db895cd2ddee7fc066200a/serving/samples/traffic-splitting/updated_configuration.yaml#L33 . This will be used as health check. Only when this health check passes we should mark Revision.Status.Ready to True. I believe Matt is asking for a test verifying this behavior.
mattmoor commentedon Oct 31, 2018
@steuhs Sorry, Github notifications are too much of a firehose. Any progress here, or should we unassign?
steuhs commentedon Nov 1, 2018
@mattmoor I am not sure if I would have any bandwidth for this. You can feel free to unassign
markusthoemmes commentedon Dec 19, 2018
/assign
This is in the works by #2722