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

Exporter in image does not respect ARCH #253

Open
jensens opened this issue Aug 14, 2024 · 0 comments
Open

Exporter in image does not respect ARCH #253

jensens opened this issue Aug 14, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@jensens
Copy link

jensens commented Aug 14, 2024

Describe the bug

The metrics exporter fails with exec /exporter/prometheus_varnish_exporter: exec format error

To Reproduce

  1. Enable exporter in values.yaml.
  2. Apply Helm chart on a cluster with arm64 architecture
  3. See error

Expected behavior

A running metrics sidecar as I am used to on any Arch amd64 cluster

Environment:

  • Kubernetes version: 1.29
  • kube-httpcache version: v0.8.1

Digging deeper:

In

ADD --chown=varnish https://github.com/jonnenauha/prometheus_varnish_exporter/releases/download/${EXPORTER_VERSION}/prometheus_varnish_exporter-${EXPORTER_VERSION}.linux-amd64.tar.gz /tmp

and
tar -xzf /tmp/prometheus_varnish_exporter-${EXPORTER_VERSION}.linux-amd64.tar.gz && \

the architecture is not taken into account (while the ARG ARCH is present and used for the base image).

Unfortunately at https://github.com/jonnenauha/prometheus_varnish_exporter/releases there is not any arm64 package provided.
I am going to create comment an issue there asking kindly for arm64 support.

@jensens jensens added the bug Something isn't working label Aug 14, 2024
jensens added a commit to bluedynamics/cdk8s-plone that referenced this issue Aug 14, 2024
jensens added a commit to bluedynamics/cdk8s-plone that referenced this issue Aug 14, 2024
* fi to run on amd64 only becauise of

mittwald/kube-httpcache#253

* chore: self mutation

Signed-off-by: github-actions <[email protected]>

---------

Signed-off-by: github-actions <[email protected]>
Co-authored-by: github-actions <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant