-
Notifications
You must be signed in to change notification settings - Fork 697
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
Add Health to Logstash Status #7528
Conversation
This PR adds a Health column to the LogstashStatus, displaying * Green if all pods are ready, and all associations are configured and established * Yellow if not all pods are ready, but all associations are configured and established * Red if neither of those are true
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.
CI red because of the missing docs from make generate
.
I have tried to run with
cd hack/upgrade-test-harness && go run main.go --from-release=v2110 --to-release=upcoming --log-level=debug
but logstash health is still missing
2024-02-02T12:39:06.611Z DEBUG eck-upgrade.fixture Pod ls-ls-0 is running 8.12.0 {"step": "TestStatusOfResources[v2110]", "step": "CheckLogstash[v2110]"}
2024-02-02T12:39:06.611Z DEBUG eck-upgrade.fixture Status mismatch: want={health:green nodes:1 version:8.12.0} have={health: nodes:1 version:8.12.0} {"step": "TestStatusOfResources[v2110]", "step": "CheckLogstash[v2110]"}
Edit: The change is good and gives Health: green. Test failed because the command test against the old version of operator. LGTM
My steps to run the test
|
Thank you @pebrc! I don't have merge access to this repo, so would you mind hitting the merge button? |
This PR adds a Health column to the LogstashStatus, displaying
This closes #7527