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
cilium: Don't report health error when disabled #17146
cilium: Don't report health error when disabled #17146
Conversation
9ff7fa5
to
7dc3dc4
Compare
Thanks for the review, I addressed the feedback with this diff:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Looks good to me, besides the nit that Tobias already mentioned.
7dc3dc4
to
805814b
Compare
test-me-please Job 'Cilium-PR-K8s-1.21-kernel-4.9' failed and has not been observed before, so may be related to your PR: Click to show.Test Name
Failure Output
If it is a flake, comment |
Hitting #16938. |
805814b
to
44aeb4a
Compare
/test Job 'Cilium-PR-K8s-1.20-kernel-4.19' failed and has not been observed before, so may be related to your PR: Click to show.Test Name
Failure Output
If it is a flake, comment Job 'Cilium-PR-K8s-1.21-kernel-4.9' failed and has not been observed before, so may be related to your PR: Click to show.Test Name
Failure Output
If it is a flake, comment |
test-1.20-4.19 run hit #16122. |
When the user configures --enable-health-checking=false, 'cilium status' would previously print: $ cilium status ... Cluster health: Warning cilium-health daemon unreachable This would occur despite the user explicitly disabling the feature. To better reflect whether the feature is enabled or not, check in the status response whether there is a health endpoint. If there is one, then the feature is enabled and we can query & print its status. If there isn't one, then the feature is disabled and we won't get a successful response anyway, so just report back that the feature is disabled instead: $ cilium status ... Cluster health: Probe disabled Signed-off-by: Joe Stringer <joe@cilium.io>
44aeb4a
to
c91afa6
Compare
/test Job 'Cilium-PR-K8s-GKE' failed and has not been observed before, so may be related to your PR: Click to show.Test Name
Failure Output
If it is a flake, comment EDIT: CI was broken due to VirtualBox 6.1 upgrade. Need to re-run. |
/mlh new-flake Cilium-PR-K8s-GKE 👍 created #17657 |
/test Job 'Cilium-PR-K8s-1.21-kernel-4.9' failed and has not been observed before, so may be related to your PR: Click to show.Test Name
Failure Output
If it is a flake, comment |
Failure is known flake #16664. |
When the user configures --enable-health-checking=false, 'cilium status'
would previously print:
This would occur despite the user explicitly disabling the feature. To
better reflect whether the feature is enabled or not, check in the
status response whether there is a health endpoint. If there is one,
then the feature is enabled and we can query & print its status. If
there isn't one, then the feature is disabled and we won't get a
successful response anyway, so just report back that the feature is
disabled instead: