-
Notifications
You must be signed in to change notification settings - Fork 1.2k
User-specified readiness probes with periodSeconds>0 should not be ignored #10764
Copy link
Copy link
Closed
Closed
Copy link
Labels
area/autoscalegood first issueDenotes an issue ready for a new contributor, according to the "help wanted" guidelines.Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.triage/acceptedIssues which should be fixed (post-triage)Issues which should be fixed (post-triage)
Metadata
Metadata
Assignees
Labels
area/autoscalegood first issueDenotes an issue ready for a new contributor, according to the "help wanted" guidelines.Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.triage/acceptedIssues which should be fixed (post-triage)Issues which should be fixed (post-triage)
What version of Knative?
all recent ones
Expected Behavior
setting a readinessprobe with period>0 should cause the container's readiness to be probed at the requested frequency for the life of the container
Actual Behavior
the probe is ignored after startup. See https://github.com/knative/serving/blob/master/pkg/queue/health/health_state.go#L87-L89.
Steps to Reproduce the Problem
ko apply -f https://github.com/julz/readybutnotsteady/blob/main/service.yamlcurl readynotsteady.default.$domain/start-failing