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

Enable running prometheus on arm architectures #864

Open
Pokom opened this issue Nov 19, 2022 · 0 comments
Open

Enable running prometheus on arm architectures #864

Pokom opened this issue Nov 19, 2022 · 0 comments

Comments

@Pokom
Copy link
Contributor

Pokom commented Nov 19, 2022

It would be useful to be able to target the specific architecture that prometheus will run on. I'm particularly interested in being able to target arm64, but this should be configurable. Here's the GKE guides on how to target different architectures.

My thought would be to expose a mixin withTolerations(arch) that would look like the following:

  withTolerations(arch)::
          prometheus_statefulset+:
            k.apps.v1.statefulSet.mixin.spec.template.spec.withTolerationsMixin(
              k.core.v1.toleration.withKey('kubernetes.io/arch') +
              k.core.v1.toleration.withOperator('Equal') +
              k.core.v1.toleration.withValue(arch) +
              k.core.v1.toleration.withEffect('NoSchedule')
            ),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants