opensearch-project / opensearch-k8s-operator

OpenSearch Kubernetes Operator
Apache License 2.0
387 stars 202 forks source link

kube-rbac-proxy TLS handshake error #757

Closed oleksii-kalinin closed 6 months ago

oleksii-kalinin commented 6 months ago

What is the bug?

kube-rbac-proxy produces a lot of error messages. Q: what is it, and how to configure it properly?

How can one reproduce the bug?

Steps to reproduce the behavior.

What is the expected behavior?

A clear and concise description of what you expected to happen.

What is your host/environment?

Operating system, version.

Do you have any screenshots?

If applicable, add screenshots to help explain your problem.

Do you have any additional context?

I0311 15:22:31.616026       1 main.go:186] Valid token audiences: 
I0311 15:22:31.616110       1 main.go:306] Generating self signed cert as no cert is provided
I0311 15:22:39.118984       1 main.go:356] Starting TCP socket on 0.0.0.0:8443
I0311 15:22:39.213685       1 main.go:363] Listening securely on 0.0.0.0:8443
2024/03/11 15:22:41 http: TLS handshake error from 10.1.7.126:41264: EOF
2024/03/11 15:22:41 http: TLS handshake error from 10.1.7.126:41262: EOF
2024/03/11 15:22:56 http: TLS handshake error from 10.1.7.126:46906: EOF
2024/03/11 15:22:56 http: TLS handshake error from 10.1.7.126:46892: EOF
2024/03/11 15:23:11 http: TLS handshake error from 10.1.7.126:57222: EOF
2024/03/11 15:23:11 http: TLS handshake error from 10.1.7.126:57206: EOF
2024/03/11 15:23:26 http: TLS handshake error from 10.1.7.126:47010: EOF
2024/03/11 15:23:26 http: TLS handshake error from 10.1.7.126:47018: EOF
2024/03/11 15:23:41 http: TLS handshake error from 10.1.7.126:49166: EOF
2024/03/11 15:23:41 http: TLS handshake error from 10.1.7.126:49164: EOF
2024/03/11 15:23:56 http: TLS handshake error from 10.1.7.126:55208: EOF
2024/03/11 15:23:56 http: TLS handshake error from 10.1.7.126:55194: EOF
2024/03/11 15:24:11 http: TLS handshake error from 10.1.7.126:40592: EOF
2024/03/11 15:24:11 http: TLS handshake error from 10.1.7.126:40602: EOF
2024/03/11 15:24:26 http: TLS handshake error from 10.1.7.126:52204: EOF
2024/03/11 15:24:26 http: TLS handshake error from 10.1.7.126:52198: EOF
2024/03/11 15:24:41 http: TLS handshake error from 10.1.7.126:57704: EOF
2024/03/11 15:24:41 http: TLS handshake error from 10.1.7.126:57702: EOF
2024/03/11 15:24:56 http: TLS handshake error from 10.1.7.126:50356: EOF
2024/03/11 15:24:56 http: TLS handshake error from 10.1.7.126:50340: EOF
2024/03/11 15:25:11 http: TLS handshake error from 10.1.7.126:32894: EOF
2024/03/11 15:25:11 http: TLS handshake error from 10.1.7.126:32906: EOF
2024/03/11 15:25:26 http: TLS handshake error from 10.1.7.126:47096: EOF
2024/03/11 15:25:26 http: TLS handshake error from 10.1.7.126:47092: EOF
2024/03/11 15:25:41 http: TLS handshake error from 10.1.7.126:45280: EOF
2024/03/11 15:25:41 http: TLS handshake error from 10.1.7.126:45276: EOF
2024/03/11 15:25:56 http: TLS handshake error from 10.1.7.126:57300: EOF
2024/03/11 15:25:56 http: TLS handshake error from 10.1.7.126:57298: EOF
2024/03/11 15:26:11 http: TLS handshake error from 10.1.7.126:37008: EOF
2024/03/11 15:26:11 http: TLS handshake error from 10.1.7.126:37006: EOF
2024/03/11 15:26:26 http: TLS handshake error from 10.1.7.126:54604: EOF
2024/03/11 15:26:26 http: TLS handshake error from 10.1.7.126:54592: EOF
2024/03/11 15:26:41 http: TLS handshake error from 10.1.7.126:52554: EOF
2024/03/11 15:26:41 http: TLS handshake error from 10.1.7.126:52540: EOF
2024/03/11 15:26:56 http: TLS handshake error from 10.1.7.126:39074: EOF
2024/03/11 15:26:56 http: TLS handshake error from 10.1.7.126:39070: EOF
2024/03/11 15:27:11 http: TLS handshake error from 10.1.7.126:35000: EOF
2024/03/11 15:27:11 http: TLS handshake error from 10.1.7.126:35012: EOF
2024/03/11 15:27:26 http: TLS handshake error from 10.1.7.126:32986: EOF
2024/03/11 15:27:26 http: TLS handshake error from 10.1.7.126:32972: EOF
2024/03/11 15:27:41 http: TLS handshake error from 10.1.7.126:33764: EOF
2024/03/11 15:27:41 http: TLS handshake error from 10.1.7.126:33762: EOF
2024/03/11 15:27:56 http: TLS handshake error from 10.1.7.126:47984: EOF
2024/03/11 15:27:56 http: TLS handshake error from 10.1.7.126:47978: EOF
oleksii-kalinin commented 6 months ago

It looks like it's a health probe issue. https://github.com/brancz/kube-rbac-proxy/issues/194