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 upkubernetes discovery broken for upgrade to 1.3 #2272
Comments
This comment has been minimized.
This comment has been minimized.
|
Prometheus |
This comment has been minimized.
This comment has been minimized.
|
thanks for your help, I have everything working again |
cameronbraid
closed this
Jan 19, 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. |
lock
bot
locked and limited conversation to collaborators
Mar 24, 2019
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
cameronbraid commentedDec 12, 2016
•
edited
What did you do?
Upgrade to 1.3
I'm not sure which version I upgraded from, as I was using "FROM prom/prometheus" rather than a tagged version
What did you expect to see?
A single target in prometheus with endpoint http://10.128.1.5:8081/prometheus
What did you see instead? Under which circumstances?
Two scrape target with both having state = DOWN
The first target has
So it looks to me like prometheus has identified container-2 as a target - which it shouldn't. Nothing is listening on port 80 in the pod.
The second target has
It is actually scraping http://10.128.1.5:8080 as I can see this in my webapp logs rather than http://10.128.1.5:8081 as per the annotations
Environment
openshift origin 1.3
pod has three containers, the first has 4 ports exposed the other two containers don't expose any ports yaml extract :
Linux 3.10.0-327.36.1.el7.x86_64 x86_64
prometheus, version 1.4.1 (branch: master, revision: 2a89e87)
build user: root@e685d23d8809
build date: 20161128-09:59:22
go version: go1.7.3