Working with service name but not with ingress over https #619
Answered
by
tutaidalal
tutaidalal
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Once i disable the auth from my ingress, its working now. Can's see how to pass the username password of my ingress as basic auth in server group config, can anyone please suggest the configuration |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi I tried to configure multiple prom endpoints using service name in kubernetes, it worked. However whenever I am trying to use ingress instead of service as I want to get the data from another cluster, its not showing any matrices.
I have enable debug log and i can see that te http call is returning success, still no data found. Can someone put some light to help me.
Config:
server_groups:
- anti_affinity: 10s
http_client:
tls_config:
insecure_skip_verify: true
ignore_error: true
labels:
source: nb1-federation
path_prefix:
scheme: https
static_configs:
- targets:
-
HTTP Call Log -
time="2023-10-05T05:14:16Z" level=debug msg="https:///" api=Query query=node_network_name_assign_type ts="2023-10-05 05:14:12.863 +0000 UTC"
time="2023-10-05T05:14:16Z" level=debug msg="https:///" api=Query query=node_network_name_assign_type took=168.344446ms ts="2023-10-05 05:14:12.863 +0000 UTC"
10.244.0.13 - - [05/Oct/2023 05:14:16] "GET /api/v1/query HTTP/1.1 200 87" 0.168909 query=node_network_name_assign_type&time=1696482852.863
HTTP Call Log -
time="2023-10-05T05:14:21Z" level=debug msg="https:///" api=LabelValues label=name took=70.458394ms
time="2023-10-05T05:14:21Z" level=debug msg=LabelValues matchers="[]" name=name took=70.685796ms
Beta Was this translation helpful? Give feedback.
All reactions