Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upK8s apiservers target detection broken after upgrade to v1.5.0 #2375
Comments
This comment has been minimized.
This comment has been minimized.
|
@alexsomesan do you think this could have anything to do with your changes? At first sight I don't see how, but maybe we can look into it. It's odd that all other targets are discovered though. |
This comment has been minimized.
This comment has been minimized.
|
That could be a possibility. I will try to reproduce it. |
This comment has been minimized.
This comment has been minimized.
|
@dannyk81 I tried reproducing this on a 1.5.2 cluster using the exact Prometheus configuration that you provided here, and I got the api servers discovered in both 1.4.1 and 1.5.0 without issues. Here's a screenshot of my discovered API server with Prometheus 1.5.0 (I only have one master in this test cluster). Is this what you would expect to see ? |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
I don't quite remember how long it took after the upgrade before I checked the Targets page, but indeed it could have been a few minutes. |
This comment has been minimized.
This comment has been minimized.
|
Yes, it seems to be intermittent. After a while my api-servers got discovered again. I'll keep looking into it. |
This comment has been minimized.
This comment has been minimized.
|
Interesting,,. I guess I didn't wait long enough for them to reappear. |
This comment has been minimized.
This comment has been minimized.
|
It looks like this could be the same issue discovered here: #2377 |
alexsomesan
referenced this issue
Feb 1, 2017
Closed
Relabeling with multiple target files broken in 1.5.0 #2377
This comment has been minimized.
This comment has been minimized.
|
@dannyk81 1.5.1 was released containing a patch that might just be the fix for this issue. Can you try it out? |
This comment has been minimized.
This comment has been minimized.
|
Of course, will test and update! |
This comment has been minimized.
This comment has been minimized.
|
@alexsomesan Confirm, v1.5.1 resolves this issue. Thanks! |
brancz
closed this
Feb 7, 2017
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 24, 2019
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |


dannyk81 commentedJan 27, 2017
What did you do?
Upgraded Prometheus from v1.4.1 to v1.5.0 (Configuration file unchanged)
What did you expect to see?
All targets discovered prior to the upgrade to be available.
What did you see instead? Under which circumstances?
kubernetes-apiserverstargets are missing, however all other targets were discovered (kubernetes-[nodes|pods|service-endpoints])Once reverted back to v1.4.1 the missing targets reappeared.
Environment
Prometheus v1.4.1 upgraded to v1.5.0
Running as a service in K8s cluster version 1.5.2
System information: Official docker image
prom/prometheusPrometheus version: v1.5.0
Prometheus configuration file: