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

Failed to pull image "quay.io/coreos/k8s-prometheus-adapter-amd64:v0.4.1" #661

Open
chakpongchung opened this issue May 21, 2024 · 3 comments
Assignees
Labels
kind/support Categorizes issue or PR as a support question. triage/accepted Indicates an issue or PR is ready to be actively worked on.

Comments

@chakpongchung
Copy link

What happened?:

k describe pod custom-metrics-apiserver-59f5f69696-np2zs -n monitoring


Events:
  Type     Reason   Age                     From     Message
  ----     ------   ----                    ----     -------
  Warning  Failed   12m (x195 over 29h)     kubelet  Failed to pull image "quay.io/coreos/k8s-prometheus-adapter-amd64:v0.4.1": [DEPRECATION NOTICE] Docker Image Format v1 and Docker Image manifest version 2, schema 1 support is disabled by default and will be removed in an upcoming release. Suggest the author of quay.io/coreos/k8s-prometheus-adapter-amd64:v0.4.1 to upgrade the image to the OCI Format or Docker Image manifest v2, schema 2. More information at https://docs.docker.com/go/deprecated-image-specs/

What did you expect to happen?:

successfully install prometheus-adapter from helm and pull the images.

Please provide the prometheus-adapter config:

prometheus-adapter config

Please provide the HPA resource used for autoscaling:

HPA yaml

Please provide the HPA status:

Please provide the prometheus-adapter logs with -v=6 around the time the issue happened:

prometheus-adapter logs

Anything else we need to know?:

Environment:

M1 Mac

  • prometheus-adapter version:
  • prometheus version:
  • Kubernetes version (use kubectl version):
 % kubectl version
Client Version: v1.30.0
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.29.2
  • Cloud provider or hardware configuration:
  • Other info:
@chakpongchung chakpongchung added the kind/bug Categorizes issue or PR as related to a bug. label May 21, 2024
@k8s-ci-robot k8s-ci-robot added the needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. label May 21, 2024
@TheMeier
Copy link

That version is ancient, latest is
registry.k8s.io/prometheus-adapter/prometheus-adapter v0.12.0

@chakpongchung
Copy link
Author

chakpongchung commented May 24, 2024

looks like the problematic image chosen is from installing the following

$ helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
$ helm repo update
$ helm install my-release prometheus-community/prometheus-adapter

does not work with aarch64 ISA. E.g. M1/2/3 mac. Maybe there is a way to update the image version without changing the command above? If so, how?

@dgrisonnet dgrisonnet added kind/support Categorizes issue or PR as a support question. and removed kind/bug Categorizes issue or PR as related to a bug. labels Aug 8, 2024
@dgrisonnet
Copy link
Member

/assign
/triage accepted

@k8s-ci-robot k8s-ci-robot added triage/accepted Indicates an issue or PR is ready to be actively worked on. and removed needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/support Categorizes issue or PR as a support question. triage/accepted Indicates an issue or PR is ready to be actively worked on.
Projects
None yet
Development

No branches or pull requests

4 participants