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
Report event for the cases when probe returned Unknown result #116026
Comments
@SergeyKanzhelev: GuidelinesPlease ensure that the issue body includes answers to the following questions:
For more details on the requirements of such an issue, please see here and ensure that they are met. If this request no longer meets these requirements, the label can be removed In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
This issue is currently awaiting triage. If a SIG or subproject determines this is a relevant issue, they will accept it by applying the The Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/assign |
/assign |
/assign |
/assign |
@apimpalgaonkar @nerdynikhil Hi, seems like @VishalPraneeth is really working for it and created a PR, |
/assign |
let me work on this issue now please |
/assign |
/assign |
let me sove a issue, i am beginner to git please suggest me a easy issue to resolve |
Hey everyone. Just saw this issue assigned to multiple people and multiple PRs raised already. Was curious to know if the issue is resolved or is it up for grabs? |
Implement logging and event exposing in the case of an "Unknown" probe result in the kubernetes/pkg/kubelet/prober/prober.go file. This can be done by adding a new line of code similar to the existing line 113: For each instance where probes potentially return an "Unknown" result, you should have a corresponding test case to validate this scenario. These tests can be either end-to-end (e2e) tests or unit tests. Refer to the example of an e2e test that results in an "Unknown" result from an exec probe in the link you provided (Liveness Probe with an invalid command doesn't trigger container restarts and ContainersReady remains True #106682). |
Hi,I was looking for an Open issue with "Good first use" label. I would like to work on this issue if this is still not fixed |
/assign |
ok |
/assign |
There are a few cases when the Unknown result can be returned by the probe. For example see: #106682.
It will be useful to expose those in logs and as an event similar to what we do for Warning:
kubernetes/pkg/kubelet/prober/prober.go
Line 115 in 35f3fc5
What needs to be done:
Unknown
probe result somewhere aroundkubernetes/pkg/kubelet/prober/prober.go
Line 115 in 35f3fc5
Unknown
result have a test that validates this test case. It may be either e2e test or unit test. You may find an example of e2e test that results in Unknown result from exec probe in one of the links from Liveness Probe with an invalid command doesn't trigger container restarts and ContainersReady remains True #106682/sig node
/help wanted
/good-first-issue
/priority backlog
This issue is marked as "good first issue". Before assigning issue to yourself, please make sure you understand the assignment and list cases you will need to cover with tests.
cc @aojea
The text was updated successfully, but these errors were encountered: