Metrics Server
Enable
minikube addons enable metrics-server
Errors
Error from server (ServiceUnavailable): the server is currently unable to handle the request (get nodes.metrics.k8s.io)
Check pod status.
kubectl -n kube-system get pods | grep metrics-server
metrics-server-79467ff588-k7pwt 0/1 ImagePullBackOff 0 44s
kubectl -n kube-system describe po xxx
Failed to pull image "registry.k8s.io/metrics-server/metrics-server:v0.7.2@sha256:ffcb2bf004d6aa0a17d90e0247cf94f2865c8901dcab4427034c341951c239f9": rpc error: code = Unknown desc = Error response from daemon: Get "https://us-west2-docker.pkg.dev/v2/k8s-artifacts-prod/images/metrics-server/metrics-server/manifests/sha256:ffcb2bf004d6aa0a17d90e0247cf94f2865c8901dcab4427034c341951c239f9": net/http: TLS handshake timeout
Use proxy to download the image(registry.k8s.io
).
docker pull registry.k8s.io/metrics-server/metrics-server:v0.7.2
Still got error.
Error response from daemon: failed to resolve reference "registry.k8s.io/metrics-server/metrics-server:v0.7.2": failed to do request: Head "https://asia-northeast1-docker.pkg.dev/v2/k8s-artifacts-prod/images/metrics-server/metrics-server/manifests/v0.7.2": net/http: TLS handshake timeout
asia-northeast1-docker.pkg.dev
this domain should add proxy too.
No comments to display
No comments to display