You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I'm the user of Thanos components, deployed thanos sidecar, thanos query, thanos store on client kubernetes environment for scalability of prometheus metrics. I'm in the process of evaluating thanos receiver (as alternative to thanos sidecar) to receive prometheus metrics directly via remote-write. I'm able to test it successfully. I'm trying to implement secure way to connect from prometheus (client) - remote-write to Thanos Receiver via mTLS / http.config. I'm able test using own certs mTLS is validated. But, if i define the experimental (--http.config=/conf/config.yaml) with config.yaml having mounted as configmap - thanos-receiver always restarts due to signal (SIGKILL?) received. logs below
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I'm the user of Thanos components, deployed thanos sidecar, thanos query, thanos store on client kubernetes environment for scalability of prometheus metrics. I'm in the process of evaluating thanos receiver (as alternative to thanos sidecar) to receive prometheus metrics directly via remote-write. I'm able to test it successfully. I'm trying to implement secure way to connect from prometheus (client) - remote-write to Thanos Receiver via mTLS / http.config. I'm able test using own certs mTLS is validated. But, if i define the experimental (--http.config=/conf/config.yaml) with config.yaml having mounted as configmap - thanos-receiver always restarts due to signal (SIGKILL?) received. logs below
level=debug ts=2023-05-06T06:06:56.274729099Z caller=receive.go:637 component=receive component=uploader msg="upload phase done" uploaded=0 elapsed=1.876251ms
level=info ts=2023-05-06T06:07:25.482602924Z caller=main.go:172 msg="caught signal. Exiting." signal=terminated
level=warn ts=2023-05-06T06:07:25.483264688Z caller=intrumentation.go:67 component=receive msg="changing probe status" status=not-ready reason=null
my sample config.yaml (mounted as configmap on thanos-receiver pod as below)
apiVersion: v1
data:
config.yaml: |
basic_auth_users:
testuser:
kind: ConfigMap
metadata:
name: thanos-http-conf
namespace:
What could be issue? my sample aruguments passed to thanos receiver as below (CMD_TYPE --> receive )
Please clarify
Beta Was this translation helpful? Give feedback.
All reactions