-
Notifications
You must be signed in to change notification settings - Fork 59
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
fix: use thanos default port in service and containerPort #414
Conversation
/lgtm any reason on why it was only listening on localhost before? I assume it was proxied but it'd be good to clarify this on the PR message. |
No reason, just a mistake :) |
hmm it does seem that tests still are targeting the 9090 port |
Ok at least my local test failure reproduces here too.
Not sure what's happening here yet. |
I don't think so. This error happens in |
Or am I just not smart enough to read the output correctly 🤔 |
Sure looks that way. Testing locally now since here it was failing in a prometheus test. |
d99df05
to
a9282d5
Compare
Ok this is the error I'm seeing locally too:
Port 9090 is correct in this context and this code didn't change. |
Yep, I was a bit too quick into this as the port was just matching the one you changed over there, but after checking the tests code this should be unrelated. |
@sthaha mind taking a look at this? thanks! |
d5ffd5a
to
bae78cf
Compare
I have disabled the test for evicting alertmanager pods under the PDB for now. I'll keep investigating this, but I also wonder whether this is a test we need to run. I'd argue we test k8s api here and that is out of scope for this operator. |
/retest |
bae78cf
to
2e0cfac
Compare
/retest |
1 similar comment
/retest |
Ok this seems to be fairly stable now. A quick outline about the commits included here:
|
a41a42b
to
9c35983
Compare
Before thanos was only listening on localhost. Relying on the default setting allows user to modify that via server side apply and add a proxy chain. Signed-off-by: Jan Fajerski <[email protected]>
Mostly this is replacing deprecated functions and attempting to reduce timing dependent behavior by waiting for expected resources to show up. Signed-off-by: Jan Fajerski <[email protected]>
Also add the -count 1 flag (so results are never cached) and drop the --retain flag (not sure what that ever did). Signed-off-by: Jan Fajerski <[email protected]>
Signed-off-by: Jan Fajerski <[email protected]>
9c35983
to
988ca25
Compare
/retest |
2 similar comments
/retest |
/retest |
@jan--f: The following test failed, say
Full PR test history. Your PR dashboard. 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. I understand the commands that are listed here. |
@@ -154,7 +155,7 @@ run_e2e() { | |||
watch_obo_errors "$obo_error_log" & | |||
|
|||
local ret=0 | |||
go test -v -failfast -timeout $TEST_TIMEOUT ./test/e2e/... --retain=true | tee "$LOGS_DIR/e2e.log" || ret=1 | |||
go test -v -failfast -timeout $TEST_TIMEOUT ./test/e2e/... -run "$RUN_REGEX" -count 1 | tee "$LOGS_DIR/e2e.log" || ret=1 |
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.
neat on the addition on the regex!
/lgtm |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: danielmellado, jan--f The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Before thanos was only listening on localhost. Relying on the default setting allows user to modify that via server side apply and add a proxy chain.
Fixes: https://issues.redhat.com/browse/COO-14