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

[kube-prometheus-stack] ARM Support #373

Closed
eddiezane opened this issue Nov 17, 2020 · 12 comments · Fixed by #703
Closed

[kube-prometheus-stack] ARM Support #373

eddiezane opened this issue Nov 17, 2020 · 12 comments · Fixed by #703
Labels
enhancement New feature or request

Comments

@eddiezane
Copy link

After digging in deep I'm opening this as tracking for anyone that comes here looking to deploy kube-prometheus-stack on an ARM or ARM64 device like a Raspberry Pi.

With #280 merged the last thing remaining is for kube-state-metrics to merge kubernetes/kube-state-metrics#1237 - that's being tracked here at #111.

The default image in the old kube-state-metrics chart was from quay.io and did not have multi-arch support. The new chart mentioned above will use the new multi-arch gcr image and it will switch to v2 of kube-state-metrics which has some breaking changes.

For now you can override the kube-state-metrics image in your values.yml with:

kube-state-metrics:
  image:
    repository: k8s.gcr.io/kube-state-metrics-arm64
    tag: v1.9.5

If you need v1.9.7 you can use the image that I built here. See kubernetes/kube-state-metrics#1037 (comment).

@stale
Copy link

stale bot commented Dec 17, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any further update will cause the issue/pull request to no longer be considered stale. Thank you for your contributions.

@kfox1111
Copy link
Contributor

/remove-lifecycle stale

@stale
Copy link

stale bot commented Jan 16, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any further update will cause the issue/pull request to no longer be considered stale. Thank you for your contributions.

@ruckc
Copy link

ruckc commented Jan 25, 2021

still waiting for kube-state-metrics 2.0 to be GA, which will require an update for something as --collectors is an unknown flag when trying to run with 2.0.0-beta on arm64.

@stale stale bot removed the lifecycle/stale label Jan 25, 2021
@eddiezane
Copy link
Author

Some work in progress here kubernetes/kube-state-metrics#1358

@cablespaghetti
Copy link
Contributor

cablespaghetti commented Feb 23, 2021

Kube-state-metrics 1.9.8 has been released which now has multi-arch builds. I'll raise a PR. :) https://github.com/kubernetes/kube-state-metrics/releases/tag/v1.9.8

@cablespaghetti
Copy link
Contributor

Opened this PR on kube-state-metrics helm chart first: kubernetes/kube-state-metrics#1391

@eddiezane
Copy link
Author

@cablespaghetti it looks like the grafana-sc-dashboard sidecar image (quay.io/kiwigrid/k8s-sidecar:1.10.6) isn't multi arch?

pikube/kube-prometheus-stack[main ☂ ] kubectl -n monitoring logs kube-prometheus-stack-grafana-984c8bb67-jkhtz grafana-sc-datasources
standard_init_linux.go:219: exec user process caused: exec format error

@disconn3ct
Copy link

Simple workaround for anyone that is stuck: the docker hub images are still multiarch.

sidecar.image.repository: kiwigrid/k8s-sidecar

@cablespaghetti
Copy link
Contributor

You're correct. Sorry, this must have been changed on the grafana side, probably to avoid Docker hub rate limiting. I'll raise some more PRs...

@cablespaghetti
Copy link
Contributor

Raised a PR to fix this in the kiwigrid/k8s-sidecar side: kiwigrid/k8s-sidecar#112

@jekkel
Copy link

jekkel commented Feb 24, 2021

Hi there, thanks for making us aware, we fixed to quay.io mirroring to be multi-arch as well and updated the existing tags accordingly. This means quay.io/kiwigrid/k8s-sidecar:1.10.6 should just work now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants