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

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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?

command: ['wget']
args: ['{{ include "resource-usage-tracker.fullname" . }}:{{ .Values.service.port }}']
restartPolicy: Never
2 changes: 1 addition & 1 deletion services/admin-panels/docker-compose.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ configs:
file: ./data/{{ item.name }}{% endfor %}
services:
adminpanels:
image: jupyter/base-notebook:18b10e7f732d
image: jupyter/base-notebook:18b10e7f732d ## no arm iamge, but latest jupyter base has arm
user: root
networks:
- public
Expand Down
6 changes: 3 additions & 3 deletions services/appmotion_gateway/docker-compose.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: '3.7'
services:

adminer:
image: adminer:4.8.1
image: adminer:4.8.1 ## has arm
init: true
environment:
- ADMINER_DEFAULT_SERVER=db
Expand Down Expand Up @@ -35,7 +35,7 @@ services:
- public

db:
image: mariadb:10.11
image: mariadb:10.11 ## has arm
environment:
- MYSQL_USER=${APPMOTION_GATEWAY_DB_USER}
- MYSQL_PASSWORD=${APPMOTION_GATEWAY_DB_PASSWORD}
Expand Down Expand Up @@ -68,7 +68,7 @@ services:
- internal

api:
image: itisfoundation/appmotion-gateway-php-apache-8.2:1.2-2024-03-26-11-40.2a6228f@sha256:378587d0fe401b8453bddd65714ed505bd08fc1eb9f9da9fc0b566b98ed72bf6
image: itisfoundation/appmotion-gateway-php-apache-8.2:1.2-2024-03-26-11-40.2a6228f@sha256:378587d0fe401b8453bddd65714ed505bd08fc1eb9f9da9fc0b566b98ed72bf6 ## Todo arm
environment:
- WEB_DOCUMENT_ROOT=/app/public
deploy:
Expand Down
4 changes: 2 additions & 2 deletions services/maintenance-page/docker-compose.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ services:
- source: nginx_config
target: /etc/nginx/conf.d/default.conf
# nginx config
image: nginx:1.25.1
image: nginx:1.25.1 # has arm
networks:
- public
- monitored
Expand All @@ -35,7 +35,7 @@ services:
{% endfor %}
maintenance_api:
# nginx config
image: nginx:1.25.1
image: nginx:1.25.1 # has arm
configs:
- source: maintenance_api_html
target: /usr/share/nginx/html/index.html
Expand Down
2 changes: 1 addition & 1 deletion services/minio/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3.7'
services:
minio:
image: minio/minio:RELEASE.2024-10-29T16-01-48Z
image: minio/minio:RELEASE.2024-10-29T16-01-48Z ## has arm
init: true
hostname: minio
volumes:
Expand Down
24 changes: 12 additions & 12 deletions services/monitoring/docker-compose.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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

volumes:
- prometheus_data:/prometheus
- /var/run/docker.sock:/var/run/docker.sock:ro
Expand Down Expand Up @@ -100,7 +100,7 @@ services:
cpus: "0.2"
prometheusfederation:
hostname: "{% raw %}{{.Service.Name}}{% endraw %}"
image: prom/prometheus:v2.54.0
image: prom/prometheus:v2.54.0 ## arm64 available
volumes:
- prometheus_data_federation:/prometheus
- /var/run/docker.sock:/var/run/docker.sock:ro
Expand Down Expand Up @@ -145,7 +145,7 @@ services:
memory: 64M
cpus: "0.2"
node-exporter:
image: prom/node-exporter:v1.8.2
image: prom/node-exporter:v1.8.2 ## arm64 available
volumes:
- /sys:/host/sys:ro
- /:/rootfs:ro
Expand Down Expand Up @@ -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 ;)

networks:
- monitored
deploy:
Expand All @@ -203,7 +203,7 @@ services:
cpus: "0.1"

alertmanager:
image: prom/alertmanager:v0.27.0
image: prom/alertmanager:v0.27.0 ## arm support
volumes:
- alertmanager_data:/alertmanager
command:
Expand All @@ -227,7 +227,7 @@ services:
cpus: "0.1"

docker-events-exporter:
image: itisfoundation/docker-events-exporter:latest
image: itisfoundation/docker-events-exporter:latest ## no arm support yet
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
user: root # only user root can use the docker socket
Expand All @@ -247,7 +247,7 @@ services:
cpus: "0.1"

grafana:
image: grafana/grafana-oss:11.2.4
image: grafana/grafana-oss:11.2.4 ## arm support
volumes:
- grafana_data:/var/lib/grafana
env_file:
Expand Down Expand Up @@ -279,7 +279,7 @@ services:
cpus: "0.1"

smokeping-prober-exporter:
image: quay.io/superq/smokeping-prober:v0.8.1
image: quay.io/superq/smokeping-prober:v0.8.1 ## arm available
networks:
- monitored
volumes: []
Expand Down Expand Up @@ -307,7 +307,7 @@ services:
dcgm-exporter:
cap_add:
- SYS_ADMIN
image: nvcr.io/nvidia/k8s/dcgm-exporter:3.3.7-3.5.0-ubuntu22.04
image: nvcr.io/nvidia/k8s/dcgm-exporter:3.3.7-3.5.0-ubuntu22.04 ## arm64 available
hostname: '{{'{{.Node.Hostname}}'}}'
networks:
- monitored
Expand All @@ -328,7 +328,7 @@ services:
- prometheus-port=9400

pgsql-query-exporter:
image: adonato/query-exporter:2.10.0
image: adonato/query-exporter:2.10.0 # no arm available
volumes: []
dns: 9.9.9.9
configs:
Expand All @@ -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.

networks:
- monitored
environment:
Expand All @@ -373,7 +373,7 @@ services:
memory: 32M
cpus: "0.1"
{{_stack}}-redis-exporter:
image: oliver006/redis_exporter:v1.62.0-alpine
image: oliver006/redis_exporter:v1.62.0-alpine # no arm available
networks:
- monitored
environment:
Expand Down
4 changes: 2 additions & 2 deletions services/registry/docker-compose.yml.j2
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: "3.7"
services:
registry:
image: registry:2.8.3
image: registry:2.8.3 ## arm64
command: ["/bin/sh", "/etc/docker/registry/init"]
environment:
REGISTRY_HTTP_HOST: "https://${REGISTRY_DOMAIN}"
Expand Down Expand Up @@ -72,7 +72,7 @@ services:
{%- raw %}
hostname: "registry-ptc-{{.Node.Hostname}}-{{.Task.Slot}}"
{%- endraw %}
image: registry:2.8.3
image: registry:2.8.3 ## arm64
environment:
REGISTRY_HTTP_SECRET: ${REGISTRY_PULL_THROUGH_CACHE_HTTP_SECRET}
# S3
Expand Down
4 changes: 2 additions & 2 deletions services/traefik/docker-compose.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: "3.7"

services:
traefik:
image: "traefik:v3.1.2@sha256:ec1a82940b8e00eaeef33fb4113aa1d1573b2ebb6440e10c023743fe96f08475"
image: "traefik:v3.1.2@sha256:ec1a82940b8e00eaeef33fb4113aa1d1573b2ebb6440e10c023743fe96f08475" ## arm64 available
init: true
command:
- "--api=true"
Expand Down Expand Up @@ -179,7 +179,7 @@ services:
public: null
monitored: null
whoami:
image: "containous/whoami"
image: "containous/whoami" ## arm 64 available
deploy:
placement:
constraints:
Expand Down
Loading