-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
start minio server with tls #4991
Conversation
fed7d0f
to
584f38e
Compare
/assign @yeya24 Please take a look. Thanks. |
Readiness: e2e.NewHTTPReadinessProbe("http", "/minio/health/ready", 200, 200), | ||
Command: e2e.NewCommandWithoutEntrypoint("sh", "-c", fmt.Sprintf(strings.Join(commands, " && "), minioKESGithubContent, minioKESGithubContent, bktName, 8090)), | ||
//TODO(@clyang82): This is a temporary workaround for https://github.com/efficientgo/e2e/issues/9 | ||
//Readiness: e2e.NewHTTPReadinessProbe("http", "/minio/health/ready", 200, 200), |
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.
I'm wondering if this could not increase flakiness somewhere down the road, since we'll be assuming minio
is ready straight away 🤔. Could we try to do the readiness probe with the workaround I described in that commented issue?
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.
Do you mean try to do the readiness probe with the workaround here? I think we should support this feature in efficientgo/e2e
and then update here.
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.
I'm not sure how soon that will be fixed in the upstream, but the flakiness could be immediate. I would agree with either solution (workaround or fix it upstream) as long as it can be done ASAP.
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.
@matej-g please look at the fix in upstream - efficientgo/e2e#19
I also have a workaround for the readiness probe so that we can merge it this PR firstly. I can open another PR once the upstream fix is acceptable.
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.
Awesome! Thanks a ton for addressing my concern, this is looking good now 👍. We can replace it with proper option once it lands in the upstream.
99f049c
to
2921651
Compare
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.
This now looks ready to me, I'm just not sure about the test failure, I cannot tell if it's related or not. Otherwise looking good to go 😊.
Thanks @matej-g . I did test in my local environment. it works well. so it seems it is not related with my fix. |
From logs it seems the issue is with
Since we're touching the readiness probe, I'm wondering if this is having any effect or the |
Signed-off-by: clyang82 <[email protected]>
Signed-off-by: clyang82 <[email protected]>
Signed-off-by: clyang82 <[email protected]>
Signed-off-by: clyang82 <[email protected]>
Signed-off-by: clyang82 <[email protected]>
Signed-off-by: clyang82 <[email protected]>
Signed-off-by: clyang82 <[email protected]>
Signed-off-by: clyang82 <[email protected]>
Signed-off-by: clyang82 <[email protected]>
It passes the thanos end-to-end tests by adding |
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.
🏆
@GiedriusS Can you help to review again? Thanks. |
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.
LGTM
Thank you @yeya24 |
Signed-off-by: clyang82 [email protected]
Changes
Enable e2e connect MinIO with TLS enabled:
tls_config
fieldpart of #4820
Verification