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 upThe vendored kubernetes client is completely obsolete #4021
Comments
This comment has been minimized.
This comment has been minimized.
|
There was a pull request to upgrade but was closed unfortunatelly |
This comment has been minimized.
This comment has been minimized.
|
yep that was, me it is too big of change and without a proper e2e test it is a bit like shooting in the dark. The request to the k8s api server are going through the wire so why would it matter what golang version is Prometheus and k8s built on? if anyone can test it in some staging environment and can confirm that it doesn't brake anything we might consider merging it. |
This comment has been minimized.
This comment has been minimized.
|
I could test it in our staging env that shouldn't be a problem. Will you have the time to rebase it any time soon or should I rebase it by myself? |
This comment has been minimized.
This comment has been minimized.
|
rebased and attached file if you want to test it, or make a new build from my branch. |
This comment has been minimized.
This comment has been minimized.
|
Great thanks |
This comment has been minimized.
This comment has been minimized.
|
any progress with the tests? |
krasi-georgiev
added
the
component/service discovery
label
Apr 9, 2018
This comment has been minimized.
This comment has been minimized.
|
It's up and running and I didn't see any problems for the last 12 days. Unfortunately I didn't have much spare time so I didn't get to any load testing (the staging environment is not saturated that much). Hopefully will get to that soon but as I said, it looks promising. |
This comment has been minimized.
This comment has been minimized.
|
no rush, it is best to test properly. |
This comment has been minimized.
This comment has been minimized.
|
Closed by #4336 |
simonpasquier
closed this
Aug 3, 2018
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 22, 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. |
nim-nim commentedMar 28, 2018
Prometheus badly needs to resync its kubernetes vendoring.
It is still vendoring the kubernetes client 3.0 that was released in July 2017. Since then kubernetes started syncing their package versions, so the current client is 1.10.0 like kubernetes itself.
During all those releases numerous bugs and security issues were fixed.
Prometheus is building with Go 1.10; but kubernetes itself is not supporting Go 1.10 and will never support it for such ancient releases as 3.0 client. Prometheus needs to get closer to the current kubernetes version to get a chance to be supported when Go 1.10 support ships in kubernetes.