You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mirantis/cri-dockerd#38 seems to fix the issue. Replacing the binary and running /etc/init.d/cri-dockerd restart and curling the endpoint returns immediately.
Actual Behavior
cri-dockerd metrics performance is much worse than with dockershim. See Mirantis/cri-dockerd#15 rancher/rke#2716 and rancher/rke#2709
Steps to Reproduce
LIMA_HOME="$HOME/Library/Application Support/rancher-desktop/lima" "/Applications/Rancher Desktop.app/Contents/Resources/resources/darwin/lima/bin/limactl" shell 0
sudo apk add curl jq
TOKEN="$(cat $(docker inspect "$(docker ps | grep metrics-server | grep -v POD | awk '{print $1}')" | jq '.[0].Mounts[] | select(.Destination=="/var/run/secrets/kubernetes.io/serviceaccount").Source' -r)/token)"
time curl https://192.168.192.50:10250/stats/summary?only_cpu_and_memory=true -k -v -H "Authorization: Bearer ${TOKEN}"
Result
Takes 10+ seconds to get a response, whereas with 1.1.1 it takes less than 10ms
Expected Behavior
Querying metrics is fast.
Additional Information
No response
Rancher Desktop Version
1.2.x
Rancher Desktop K8s Version
v1.22.7
Which container runtime are you using?
moby (docker cli)
What operating system are you using?
macOS
Operating System / Build Version
Darwin dune.local 21.4.0 Darwin Kernel Version 21.4.0: Fri Mar 18 00:46:32 PDT 2022; root:xnu-8020.101.4~15/RELEASE_ARM64_T6000 arm64
What CPU architecture are you using?
arm64 (Apple Silicon)
Linux only: what package format did you use to install Rancher Desktop?
No response
Windows User Only
No response
The text was updated successfully, but these errors were encountered: