Checking the latest image used in the metrics-server Github repo, the tag used is v0.5.0, for arm64 I would usually add arm64 to the image name and pull it.
But the image doesn't exist and doing an inspect to the base image shows that its arch is amd64.
In google's registry the latest image is v0.3.6
. So I'm not sure if support for arm64 has continued or staled.
CodePudding user response:
There's no need to append arm64 starting v0.3.7, the image support multiple architectures. See official FAQ here with complete image url.
CodePudding user response:
There are two tricks:
- Please, check the metrics-server/README.md.
Correct registry is k8s.gcr.io
image.repository k8s.gcr.io/metrics-server/metrics-server
- Seems there isn't
latest
tag in the registry.
So, docker run --rm k8s.gcr.io/metrics-server/metrics-server
doesn't work.
But with version it works fine:
docker run --rm k8s.gcr.io/metrics-server/metrics-server:v0.5.0 --version
v.0.5.0