Skip to content

Commit

Permalink
Update versions of infra services (#1252)
Browse files Browse the repository at this point in the history
Signed-off-by: Eric Deandrea <edeandrea@redhat.com>
  • Loading branch information
edeandrea authored Oct 25, 2024
1 parent 0389eca commit 5e308bd
Show file tree
Hide file tree
Showing 19 changed files with 37 additions and 27 deletions.
4 changes: 2 additions & 2 deletions event-statistics/src/main/docker-compose/infra.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

apicurio:
image: quay.io/apicurio/apicurio-registry-mem:2.4.2.Final
image: quay.io/apicurio/apicurio-registry-mem:2.6.5.Final
container_name: apicurio
ports:
- "8086:8086"
Expand All @@ -9,7 +9,7 @@
QUARKUS_HTTP_PORT: 8086

fights-kafka:
image: quay.io/strimzi/kafka:0.41.0-kafka-3.7.0
image: quay.io/strimzi/kafka:0.43.0-kafka-3.8.0
container_name: fights-kafka
depends_on:
- apicurio
Expand Down
4 changes: 2 additions & 2 deletions event-statistics/src/main/kubernetes/common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ spec:
system: quarkus-super-heroes
spec:
containers:
- image: quay.io/strimzi/kafka:0.41.0-kafka-3.7.0
- image: quay.io/strimzi/kafka:0.43.0-kafka-3.8.0
name: fights-kafka
ports:
- containerPort: 9092
Expand Down Expand Up @@ -116,7 +116,7 @@ spec:
system: quarkus-super-heroes
spec:
containers:
- image: quay.io/apicurio/apicurio-registry-mem:2.4.2.Final
- image: quay.io/apicurio/apicurio-registry-mem:2.6.5.Final
name: apicurio
livenessProbe:
failureThreshold: 3
Expand Down
1 change: 1 addition & 0 deletions event-statistics/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ mp.messaging.incoming.fights.auto.offset.reset=earliest
mp.messaging.incoming.fights.broadcast=true
mp.messaging.incoming.fights.enable.auto.commit=false
%test.mp.messaging.incoming.fights.connector=smallrye-in-memory
quarkus.apicurio-registry.devservices.image-name=quay.io/apicurio/apicurio-registry-mem:2.6.5.Final

## Logging configuration
quarkus.log.category."io.quarkus.sample.superheroes".level=DEBUG
Expand Down
2 changes: 1 addition & 1 deletion grpc-locations/src/main/docker-compose/infra.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

locations-db:
image: mariadb:10.11
image: mariadb:11.5
container_name: locations-db
ports:
- "3306"
Expand Down
2 changes: 1 addition & 1 deletion grpc-locations/src/main/kubernetes/common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ spec:
- name: locations-db-init
mountPath: /tmp/dbinit
containers:
- image: bitnami/mariadb:10.11
- image: bitnami/mariadb:11.5
name: locations-db
ports:
- containerPort: 3306
Expand Down
2 changes: 2 additions & 0 deletions grpc-locations/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ quarkus:
datasource:
jdbc:
telemetry: true
devservices:
image-name: mariadb:11.5
otel:
resource:
attributes: "app=${quarkus.application.name},application=grpc-locations,system=quarkus-super-heroes"
Expand Down
6 changes: 3 additions & 3 deletions monitoring/config/otel-collector-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ receivers:
endpoint: otel-collector:4317

exporters:
jaeger:
endpoint: jaeger:14250
otlp/jaeger:
endpoint: jaeger:4317
tls:
insecure: true

Expand All @@ -26,4 +26,4 @@ service:
processors:
- batch
exporters:
- jaeger
- otlp/jaeger
5 changes: 3 additions & 2 deletions monitoring/docker-compose/monitoring.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: "3"
services:

prometheus:
image: quay.io/prometheus/prometheus:v2.43.0
image: quay.io/prometheus/prometheus:v2.55.0
container_name: prometheus
ports:
- "9090:9090"
Expand All @@ -16,9 +16,10 @@ services:
- "16686:16686" # Jaeger UI
- "14268" # Accept thrift spans
- "14250" # Accept gRPC spans
- "4317" # Otel gRPC

otel-collector:
image: otel/opentelemetry-collector:0.75.0
image: otel/opentelemetry-collector:0.112.0
container_name: otel-collector
command:
- "--config=/conf/otel-collector-config.yml"
Expand Down
11 changes: 6 additions & 5 deletions monitoring/k8s/base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ data:
grpc:
exporters:
jaeger:
endpoint: jaeger:14250
otlp/jaeger:
endpoint: jaeger:4317
tls:
insecure: true
Expand All @@ -100,7 +100,7 @@ data:
processors:
- batch
exporters:
- jaeger
- otlp/jaeger
---
apiVersion: apps/v1
kind: Deployment
Expand Down Expand Up @@ -129,7 +129,7 @@ spec:
role: monitoring
spec:
containers:
- image: quay.io/prometheus/prometheus:v2.43.0
- image: quay.io/prometheus/prometheus:v2.55.0
name: prometheus
ports:
- containerPort: 9090
Expand Down Expand Up @@ -181,6 +181,7 @@ spec:
- containerPort: 16686
- containerPort: 14268
- containerPort: 14250
- containerPort: 4317
resources:
limits:
memory: 128Mi
Expand Down Expand Up @@ -214,7 +215,7 @@ spec:
role: monitoring
spec:
containers:
- image: otel/opentelemetry-collector:0.75.0
- image: otel/opentelemetry-collector:0.112.0
name: otel-collector
args:
- "--config=/conf/otel-collector-config.yml"
Expand Down
6 changes: 3 additions & 3 deletions rest-fights/src/main/docker-compose/infra.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

fights-db:
image: mongo:5.0
image: mongo:7.0
container_name: fights-db
ports:
- "27017"
Expand All @@ -12,7 +12,7 @@
- ../../../rest-fights/deploy/db-init/initialize-database.js:/docker-entrypoint-initdb.d/1-init-db.js

apicurio:
image: quay.io/apicurio/apicurio-registry-mem:2.4.2.Final
image: quay.io/apicurio/apicurio-registry-mem:2.6.5.Final
container_name: apicurio
ports:
- "8086:8086"
Expand All @@ -21,7 +21,7 @@
QUARKUS_HTTP_PORT: 8086

fights-kafka:
image: quay.io/strimzi/kafka:0.41.0-kafka-3.7.0
image: quay.io/strimzi/kafka:0.43.0-kafka-3.8.0
container_name: fights-kafka
depends_on:
- apicurio
Expand Down
6 changes: 3 additions & 3 deletions rest-fights/src/main/kubernetes/common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ spec:
system: quarkus-super-heroes
spec:
containers:
- image: bitnami/mongodb:5.0
- image: bitnami/mongodb:7.0
name: fights-db
ports:
- containerPort: 27017
Expand Down Expand Up @@ -116,7 +116,7 @@ spec:
system: quarkus-super-heroes
spec:
containers:
- image: quay.io/strimzi/kafka:0.41.0-kafka-3.7.0
- image: quay.io/strimzi/kafka:0.43.0-kafka-3.8.0
name: fights-kafka
ports:
- containerPort: 9092
Expand Down Expand Up @@ -187,7 +187,7 @@ spec:
system: quarkus-super-heroes
spec:
containers:
- image: quay.io/apicurio/apicurio-registry-mem:2.4.2.Final
- image: quay.io/apicurio/apicurio-registry-mem:2.6.5.Final
name: apicurio
livenessProbe:
failureThreshold: 3
Expand Down
1 change: 1 addition & 0 deletions rest-fights/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ mp.messaging.outgoing.fights.topic=fights
mp.messaging.outgoing.fights.apicurio.registry.auto-register=true
%test.mp.messaging.outgoing.fights.connector=smallrye-in-memory
%test.mp.messaging.outgoing.fights.merge=true
quarkus.apicurio-registry.devservices.image-name=quay.io/apicurio/apicurio-registry-mem:2.6.5.Final

## Logging configuration
quarkus.log.category."io.quarkus.sample.superheroes".level=DEBUG
Expand Down
2 changes: 1 addition & 1 deletion rest-heroes/src/main/docker-compose/infra.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

heroes-db:
image: postgres:14
image: postgres:16
container_name: heroes-db
ports:
- "5432"
Expand Down
2 changes: 1 addition & 1 deletion rest-heroes/src/main/kubernetes/common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ spec:
- name: heroes-db-init-data
mountPath: /docker-entrypoint-initdb.d
containers:
- image: bitnami/postgresql:14
- image: bitnami/postgresql:16
name: heroes-db
ports:
- containerPort: 5432
Expand Down
3 changes: 3 additions & 0 deletions rest-heroes/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ quarkus:
name: rest-heroes
banner:
path: banner.txt
datasource:
devservices:
image-name: postgres:16
log:
level: INFO
category:
Expand Down
2 changes: 1 addition & 1 deletion rest-villains/src/main/docker-compose/infra.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

villains-db:
image: postgres:14
image: postgres:16
container_name: villains-db
ports:
- "5432"
Expand Down
2 changes: 1 addition & 1 deletion rest-villains/src/main/kubernetes/common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ spec:
- name: villains-db-init-data
mountPath: /docker-entrypoint-initdb.d
containers:
- image: bitnami/postgresql:14
- image: bitnami/postgresql:16
name: villains-db
ports:
- containerPort: 5432
Expand Down
1 change: 1 addition & 0 deletions rest-villains/src/main/resources/application.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
quarkus.application.name=rest-villains
quarkus.banner.path=banner.txt
quarkus.datasource.devservices.image-name=postgres:16

## HTTP configuration
quarkus.http.port=8084
Expand Down
2 changes: 1 addition & 1 deletion ui-super-heroes/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ quarkus.banner.path=banner.txt
quarkus.http.test-port=0

quarkus.quinoa.package-manager-install=true
quarkus.quinoa.package-manager-install.node-version=20.11.0
quarkus.quinoa.package-manager-install.node-version=20.18.0

# Fight service config
api.base.url=http://localhost:8082
Expand Down

0 comments on commit 5e308bd

Please sign in to comment.