Secure TLS to Thanos sidecar #7819
Replies: 1 comment
-
Hey @Kellen275! I'm here to help you with your Thanos sidecar TLS issue. Let's figure this out together! To enable secure TLS on the Thanos sidecar and resolve the EOF error with
By following these steps, you should be able to establish secure TLS communication for Thanos sidecar queries, resolving the EOF error with |
Beta Was this translation helpful? Give feedback.
-
Hi team! I'm deploying the Thanos sidecar via the kube-prometheus-stack (chart version 61.8.0, which uses the image
thanos/thanos:v0.36.0
for the sidecar).My goal is to enable secure TLS on the sidecar such that eventually I have an external Thanos query service securely query the sidecar. However, I haven't introduced Thanos query yet to keep the problem simple. For now I'm just running
grpcurl ... grpc.health.v1.Health.Check
to test connections.I've been able to successfully demonstrate non-TLS communications with the following kube-prometheus-stack values
With this I can run the following from an arbitrary pod with
grpcurl
I've attempted to enable TLS via the following chart values
However, if I then run
grpcurl
with certs, I receive the followingI can at least confirm the additional chart values have changed behavior of the sidecar, as my previous plaintext command no longer works
Any tips would be greatly appreciated!
Beta Was this translation helpful? Give feedback.
All reactions