-
Notifications
You must be signed in to change notification settings - Fork 301
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix metrics performance issue #15 #38
Fix metrics performance issue #15 #38
Conversation
I might be hitting this with rancher-desktop, causing metrics-server to sometimes timeout. It takes 12 seconds to get stats from kubelet:
|
I can confirm this fixes the issue I'm seeing. |
I'm seeing the same behavior. With a few application pods running, it can take 20 seconds. |
It includes the "Fix metrics performance issue" PR that isn't getting merged by Mirantis: Mirantis/cri-dockerd#38. Signed-off-by: Jan Dubois <[email protected]>
It includes the "Fix metrics performance issue" PR that isn't getting merged by Mirantis: Mirantis/cri-dockerd#38. Signed-off-by: Jan Dubois <[email protected]>
It includes the "Fix metrics performance issue" PR that isn't getting merged by Mirantis: Mirantis/cri-dockerd#38. Signed-off-by: Jan Dubois <[email protected]>
There are two errors in this code Fix: |
Also docker container stat PrivateWorkingSet returning 0 on linux Comment says that this is windows memory stat and may be this fix required: |
Doesn’t look to me like the bugs mentioned above were addressed in the merged code? |
No, they were not. Maybe someone needs to open them as additional PRs. There are also changes required to the Github Action code to make it still build and test correctly (needs bump to Golang 1.18, and changes to the test runner command). |
The github workflows were updated to 1.18, and ginkgo updated to match. No, nobody needs to open these as additional PRs. I'm tracing down this moby issue in GH runners, then building debs/rpms/static binaries before cutting a release once it's confirmed that it's actually moby |
Thank you very much for looking into this! |
Sorry it took so long. It's a constant fight with Github, since it doesn't send me any notifications at all unless someone @s me, despite being subscribed to/a maintainer of this repo. Considering that 0.2.0 was verified working with minikube in January or so, and dockershim/cri-dockerd was more or less complete (it's unlikely that log streaming, for example, will ever actually make it in despite being part of the CRI spec), this repo got put on the back burner until 1.24 was near for testing. Then I saw a bunch of old PRs/issues. I'm just gonna set a calendar reminder to check the issues/PRs so I don't let it languish. |
Thanks, very much appreciated. Otherwise I can also ping Brent again, now that I know that he works with you. 😄 |
That, too. Github is just as easy though ;) |
I'm unclear why it was merged as is if there are known issues? The |
Which the follow-up PR linked here resolves. Frankly, I didn't see the comments about it until after merging the PR (the assumption would normally be that the PR would have been updated), which is the reason for an immediate turnaround patch before releasing. |
Ah! I missed it being included in the other PR, sorry for the confusion! |
Fix metrics performance issue #15
Details see #15