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

Assess ARM images (just discuss dont merge) #966

Open
wants to merge 18 commits into
base: main
Choose a base branch
from

Conversation

mrnicegyu11
Copy link
Member

What do these changes do?

Assess ARM images (just discuss dont merge)

Related issue/s

#945

Related PR/s

Checklist

  • I tested and it works

Sorry, something went wrong.

@mrnicegyu11 mrnicegyu11 added t:dependencies Pull requests that update a dependency file t:infra-ops Adjustments to the way or resources with that microservices are run labels Feb 5, 2025
@mrnicegyu11 mrnicegyu11 added this to the Singularity milestone Feb 5, 2025
@mrnicegyu11 mrnicegyu11 requested a review from sanderegg February 5, 2025 15:47
@mrnicegyu11 mrnicegyu11 self-assigned this Feb 5, 2025
Copy link
Member

@sanderegg sanderegg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as in the comments I would not comment images that are ok. And only comment the ones that need a change.

@@ -9,7 +9,7 @@ metadata:
spec:
containers:
- name: wget
image: busybox
image: busybox # has arm
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Q: would it not make more sense to put a comment only if the ARM version is not available?
Like in standard when ARM is present, there is nothing to do right?

@@ -54,7 +54,7 @@ services:
cpus: "0.1"
prometheuscatchall:
hostname: "{% raw %}{{.Service.Name}}{% endraw %}"
image: prom/prometheus:v2.54.0
image: prom/prometheus:v2.54.0 ## arm64 available
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is the difference when you write arm64 vs arm?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess we are only interested in ARM64 which is the latest I think

@@ -183,7 +183,7 @@ services:
cpus: "0.1"

nvidia-exporter:
image: mindprince/nvidia_gpu_prometheus_exporter:0.1
image: mindprince/nvidia_gpu_prometheus_exporter:0.1 ## No arm support
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes I guess this one is expected ;)

@@ -353,7 +353,7 @@ services:
memory: 64M
cpus: "0.1"{% for _stack in MONITORED_STACK_NAMES.split(",") if _stack != "" %}
{{_stack}}-postgres-exporter:
image: bitnami/postgres-exporter:0.15.0
image: bitnami/postgres-exporter:0.15.0 ## arm64 available
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we have 2 different types of postgres? ah crap the other is a query exporter. my bad.

@mrnicegyu11
Copy link
Member Author

@sanderegg thanks for the review, I am not planning to merge this PR actually, it is just an easy way to collect the assessment :--) I am more curious if you think from what you see a full move to arm also in the ops side is feasible?

@sanderegg
Copy link
Member

@sanderegg thanks for the review, I am not planning to merge this PR actually, it is just an easy way to collect the assessment :--) I am more curious if you think from what you see a full move to arm also in the ops side is feasible?

@mrnicegyu11 well I do not see here many issues. In the worst case, one can also have a ARM machine and a reduced-sized x86 machine where necessary until migration might be done if the costs are going down, it is anyway a win.

@mrnicegyu11
Copy link
Member Author

mrnicegyu11 commented Feb 10, 2025

OK, follow-up todos:

  • Upgrade adminpanels to latest jupyter (which has arm), check that it still works
  • Compile itisfoundation/appmotion-gateway-php-apache-8.2 for ARM
  • Re-Assess itisfoundation/docker-events-exporter:latest, potentially remove or compile for arm.
  • Decide on adonato/query-exporter:2.10.0, missing ARM
  • Decide on oliver006/redis_exporter:v1.62.0-alpine, missing ARM

Personal thoughts:

  • Probably we can remove the docker events exporter
  • The redis-exporter is seldomly used but very powerful for investiging incidents after they happened. It gives some puzzle pieces, e.g. how long was the browser of the client connected.
  • The query-exporter is super nice if it works, and I think Erdem uses it to count the number of logged-in users for s4l-lite in the admin grafana dashboard

Sorry, something went wrong.

@sanderegg sanderegg removed this from the Singularity milestone Feb 24, 2025
@sanderegg sanderegg added this to the The Awakening milestone Feb 24, 2025
@mrnicegyu11
Copy link
Member Author

I have built and pushed itisfoundation/docker-events-exporter:latest for arm64 today

@mrnicegyu11
Copy link
Member Author

The referenced PR ports the missing images to ARM, except for the appmotion gateway

@mrnicegyu11
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
t:dependencies Pull requests that update a dependency file t:infra-ops Adjustments to the way or resources with that microservices are run
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants