Welcome to the Linux Foundation Forum!

Exercise 13.3 - metrics-server pod running but not ready

I installed metrics-server using latest as described in the README of the git repo and as described here: https://forum.linuxfoundation.org/discussion/860262/lab-13-3-how-to-fix-metrics-server-no-matches-for-kind-apiservice-error#latest

This is status:
metrics-server-dbf765b9b-5jkhs 0/1 Running 0 4m35s

Looking at logs I have this:
...
I1210 17:46:57.809350 1 server.go:188] "Failed probe" probe="metric-storage-ready" err="not metrics to serve"
E1210 17:46:59.810067 1 scraper.go:139] "Failed to scrape node" err="Get \"https://10.200.1.30:10250/stats/summary?only_cpu_and_memory=true\": x509: cannot validate certificate for 10.200.1.30 because it doesn't contain any IP SANs" node="cp"
E1210 17:46:59.819954 1 scraper.go:139] "Failed to scrape node" err="Get \"https://10.200.1.126:10250/stats/summary?only_cpu_and_memory=true\": x509: cannot validate certificate for 10.200.1.126 because it doesn't contain any IP SANs" node="worker"

What am I missing?

Also, was the only point of cloning the git repo was just to look at the README?

Comments

  • I blew out the deployment, copied down the components.yaml, edited to add the insecure flag and created. TThis time it ran clean, so the cert issue was keeping it from being in a ready state.

Categories

Upcoming Training