Skip to content
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

metrics-server failing to give pod stats #14

Closed
onedr0p opened this issue Feb 13, 2020 · 2 comments
Closed

metrics-server failing to give pod stats #14

onedr0p opened this issue Feb 13, 2020 · 2 comments

Comments

@onedr0p
Copy link
Owner

onedr0p commented Feb 13, 2020

Works:

kubectl top nodes
NAME           CPU(cores)   CPU%   MEMORY(bytes)   MEMORY%
k3s-master     1417m        35%    1547Mi          9%
k3s-worker-a   664m         8%     4563Mi          14%
k3s-worker-b   645m         8%     4512Mi          14%
k3s-worker-c   285m         3%     4260Mi          13%
k3s-worker-d   466m         5%     18240Mi         28%
k3s-worker-e   5189m        64%    9272Mi          14%

Doesn't work:

kubectl top pods
W0213 12:17:04.017607   30395 top_pod.go:266] Metrics not available for pod default/sonarr-episode-prune-7776645f74-mt4s4, age: 170h45m57.017599s
error: Metrics not available for pod default/sonarr-episode-prune-7776645f74-mt4s4, age: 170h45m57.017599s

I saw mentioned this could be related to using Docker as the CRI, #13

@onedr0p onedr0p added on hold and removed on hold labels Feb 13, 2020
@onedr0p
Copy link
Owner Author

onedr0p commented Feb 19, 2020

Issue with k3s using docker k3s-io/k3s#1067 (comment)

@onedr0p
Copy link
Owner Author

onedr0p commented Mar 25, 2020

This has started working now, I do not think I did anything in order for this to work :/

❯ k top po
NAME                                    CPU(cores)   MEMORY(bytes)
blocky-558f8966b6-rp49r                 2m           11Mi
jackett-5cf784cbc7-2hwcw                2m           130Mi
nzbget-5c97f886d6-7mwzs                 2m           33Mi
nzbhydra2-85b9d4b7cb-ztchb              3m           424Mi
ombi-5dcdf9ffcf-rbfjx                   3m           133Mi
plex-kube-plex-5944f974cf-qr59c         9m           15331Mi
qbittorrent-fc68bdddd-w4sh6             4m           1138Mi
qbittorrent-prune-6958ff4756-f8nfr      1m           10Mi
radarr-74db59fb5-d9smj                  32m          587Mi
rclone-sync-85f655b974-lw2ct            1m           181Mi
sonarr-9fbff9c7d-nz6qq                  37m          857Mi
sonarr-episode-prune-7776645f74-wk8jg   1m           15Mi
tautulli-7d6b4b4b9d-2wgqj               6m           133Mi

@onedr0p onedr0p closed this as completed Mar 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant